Incremental copying of binaries doesn't work due to lack of explicit series/pocket selection
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Launchpad itself |
Fix Released
|
High
|
Colin Watson |
Bug Description
The package copier script supports an incremental mode whereby you can copy a source before all its builds have completed (at least in some circumstances), and re-copy it later with additional completed builds. Unfortunately, this feature is inaccessible in practice, because Archive.copyPackage and the PackageCopyJob code don't support specifying the source distroseries or pocket, so you end up copying from the target of the first copy and thus doing nothing of any use.
Adding a facility to specify the source distroseries and pocket should let us do incremental binary copies, which will save us from occasional bizarre manual recovery steps such as those we had to do with KDE and linux early this month, and should make it a lot easier to implement automatic migration from -proposed to release pockets.
Related branches
- Curtis Hovey (community): Approve (code)
-
Diff: 352 lines (+130/-27)6 files modifiedlib/lp/soyuz/interfaces/archive.py (+12/-3)
lib/lp/soyuz/interfaces/packagecopyjob.py (+19/-1)
lib/lp/soyuz/model/archive.py (+14/-5)
lib/lp/soyuz/model/packagecopyjob.py (+43/-18)
lib/lp/soyuz/tests/test_archive.py (+26/-0)
lib/lp/soyuz/tests/test_packagecopyjob.py (+16/-0)
- William Grant: Approve (code)
-
Diff: 43 lines (+8/-4)2 files modifiedlib/lp/soyuz/model/archive.py (+2/-1)
lib/lp/soyuz/tests/test_archive.py (+6/-3)
Changed in launchpad: | |
assignee: | nobody → Colin Watson (cjwatson) |
status: | New → In Progress |
Changed in launchpad: | |
importance: | Undecided → High |
tags: | added: package-copies |
tags: |
added: qa-ok removed: qa-needstesting |
Changed in launchpad: | |
status: | Fix Committed → Fix Released |
Fixed in stable r16183 <http:// bazaar. launchpad. net/~launchpad- pqm/launchpad/ stable/ revision/ 16183>.