diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-09-29 07:35:59 +0000 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-09-29 07:35:59 +0000 |
commit | 084e35527c6269ce20db03c24516c45dfe362c0b (patch) | |
tree | 5a65460209915eafc5bde0de0421972494c87e04 /doc | |
parent | 230d6c8783b94a6764b1b5310bb7c40f56be9ee3 (diff) | |
parent | 255d5f7501b01f2e88d614bf38b362a31d6cddc6 (diff) | |
download | gitlab-ce-084e35527c6269ce20db03c24516c45dfe362c0b.tar.gz |
Merge branch 'orphaned-repo-cleanup' into 'master'
Improve repo cleanup task
I accidentally wrote a new script, not seeing we already had one.
But the old one did not do enough (it only handled global namespace orhpans) so I figured I should just drop in the new script.
See merge request !1298
Diffstat (limited to 'doc')
-rw-r--r-- | doc/raketasks/cleanup.md | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/doc/raketasks/cleanup.md b/doc/raketasks/cleanup.md index 96d67f7b5d6..8fbcbb983e9 100644 --- a/doc/raketasks/cleanup.md +++ b/doc/raketasks/cleanup.md @@ -12,7 +12,8 @@ sudo gitlab-rake gitlab:cleanup:dirs bundle exec rake gitlab:cleanup:dirs RAILS_ENV=production ``` -Remove repositories (global only for now) from `/home/git/repositories` if they don't exist in GitLab database. +Rename repositories from `/home/git/repositories` if they don't exist in GitLab database. +The repositories get a `+orphaned+TIMESTAMP` suffix so that they cannot block new repositories from being created. ``` # omnibus-gitlab |