Initializing a distroseries is too eager to check in-progress builds in the parent
Bug #820452 reported by
Julian Edwards
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Raphaël Badin |
Bug Description
The initialization page currently checks to see if there's any builds in the parent. This should be restricted to checking to see if there are builds only for the packages being copied if we are copying binaries.
In addition, when it checks the distroseries queues, it doesn't matter that the parent has sources there but we do want to prevent copying if there's any binaries for the sources getting copied in the queues.
Related branches
lp:~rvb/launchpad/bug-820452
- Julian Edwards (community): Approve
- Benji York (community): Approve (code)
-
Diff: 865 lines (+495/-91)9 files modifieddatabase/schema/security.cfg (+1/-0)
lib/lp/registry/interfaces/distroseries.py (+2/-1)
lib/lp/soyuz/interfaces/queue.py (+15/-0)
lib/lp/soyuz/model/binarypackagebuild.py (+24/-10)
lib/lp/soyuz/model/distroarchseries.py (+9/-10)
lib/lp/soyuz/model/queue.py (+32/-0)
lib/lp/soyuz/scripts/initialize_distroseries.py (+84/-34)
lib/lp/soyuz/scripts/tests/test_initialize_distroseries.py (+316/-29)
lib/lp/testing/factory.py (+12/-7)
tags: | added: derivation |
Changed in launchpad: | |
status: | New → Triaged |
importance: | Undecided → High |
Changed in launchpad: | |
assignee: | nobody → Raphaël Victor Badin (rvb) |
status: | Triaged → In Progress |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Fixed in stable r13714 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 13714>.