Merge lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520 into lp:launchpad
Proposed by
Julian Edwards
Status: | Merged |
---|---|
Merged at revision: | not available |
Proposed branch: | lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520 |
Merge into: | lp:launchpad |
Diff against target: |
289 lines (+71/-64) 2 files modified
lib/lp/soyuz/adapters/archivedependencies.py (+35/-28) lib/lp/soyuz/doc/archive-dependencies.txt (+36/-36) |
To merge this branch: | bzr merge lp:~julian-edwards/launchpad/publish-copy-archives-bug-520520 |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Paul Hummer (community) | code | Approve | |
Review via email: mp+19621@code.launchpad.net |
Commit message
Change the ordering of the dependencies for builds to something that makes more sense.
To post a comment you must log in.
= Summary =
Change the ordering of the dependencies for builds to something that makes
more sense.
== Proposed fix ==
When we send builds to the build slaves, we tell the chroot exactly what
sources.list it needs to install before pulling in build dependencies. The
ordering of that file has a bearing on what packages get installed if two
repos have the same version of something.
This branch makes that ordering sensible and determinate.
== Pre-implementation notes ==
This is the first part of the fix for bug 520520.
== Implementation details ==
The entries are returned in the order that is most useful;
1. the context archive itself
2. external dependencies
3. user-selected archive dependencies
4. the default primary archive
This is a simple fix in the get_sources_ list_for_ building( ) function.
== Tests == dependencies. txt
bin/test -cvvt archive-
== Demo and Q/A ==
= Launchpad lint =
Checking for conflicts. and issues in doctests and templates.
Running jslint, xmllint, pyflakes, and pylint.
Using normal rules.
Linting changed files: soyuz/doc/ archive- dependencies. txt soyuz/adapters/ archivedependen cies.py
lib/lp/
lib/lp/
== Pylint notices ==
lib/lp/ soyuz/adapters/ archivedependen cies.py
43: [F0401] Unable to import 'lazr.uri' (No module named uri)