Merge ~cjwatson/launchpad:removed-archive-files-not-reapable into launchpad:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | 9f52289a5afa002e220ba887562f269a04e028ae |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad:removed-archive-files-not-reapable |
Merge into: | launchpad:master |
Diff against target: |
52 lines (+8/-0) 4 files modified
lib/lp/archivepublisher/tests/test_publisher.py (+2/-0) lib/lp/registry/model/distribution.py (+1/-0) lib/lp/soyuz/model/archivefile.py (+1/-0) lib/lp/soyuz/tests/test_archivefile.py (+4/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Jürgen Gmach | Approve | ||
Review via email: mp+440415@code.launchpad.net |
Commit message
Don't consider removed ArchiveFiles as eligible for reaping
Description of the change
Commit 559bbefbb5d7327
Excluding removed rows makes the query for pending-publication PPAs substantially faster since it has an order of magnitude fewer `ArchiveFile` rows to sort, and it should mean that we spend less effort publishing the same PPAs over and over again.