Reprioritize package build scores based on packageset
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
Low
|
Colin Watson |
Bug Description
As proposed in https:/
lib/lp/
<cjwatson> ScottK: Did we think it should be different for different packagesets, or just a bonus for being in a packageset at all? (The latter is a lot easier since I don't have to figure out where to put the scores.)
<ScottK> I think it's got to be specific packagesets get a bonus.
<ScottK> There are pakcagesets like mono that are completely unrelated to this question.
<cjwatson> ScottK: It might be as simple as adding a score column to Packageset, defaulting to zero, and adding an API method to set it.
<cjwatson> That wouldn't be desperately hard.
<cjwatson> Then we could tweak the scores fairly freely and it wouldn't have to be analysed all that carefully in advance.
<cjwatson> I'd also rather change a relatively little-used table like Packageset than a table that gets hit all the time like DistributionSou
<wgrant> ScottK, cjwatson: I'd go with the priority on packageset.
<wgrant> Pretty simple.
<cjwatson> You reckon my assessment above (add column on packageset, export on webservice, add in .score) is about right?
<wgrant> cjwatson: Yeah
<cjwatson> Right, that's well within my capacity then
<cjwatson> ScottK: file bug, assign to me, I'll take it from there
<ScottK> cjwatson: Thanks. Will do.
Related branches
- Stuart Bishop (community): Approve (db)
- Robert Collins: Pending (db) requested
- Launchpad code reviewers: Pending requested
-
Diff: 12 lines (+8/-0)1 file modifieddatabase/schema/patch-2209-18-0.sql (+8/-0)
- j.c.sackett (community): Approve
-
Diff: 89 lines (+12/-10)4 files modifiedlib/lp/soyuz/interfaces/packageset.py (+1/-1)
lib/lp/soyuz/model/buildpackagejob.py (+1/-1)
lib/lp/soyuz/model/packageset.py (+1/-1)
lib/lp/soyuz/tests/test_buildpackagejob.py (+9/-7)
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
importance: | Undecided → Low |
status: | New → Triaged |
tags: | added: feature packagesets soyuz-build |
Changed in launchpad: | |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
r11582 in db-stable (http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ db-stable/ revision/ 11582) is part of this bug's fix.