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
2022-11-17Add latest changes from gitlab-org/gitlab@15-6-stable-eev15.6.0-rc42GitLab Bot
2022-08-18Add latest changes from gitlab-org/gitlab@15-3-stable-eev15.3.0-rc42GitLab Bot
2021-08-19Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42GitLab Bot
2020-12-17Add latest changes from gitlab-org/gitlab@13-7-stable-eev13.7.0-rc42GitLab Bot
2020-11-13Add latest changes from gitlab-org/gitlab@13-5-stable-eev13.5.4GitLab Bot
2020-07-20Add latest changes from gitlab-org/gitlab@13-2-stable-eeGitLab Bot
2020-05-20Add latest changes from gitlab-org/gitlab@13-0-stable-eeGitLab Bot
2020-02-04Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-11-15Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-14Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-10-09Add latest changes from gitlab-org/gitlab@masterGitLab Bot
2019-04-12Add frozen_string_literal to spec/servicesThong Kuah
Probably useful as we often move these files to "new" files.
2019-03-05Skip project validation when switching storage layoutsGabriel Mazetto
This is a fix for the Hashed Storage migration and Rollback procedure to ignore any project-level validation error that can happen in a long-running instance. There are many situations where defaults and acceptable values changed but, because we didn't provide a migration to "valid" attributes, it can happen that project will not be `valid? => true`. Because the changes we are making are limited to setting a project as read_only or changing the storage_level, it's safe to bypass validation.
2019-03-01Extract and simplify more code into BaseRepositoryService`Gabriel Mazetto
`try_to_set_repository_read_only!` is now on the Base class. Simplified Exception classes from 2 to 1 with a more descriptive name.
2019-03-01Edge case: upgrade/downgrade when repository doesn't existGabriel Mazetto
This change takes the case where repository doesn't exist on disk and make it ignore but succeed the step, increasing or decreasing the version depending on the operation.
2019-01-25Refactor Storage MigrationGabriel Mazetto
Specs were reviewed and improved to better cover the current behavior. There was some standardization done as well to facilitate the implementation of the rollback functionality. StorageMigratorWorker was extracted to HashedStorage namespace were RollbackerWorker will live one as well.
2019-01-08Only set as `read_only` when starting the per-project migrationGabriel Mazetto
In the previous code, we locked the project during the migration scheduling step, which works fine for small setups, but can be problematic in really big installations. We now moved the logic to inside the worker, so we minimize the time a project will be read-only. We also make sure we only do that if reference counter is `0` (no current operation is in progress).
2018-10-02Remove Gitlab::Git::Repository#rugged and Gollum codeAlejandro Rodríguez
Cleanup code, and refactor tests that still use Rugged. After this, there should be no Rugged code that access the instance's repositories on non-test environments. There is still some rugged code for other tasks like the repository import task, but since it doesn't access any repository storage path it can stay.
2018-08-03Resolve "Hashed storage: extend "Enable hashed storage for all new projects" ↵Valery Sizov
to "for all new and renamed projects""
2018-06-12Find and mark more Git disk access locations, part 2Jacob Vosmaer
2018-04-25Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg
Direct disk access is done through Gitaly now, so the legacy path was deprecated. This path was used in Gitlab::Shell however. This required the refactoring in this commit. Added is the removal of direct path access on the project model, as that lookup wasn't needed anymore is most cases. Closes https://gitlab.com/gitlab-org/gitaly/issues/1111
2018-02-07Use hashed storage in the specsNick Thomas
2018-01-05Fix specsJacob Vosmaer
2018-01-03Write project full path to .git/config when migrating legacy storageDouglas Barbosa Alexandre
2017-11-23when rollingback repository migration, toggle readonly mode backGabriel Mazetto
2017-11-23Refactor Hashed Storage migration to add additional migration stepsGabriel Mazetto