Merge lp:~wgrant/launchpad/bug-629835-copier-architectures into lp:launchpad
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Julian Edwards | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 12220 | ||||||||||||
Proposed branch: | lp:~wgrant/launchpad/bug-629835-copier-architectures | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Prerequisite: | lp:~wgrant/launchpad/bug-701383-ppa-component-override | ||||||||||||
Diff against target: |
481 lines (+217/-124) 6 files modified
lib/lp/soyuz/interfaces/publishing.py (+23/-0) lib/lp/soyuz/model/publishing.py (+56/-47) lib/lp/soyuz/model/queue.py (+11/-41) lib/lp/soyuz/scripts/packagecopier.py (+9/-1) lib/lp/soyuz/scripts/tests/test_copypackage.py (+116/-34) lib/lp/soyuz/tests/test_publishing.py (+2/-1) |
||||||||||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-629835-copier-architectures | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Julian Edwards (community) | code | Approve | |
Review via email: mp+46233@code.launchpad.net |
Commit message
[r=julian-
Description of the change
This branch fixes three architecture-
- Bug #629835: Delayed copies didn't take into account the
architectures in the target series, so they could attempt to publish
builds into a non-existent DistroArchSeries, crashing
process-
there is no corresponding DAS in the target.
- Bug #649859: PackageUploadBu
PublishingSe
implementations of the same architecture-
I factored these both out into PublishingSet.
PublishingSe
relevant publications.
- Bug #701357: We recently added the DistroArchSerie
which allows us to prevent builds and publications for a particular
architecture, effectively removing it. However, copies do not respect
this, and will happily create new publications in a disabled DAS.
_do_delayed_copy and copyBinariesTo have been fixed to skip builds
targeting disabled DASes, and newBinaryPublic
publications in them.
95 + # XXX: wgrant 2011-01-10:
96 + # This will go wrong if nominatedarchindep gets deleted in a
97 + # future series.
As discussed, this is not an XXX (which by policy would require a bug).
141 + if binaries_ in_destination. count() == 0:
This should be a bool(binaries_ in_destination) if it hasn't already conflicted with my branch.
Everything else looks great, nice job.