Merge lp:~wallyworld/launchpad/improve-latestpersonspr-garbo-job-1071581 into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | j.c.sackett | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 16249 | ||||
Proposed branch: | lp:~wallyworld/launchpad/improve-latestpersonspr-garbo-job-1071581 | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
103 lines (+25/-7) 2 files modified
lib/lp/scripts/garbo.py (+15/-7) lib/lp/scripts/tests/test_garbo.py (+10/-0) |
||||
To merge this branch: | bzr merge lp:~wallyworld/launchpad/improve-latestpersonspr-garbo-job-1071581 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
j.c.sackett (community) | Approve | ||
Review via email: mp+133417@code.launchpad.net |
Commit message
Improve PopulateLatestP
Description of the change
== Implementation ==
When I first wrote the garbo job, I didn't now that a new source package release record was created each time a package is uploaded. So the garbo job reset the next_id to 0 after each run, causing all spr's to eventually be reprocessed. This branch alters the job so that a separate, monotonically increasing next id is used for processing creator and maintainer records. Thus, the garbo job should eventually "catch" up to the releases and from then on do minimal work to maintain the report table.
== Tests ==
Update the test_PopulateLa
== Lint ==
Checking for conflicts and issues in changed files.
Linting changed files:
lib/lp/
lib/lp/
Thanks, Ian.