gitlab-org--gitlab-foss/lib/tasks
Robert Speicher 28a8d0b5db Merge branch 'add_user_repo_integrity_rake_task' into 'master'
Add user repository integrity check rake task

Corrupt repositories and stuck lock files can cause weird issues in
GitLab. Often we know which user is having these problems and then we
have to go hunt down which repository is causing it. Several times
recently that involved me running queries in the rails console to get
an array of projects and then writing a quick Ruby script to loop
through and run `git fsck`. This last time I also had to check for the
existence of `config.lock` and ref lock files. 

This rake task will eliminate all of those steps and allow an admin to
simply specify a username.

I also added the lock file checks to the existing `gitlab:repo:check`
task which goes through all projects. 

See merge request !2080
2015-12-15 18:36:28 +00:00
..
ci Migrate CI::Project to Project 2015-12-11 18:02:09 +01:00
gitlab Merge branch 'add_user_repo_integrity_rake_task' into 'master' 2015-12-15 18:36:28 +00:00
migrate Improve performance of User.by_login 2015-10-15 11:58:25 +02:00
.gitkeep init commit 2011-10-09 00:36:38 +03:00
brakeman.rake Merge branch 'brakeman-level' 2015-05-12 13:21:11 +03:00
cache.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
dev.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
flay.rake Set higher flay value to avoid unnecessary refactoring for now 2015-11-17 11:18:01 +01:00
flog.rake Allow flog failure for now 2015-11-11 15:30:23 +01:00
grape.rake Add grape routing print 2015-11-12 16:26:23 +01:00
rubocop.rake Dont load rubocop in prod env 2015-02-03 19:25:57 -08:00
services.rake Added service API endpoint to retrieve service parameters 2015-09-10 18:22:57 +02:00
setup.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
sidekiq.rake Replace GITLAB with GitLab in rake task descriptions 2015-06-23 16:52:40 +02:00
spec.rake Split up spec:other even more 2015-12-09 11:56:23 +01:00
spinach.rake Split up feature specs more 2015-12-09 10:50:43 +01:00
test.rake Use teaspoon instead of jasmine:ci 2015-07-03 10:51:44 +02:00