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
1diff --git a/charm/launchpad-ppa-uploader/templates/crontab.j2 b/charm/launchpad-ppa-uploader/templates/crontab.j2
2index de953d7..042bf58 100644
3--- a/charm/launchpad-ppa-uploader/templates/crontab.j2
4+++ b/charm/launchpad-ppa-uploader/templates/crontab.j2
5@@ -16,8 +16,8 @@ LPCONFIG=launchpad-ppa-uploader
6 00 00 * * * find {{ ppa_queue_dir }}/accepted -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
7 00 00 * * * find {{ ppa_queue_dir }}/failed -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&1
8 00 00 * * * find {{ ppa_queue_dir }}/failed -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
9-00 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +7 -delete > /dev/null 2>&1
10-00 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +7 -execdir rm -rf '{}' + > /dev/null 2>&1
11+00 00 * * * find {{ ppa_queue_dir }}/rejected -maxdepth 1 -type f -mtime +3 -delete > /dev/null 2>&1
12+00 00 * * * find {{ ppa_queue_dir }}/rejected -mindepth 1 -type d -mtime +3 -execdir rm -rf '{}' + > /dev/null 2>&1
13 {% endif %}
14
15 # OOPS amqp

Subscribers

People subscribed via source and target branches

to status/vote changes: