Merge ~wgrant/launchpad:optimise-gina into launchpad:master
Proposed by
William Grant
Status: | Merged |
---|---|
Approved by: | William Grant |
Approved revision: | 40deb0968646913bc75b1d433850ef2fbfdf954a |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~wgrant/launchpad:optimise-gina |
Merge into: | launchpad:master |
Diff against target: |
81 lines (+21/-5) 2 files modified
database/schema/patch-2210-01-3.sql (+7/-0) lib/lp/soyuz/scripts/gina/handlers.py (+14/-5) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Colin Watson (community) | Approve | ||
Review via email: mp+377080@code.launchpad.net |
Commit message
Optimise gina source and binary DB lookups
Description of the change
The relatively modern SourcePackagePu
and BinaryPackagePu
can improve gina's plans by orders of magnitude in some cases.
This also fixes gina's binary handlers (not used on production since
2006) to correctly deal with multiple archives per distribution (it's
been incorrect since 2007's ArchiveRework).
To post a comment you must log in.
I wouldn't be sad if you could contrive a test showing how the binary handlers were previously wrong, but otherwise LGTM.