Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2021-09-10Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2021-03-27Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-09-06Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-08-19Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-08-11Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-17Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-02-12Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-31Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-09-10Redis set cache docs and minor cleanupNick Thomas
2019-09-10Revert "Revert "Cache branch and tag names as Redis sets""Nick Thomas
This reverts commit c6ccc07f48c7c1f9da43ecd82015500a4340544d.
2019-08-29Revert "Cache branch and tag names as Redis sets"Nick Thomas
This reverts commit 0eff75fa2b6691b6fba31fcc2842f51debd249a9.
2019-08-16Cache branch and tag names as Redis setsNick Thomas
This allows us to check inclusion for the *_exists? methods without downloading the full list of branch names, which is over 100KiB in size for gitlab-ce at the moment.
2019-07-10Add a rubocop for Rails.loggerMayra Cabrera
Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
2018-10-22Enable frozen string for lib/gitlab/*.rbgfyoung
2018-09-28Remove send-in-send for safety and readabilityMichael Kozono
I attempted to refactor so that the caller of `wrap_method` passes in a block, rather than a method name, but I was unsuccessful. I kept getting the following error: NoMethodError: undefined method `cache_method_output' for Repository:Class If you can figure this out, then feel free to dry up these class methods again without doing a send-within-a-send.
2018-09-28Expire RequestStore cache properlyMichael Kozono
2018-09-28Cache `Repository#exists?` false in RequestStoreMichael Kozono
* Only truthy values are cached in Redis. * All values are cached in RequestStore and in an instance variable.
2018-09-28Extract `Repository.memoize_method` methodMichael Kozono
And reuse `Gitlab::Utils::StrongMemoize`. There is a subtle behavior change required to reuse StrongMemoize in this case. The early fallback check now occurs *before* reading the memoized value instead of after. I think this is fine since a memoized value should only exist if `exists?` is also already memoized as `true`.
2018-06-29Expire correct method caches after HEAD changedImre Farkas
2018-03-07Refactor RepositoryCache to make it usable in other classesAlejandro Rodríguez