##// END OF EJS Templates
shadow-repos: use safer way to destroy shadow repositories....
shadow-repos: use safer way to destroy shadow repositories. we had reported errors on removal of shadow repos. Not reproduced, however suspecting are filesystem sync/symlink race-conditions on shared storage. End result were existing shadow-repo directories that tricked rhodecode into thinking shadow repos is existing, but infact it was a dummy structure semi-removed. Using shutil.move we ENSURE rhodecode doesn't read those back even if removal fails.

File last commit:

r1:854a839a default
r2791:27d869d5 stable
Show More
cleanup-cmds.rst
23 lines | 784 B | text/x-rst | RstLexer

|RCT| Clean Up Commands

|RCT| comes with a number of functions which can be used to administer your |RCE| instances. Two of these can be used to automate the cleanup of gists and |repos|

rhodecode-cleanup-gists

Use this command to delete gists within RhodeCode Enterprise. It takes a number of options for specifying the kind of gists you want deleted, and it is possible to run these commands from a cron job or cleanup script. For more information, see the :ref:`tools-cli`

rhodecode-cleanup-repos

Use this command to delete |repos| from your |RCE| instances. It takes a number of options specifying the kind of |repos| you want deleted. For more information, see the :ref:`tools-cli`