Tue 05 Apr 2005 01:56:44 PM UTC, original submission:
Repositories of removed projects should be put out of the way.
While removing a project, it should be easy to, at this step, move their content in a dedicated directory, for admin review.
---
Apart from that, there should be cronjob listing directories that should not be here. For instance, it would browse /var/depot and mention every directory there that does not correspond to a group repository (saying also how many files in contains, how big it is). It should mail the list of noticed directory to admins so they do whatever is best with it (or maybe it should automatically open a task on the task tracker? It should touch something in the directory so it gives only one warning. For instance, it could ignore directories that contains a file like directory/.ignore
(It should, in the message, mention it added this file).
This would greatly help admins to keep clean repositories.
This script would probably have the same options than sv_groups. Maybe it could be named sv_groups_cleaner (at the same time, sv_cleaner should be renamed sv_database_cleaner).
As a matter of fact, I included this two suggestion in one report because maybe only the second idea is worth being implemented. The second will anyway address the issue of the first and it is probably enough (but indeed the first one could be implemented, in theory). And the second is maybe preferable because, in fact, it keeps untouched the existing stuff.
|