Gabriel Mazetto
7bc16889df
Refactor Storage Migration
...
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-25 20:26:35 +01:00
Gabriel Mazetto
c2c34eba62
Prepare rake task for storage rollback
...
We are keeping compatibility with existing scheduled jobs.
2019-01-25 20:26:35 +01:00
gfyoung
ebf98f27c4
Enable even more frozen string in lib/gitlab
...
Enables frozen string for the following:
* lib/gitlab/fogbugz_import/**/*.rb
* lib/gitlab/gfm/**/*.rb
* lib/gitlab/git/**/*.rb
* lib/gitlab/gitaly_client/**/*.rb
* lib/gitlab/gitlab_import/**/*.rb
* lib/gitlab/google_code_import/**/*.rb
* lib/gitlab/gpg/**/*.rb
* lib/gitlab/grape_logging/**/*.rb
* lib/gitlab/graphql/**/*.rb
* lib/gitlab/graphs/**/*.rb
* lib/gitlab/hashed_storage/**/*.rb
* lib/gitlab/health_checks/**/*.rb
Partially address gitlab-org/gitlab-ce#47424 .
2018-11-13 11:42:15 -08:00
Yorick Peterse
2039c8280d
Disable existing offenses for the CodeReuse cops
...
This whitelists all existing offenses for the various CodeReuse cops, of
which most are triggered by the CodeReuse/ActiveRecord cop.
2018-09-11 17:32:00 +02:00
Valery Sizov
10df0eb7cb
Resolve "Hashed storage: extend "Enable hashed storage for all new projects" to "for all new and renamed projects""
2018-08-03 14:34:28 +00:00
Gabriel Mazetto
36c3376475
Resolve "Hashed Storage: Make possible to migrate single project"
2018-06-07 15:40:44 +00:00
Gabriel Mazetto
b384d5e544
refactor to remove duplication
2018-05-28 23:39:36 +02:00
Gabriel Mazetto
818b4d0a19
Refactor RakeHelper to reduce complexity
2018-05-28 23:39:36 +02:00
Gabriel Mazetto
78d25079f5
Extracted auxiliary methods from storage.rake into specific RakeHelper
2018-05-28 23:39:35 +02:00