Mercurial > kallithea
diff docs/usage/general.rst @ 7411:977e7aca38b1
cli: convert 'gearbox cleanup-repos' into 'kallithea-cli repo-purge-deleted'
Some changes to user-facing text are done.
author | Thomas De Schampheleire <thomas.de_schampheleire@nokia.com> |
---|---|
date | Sun, 18 Nov 2018 20:02:17 +0100 |
parents | 2c3d30095d5e |
children | a3f649baa016 |
line wrap: on
line diff
--- a/docs/usage/general.rst Wed Oct 03 21:47:43 2018 +0200 +++ b/docs/usage/general.rst Sun Nov 18 20:02:17 2018 +0100 @@ -8,18 +8,18 @@ Repository deletion ------------------- -Currently when an admin or owner deletes a repository, Kallithea does +When an admin or owner deletes a repository, Kallithea does not physically delete said repository from the filesystem, but instead renames it in a special way so that it is not possible to push, clone or access the repository. There is a special command for cleaning up such archived repositories:: - gearbox cleanup-repos --older-than=30d -c my.ini + kallithea-cli repo-purge-deleted -c my.ini --older-than=30d This command scans for archived repositories that are older than 30 days, displays them, and asks if you want to delete them (unless given -the ``--dont-ask`` flag). If you host a large amount of repositories with +the ``--no-ask`` flag). If you host a large amount of repositories with forks that are constantly being deleted, it is recommended that you run this command via crontab.