Merge lp:~stevenk/launchpad/bpph-supersede into lp:launchpad
Proposed by
Steve Kowalik
Status: | Work in progress |
---|---|
Proposed branch: | lp:~stevenk/launchpad/bpph-supersede |
Merge into: | lp:launchpad |
Diff against target: |
50 lines (+20/-11) 2 files modified
lib/lp/soyuz/model/publishing.py (+11/-11) lib/lp/soyuz/tests/test_publishing_models.py (+9/-0) |
To merge this branch: | bzr merge lp:~stevenk/launchpad/bpph-supersede |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Deryck Hodge (community) | Abstain | ||
Review via email: mp+87875@code.launchpad.net |
Description of the change
No longer tolerate supersede() being called on unpublished binary arch-dep publications. This allows us to remove some probable foot-guns from the code, and also brings the source and binary supersede methods into closer alignment.
To post a comment you must log in.
Unmerged revisions
- 14656. By Steve Kowalik
-
One assert is not enough, since we need to tolerate SUPERSEDED arch-indep publications.
- 14655. By Steve Kowalik
-
No longer tolerate superseded arch-indep binary publications in IBPPH.supersede()
As we chatted here in person, I'm not sure about the condition check you do, but I don't understand what you're trying to do here well enough to feel confident voting yay or nay. Do you mind getting someone else to look at it?