##// END OF EJS Templates
docs/usage: English corrections in 'Repository deleting'
Thomas De Schampheleire -
r4962:35d560f0 default
parent child Browse files
Show More
@@ -11,20 +11,22 b' Repository deleting'
11 Currently when an admin or owner deletes a repository, Kallithea does
11 Currently when an admin or owner deletes a repository, Kallithea does
12 not physically delete said repository from the filesystem, but instead
12 not physically delete said repository from the filesystem, but instead
13 renames it in a special way so that it is not possible to push, clone
13 renames it in a special way so that it is not possible to push, clone
14 or access repository. It is worth noting that even if someone will be
14 or access the repository.
15 given administrative access to Kallithea and will delete a repository,
15
16 you can easy restore such an action by removing ``rm__<date>`` from
16 There is a special command for cleaning up such archived repos::
17 the repository name. There is also a special command for cleaning such
18 archived repos::
19
17
20 paster cleanup-repos --older-than=30d my.ini
18 paster cleanup-repos --older-than=30d my.ini
21
19
22 This command will scan for archived repositories that are older than
20 This command scans for archived repositories that are older than
23 30 days, display them, and ask if you want to delete them (there is
21 30 days, displays them, and asks if you want to delete them (unless given
24 a ``--dont-ask`` flag also) If you host a large amount of repositories with
22 the ``--dont-ask`` flag). If you host a large amount of repositories with
25 forks that are constantly deleted it is recommended that you run such a
23 forks that are constantly being deleted, it is recommended that you run this
26 command via crontab.
24 command via crontab.
27
25
26 It is worth noting that even if someone is given administrative access to
27 Kallithea and deletes a repository, you can easily restore such an action by
28 renaming the repository directory, removing the ``rm__<date>`` prefix.
29
28 Follow current branch in file view
30 Follow current branch in file view
29 ----------------------------------
31 ----------------------------------
30
32
General Comments 0
You need to be logged in to leave comments. Login now