Merge lp:~rockstar/launchpad/branch-scanner-prep into lp:launchpad/db-devel
Proposed by
Paul Hummer
Status: | Merged |
---|---|
Approved by: | Tim Penhey |
Approved revision: | not available |
Merged at revision: | not available |
Proposed branch: | lp:~rockstar/launchpad/branch-scanner-prep |
Merge into: | lp:launchpad/db-devel |
Diff against target: |
157 lines (+97/-0) 3 files modified
database/schema/security.cfg (+2/-0) lib/canonical/launchpad/scripts/garbo.py (+35/-0) lib/canonical/launchpad/scripts/tests/test_garbo.py (+60/-0) |
To merge this branch: | bzr merge lp:~rockstar/launchpad/branch-scanner-prep |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Tim Penhey (community) | Approve | ||
Edwin Grubbs | Pending | ||
Review via email: mp+16260@code.launchpad.net |
To post a comment you must log in.
Hi Edwin-
This branch adds a JobPruner to the daily garbo script. It removes any jobs
that have a date_finished of more than thirty days. This is needed for the
next few branches that turn the scanner into a job. If we didn't do this, the
job table would get out of hand really quick.
To test, do: launchpad. scripts. tests.test_ garbo \ test_JobPruner
bin/test -vvc canonical.
TestGarbo.
reviewer edwin-grubbs
Cheers,
Paul