Merge lp:~wgrant/launchpad/bug-707189-forgetful-copier into lp:launchpad
Status: | Merged |
---|---|
Approved by: | Robert Collins |
Approved revision: | no longer in the source branch. |
Merged at revision: | 12263 |
Proposed branch: | lp:~wgrant/launchpad/bug-707189-forgetful-copier |
Merge into: | lp:launchpad |
Diff against target: |
74 lines (+34/-3) 2 files modified
lib/lp/soyuz/model/publishing.py (+3/-3) lib/lp/soyuz/scripts/tests/test_copypackage.py (+31/-0) |
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-707189-forgetful-copier |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Steve Kowalik (community) | code* | Approve | |
Review via email: mp+47341@code.launchpad.net |
Commit message
[r=lifeless,
Description of the change
PublishingSet.
The refactor in r12220 broke this, such that it now checks if the *requested* architecture is already published, instead of the target architecture. This means that architectures after nominated arch-indep alphabetically (ie. lpia) will not be have arch-indep publications created.
So, this bit is confusing: y(('i386' , 'hppa'))
+ # Now make a new distroseries with only i386.
+ nobby = self.createNobb
That and the code below suggest it creates two arches.
I wouldn't mind no comment, but if there is a comment, having it not match the code breaks my brain.