Merge ~barryprice/launchpad/+git/launchpad:master into launchpad:master

Proposed by Barry Price
Status: Merged
Approved by: Guruprasad
Approved revision: 11b0aa0d1d9988e42baa68cfd155c66192a70e0f
Merge reported by: Otto Co-Pilot
Merged at revision: not available
Proposed branch: ~barryprice/launchpad/+git/launchpad:master
Merge into: launchpad:master
Diff against target: 15 lines (+2/-2)
1 file modified
charm/launchpad-ppa-uploader/templates/crontab.j2 (+2/-2)
Reviewer Review Type Date Requested Status
Guruprasad Approve
Review via email: mp+460992@code.launchpad.net

Commit message

launchpad-ppa-uploader crontab: Clean up rejected packages more aggressively to conserve disk space

To post a comment you must log in.
Revision history for this message
Guruprasad (lgp171188) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
diff --git a/charm/launchpad-ppa-uploader/templates/crontab.j2 b/charm/launchpad-ppa-uploader/templates/crontab.j2
index de953d7..042bf58 100644
--- a/charm/launchpad-ppa-uploader/templates/crontab.j2
+++ b/charm/launchpad-ppa-uploader/templates/crontab.j2
@@ -16,8 +16,8 @@ LPCONFIG=launchpad-ppa-uploader
1600 00 * * * find {{ ppa_queue_dir }}/accepted -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&11600 00 * * * find {{ ppa_queue_dir }}/accepted -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
1700 00 * * * find {{ ppa_queue_dir }}/failed -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&11700 00 * * * find {{ ppa_queue_dir }}/failed -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&1
1800 00 * * * find {{ ppa_queue_dir }}/failed -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&11800 00 * * * find {{ ppa_queue_dir }}/failed -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
1900 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&11900 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +3 -delete > /dev/null 2>&1
2000 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&12000 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +3 -execdir rm -rf '{}' + > /dev/null 2>&1
21{% endif %}21{% endif %}
2222
23# OOPS amqp23# OOPS amqp

Subscribers

People subscribed via source and target branches

to status/vote changes: