Merge lp:~wgrant/launchpad/bug-1058310 into lp:launchpad
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | William Grant | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 16064 | ||||||||||||
Proposed branch: | lp:~wgrant/launchpad/bug-1058310 | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Diff against target: |
202 lines (+57/-67) 2 files modified
lib/lp/soyuz/model/buildpackagejob.py (+16/-42) lib/lp/soyuz/tests/test_buildpackagejob.py (+41/-25) |
||||||||||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-1058310 | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Review via email: mp+127414@code.launchpad.net |
Commit message
Rework BinaryPackageBuild scoring: language packs now use the archive base score, packageset scores no longer apply to PPAs, and age-based scoring is gone.
Description of the change
This branch reworks BinaryPackageBuild scoring a little.
Language packs now get the base archive score, rather than always 0 (for the primary archive and public PPAs they'll still be 0, but those in private PPAs and copy archives will now be correctly scored up and down respectively).
Packageset-based score adjustments no longer apply to PPAs, just primary/
I also took the opportunity to eliminate age-based scoring. It's counter-intuitive, the tiebreaker is id (a rather good proxy for age) anyway, and we don't run queue-builder any more so the score is never calculated except at age=0.