summaryrefslogtreecommitdiff
path: root/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_projects.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add a rubocop for Rails.loggerMayra Cabrera2019-07-101-1/+1
| | | | | | Suggests to use a JSON structured log instead Related to https://gitlab.com/gitlab-org/gitlab-ce/issues/54102
* Enable even more frozen string in lib/gitlabgfyoung2018-11-061-0/+2
| | | | | | | | | | | | | | | | | Enables frozens string for the following: * lib/gitlab/conflict/**/*.rb * lib/gitlab/cross_project_access/**/*.rb * lib/gitlab/cycle_analytics/**/*.rb * lib/gitlab/data_builder/**/*.rb * lib/gitlab/database/**/*.rb * lib/gitlab/dependency_linker/**/*.rb * lib/gitlab/diff/**/*.rb * lib/gitlab/downtime_check/**/*.rb * lib/gitlab/email/**/*.rb * lib/gitlab/etag_caching/**/*.rb Partially addresses gitlab-org/gitlab-ce#47424.
* Gitlab::Shell works on shard name, not pathZeger-Jan van de Weg2018-04-251-1/+1
| | | | | | | | | | | 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
* Adds Rubocop rule for line break around conditionals🙈 jacopo beschi 🙉2018-01-111-0/+1
|
* Don't move project repository/attachments when using hashed storageBob Van Landuyt2017-11-201-3/+5
| | | | | | | | When a project is using hashed storage, the repositories and attachments wouldn't be saved on disk using the `full_path`. So the migration would not do anything. However: best to just skip moving when hashed storage is enabled.
* Add punctuation to log messagesBob Van Landuyt2017-06-261-1/+2
|
* Don't break rolling back when a namespace or project was renamedBob Van Landuyt2017-06-261-2/+4
|
* Revert namespace renamesBob Van Landuyt2017-06-261-1/+2
|
* Add methods to revert project renamesBob Van Landuyt2017-06-261-0/+19
|
* Track all renames in redisBob Van Landuyt2017-06-261-0/+2
|
* Move ReservedPathsMigration into V1 namespaceBob Van Landuyt2017-05-011-0/+45