Show More
@@ -11,20 +11,22 b' Repository deleting' | |||
|
11 | 11 | Currently when an admin or owner deletes a repository, Kallithea does |
|
12 | 12 | not physically delete said repository from the filesystem, but instead |
|
13 | 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 | |
|
15 | given administrative access to Kallithea and will delete a repository, | |
|
16 | you can easy restore such an action by removing ``rm__<date>`` from | |
|
17 | the repository name. There is also a special command for cleaning such | |
|
18 | archived repos:: | |
|
14 | or access the repository. | |
|
15 | ||
|
16 | There is a special command for cleaning up such archived repos:: | |
|
19 | 17 | |
|
20 | 18 | paster cleanup-repos --older-than=30d my.ini |
|
21 | 19 | |
|
22 |
This command |
|
|
23 |
30 days, display them, and ask if you want to delete them ( |
|
|
24 |
|
|
|
25 |
forks that are constantly deleted it is recommended that you run |
|
|
20 | This command scans for archived repositories that are older than | |
|
21 | 30 days, displays them, and asks if you want to delete them (unless given | |
|
22 | the ``--dont-ask`` flag). If you host a large amount of repositories with | |
|
23 | forks that are constantly being deleted, it is recommended that you run this | |
|
26 | 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 | 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