Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ci | ||
gitlab | ||
migrate | ||
.gitkeep | ||
brakeman.rake | ||
cache.rake | ||
dev.rake | ||
flay.rake | ||
flog.rake | ||
grape.rake | ||
rubocop.rake | ||
services.rake | ||
setup.rake | ||
sidekiq.rake | ||
spec.rake | ||
spinach.rake | ||
test.rake |
BigW Consortium Gitlab
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
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
ci | Loading commit data... | |
gitlab | Loading commit data... | |
migrate | Loading commit data... | |
.gitkeep | Loading commit data... | |
brakeman.rake | Loading commit data... | |
cache.rake | Loading commit data... | |
dev.rake | Loading commit data... | |
flay.rake | Loading commit data... | |
flog.rake | Loading commit data... | |
grape.rake | Loading commit data... | |
rubocop.rake | Loading commit data... | |
services.rake | Loading commit data... | |
setup.rake | Loading commit data... | |
sidekiq.rake | Loading commit data... | |
spec.rake | Loading commit data... | |
spinach.rake | Loading commit data... | |
test.rake | Loading commit data... |