Merge lp:~wgrant/launchpad/bug-598345-restrict-dep-contexts into lp:launchpad
Status: | Merged | ||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Approved by: | Robert Collins | ||||||||||||
Approved revision: | no longer in the source branch. | ||||||||||||
Merged at revision: | 11175 | ||||||||||||
Proposed branch: | lp:~wgrant/launchpad/bug-598345-restrict-dep-contexts | ||||||||||||
Merge into: | lp:launchpad | ||||||||||||
Diff against target: |
770 lines (+326/-182) 10 files modified
lib/lp/soyuz/adapters/archivedependencies.py (+83/-55) lib/lp/soyuz/doc/archive-dependencies.txt (+3/-3) lib/lp/soyuz/doc/archive.txt (+1/-67) lib/lp/soyuz/doc/binarypackagebuild.txt (+5/-3) lib/lp/soyuz/interfaces/archive.py (+18/-5) lib/lp/soyuz/model/archive.py (+19/-15) lib/lp/soyuz/model/binarypackagebuild.py (+16/-25) lib/lp/soyuz/tests/test_archive.py (+138/-3) lib/lp/soyuz/tests/test_binarypackagebuild.py (+39/-4) lib/lp/soyuz/tests/test_publishing.py (+4/-2) |
||||||||||||
To merge this branch: | bzr merge lp:~wgrant/launchpad/bug-598345-restrict-dep-contexts | ||||||||||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Robert Collins (community) | Approve | ||
Review via email: mp+30203@code.launchpad.net |
Commit message
Only retry depwait builds if the candidate is in an available pocket and component.
Description of the change
This branches fixes bug #52698 and bug #598345. At present some depwait builds are retried prematurely, as the candidate query in Archive.
A related (and also fixed here) issue is bug #606789: findDepCandidat
I've fixed the first problem by refactoring the archive dependency expansion logic in lp.soyuz.
For the second issue, findDepCandidat
I've also removed some manual ogre-model logic from _isDependencySa
The findDepCandidat
Please say /why/ here: list_lines[ 0]] + external_dep_lines + \
+ # We want the external dependency lines to show up second: after the
174 + # archive itself, but before any other dependencies.
175 + return [sources_
e.g. 'for an unknown reason We want ...