|
||
|
||
|
||
|
||
|
||
|
||
|
||
msuchy commented 5 years ago Can you add an index to DB on the column | ||
|
||
|
||
|
||
|
||
This is a continuation of a PR#451 which deals with deletion of outdated chroots.
It adds a manage.py command, that should be run via Cron. Try
copr-frontend delete_outdated_chroots --dry-run
to see what chroots should be deleted, and
copr-frontend delete_outdated_chroots
to actually delete them.
The backend action removes the whole
/var/lib/copr/public_html/results/<ownername>/<projectname>/<chrootname>
directory. If you prefer to rather remove everything from it and put some README into it, please let me know. This RFE wasn't strictly defined, so I implemented the most straightforward solution.
In the current master, there is a broken migration path.
It isn't required, but PR#480 should be resolved first.