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-10-20Add latest changes from gitlab-org/gitlab@14-4-stable-eev14.4.0-rc42GitLab Bot
2021-09-20Add latest changes from gitlab-org/gitlab@14-3-stable-eev14.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2021-07-20Add latest changes from gitlab-org/gitlab@14-1-stable-eev14.1.0-rc42GitLab Bot
2021-06-16Add latest changes from gitlab-org/gitlab@14-0-stable-eev14.0.0-rc42GitLab Bot
2021-04-21Add latest changes from gitlab-org/gitlab@13-11-stable-eev13.11.0-rc43GitLab Bot
2020-09-19Add latest changes from gitlab-org/gitlab@13-4-stable-eeGitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-06-18Add latest changes from gitlab-org/gitlab@13-1-stable-eeGitLab Bot
2020-03-26Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-03-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2020-01-29Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-16Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2018-11-26Use strong memoize utilityHeinrich Lee Yu
2018-11-26Prevent loading from cache if commit is nilHeinrich Lee Yu
2018-11-26Cache project HEAD to prevent unnecessary Gitaly callsHeinrich Lee Yu
2018-11-16Change project pipeline status cache key to follow project conventionGabriel Mazetto
Old cache key was: `projects/#{id}/pipeline_status/#{sha}` New one is: `project:#{id}:pipeline_status:#{sha}` This allows to delete any project related key just by scanning for: `project:#{id}`.
2018-10-26Remove cache_sha parameterMatija Čupić
2018-10-25Cache pipeline status only for specific shaMatija Čupić
2018-10-13Enable some frozen string in lib/gitlabgfyoung
Enable frozen string for the following files: * lib/gitlab/auth/**/*.rb * lib/gitlab/badge/**/*.rb * lib/gitlab/bare_repository_import/**/*.rb * lib/gitlab/bitbucket_import/**/*.rb * lib/gitlab/bitbucket_server_import/**/*.rb * lib/gitlab/cache/**/*.rb * lib/gitlab/checks/**/*.rb Partially addresses #47424.
2018-09-24Use `Gitlab::SafeRequestStore` in more placesMichael Kozono
Even if it doesn’t save lines of code, since people will tend to use code they’ve seen. And `SafeRequestStore` is safer since you don’t have to remember to check `RequestStore.active?`.
2018-06-22Add docs for RequestCache, moved from commentsLin Jen-Shin
2018-04-10Allow `rake cache:clear` clearing pipeline status cacheLin Jen-Shin
* Use the correct key prefix * Clear old cache keys TODO: At some point we could remove clearing old cache keys.
2017-11-17Use StrongMemoize and enable/disable cops properlyLin Jen-Shin
2017-09-18Add cop to make sure we don't use ivar in a moduleLin Jen-Shin
2017-08-14Whitelist or fix additional `Gitlab/PublicSend` cop violationsRobert Speicher
An upcoming update to rubocop-gitlab-security added additional violations.
2017-07-18Rename the methods to make it fit with current nameLin Jen-Shin
2017-07-18Follow feedback on the merge requestLin Jen-Shin
2017-07-17Update the comments for the new functionalityLin Jen-Shin
2017-07-17Use RequestStoreWrap for Commit#authorLin Jen-Shin
We also try to use instance variable to cache the result if RequestStore is not available, so we could keep the same logic, using the same cache key. Also introduce a way to specify method specific cache key
2017-07-17Add RequestStoreWrap to cache via RequestStoreLin Jen-Shin
I don't like the idea of `RequestStore` at all, because it's just a global state which shouldn't be used at all. But we have a number of places calling `ProtectedBranch.protected?` and `ProtectedTag.protected?` in a loop for the same user, project, and ref whenever we're checking against if the jobs for a given pipeline is accessible for a given user. This means we're effectively making N queries for the same thing over and over. To properly fix this, we need to change how we check the permission, and that could be a huge work. To solve this quickly, adding a cache layer for the given request would be quite simple to do. We're already doing this in Commit#author, and this is extending that idea and make it generalized.
2017-07-11Support multiple Redis instances based on queue typePaul Charlton
2017-06-21Enable Style/DotPosition Rubocop :cop:Grzegorz Bizon
2017-04-26Load a project's CI status in batch from redisBob Van Landuyt
2017-04-07Take the ref of a pipeline into account when caching statusBob Van Landuyt
2017-04-07Rename `ProjectBuildStatus` -> `ProjectPipelineStatus`Bob Van Landuyt
2017-04-07Wrap updating of cache after pipeline transition in class methodBob Van Landuyt
2017-04-07Rename Ci::PipelineStatus -> Ci::ProjectBuildStatusBob Van Landuyt