Merge lp:~mvo/pkgme-devportal/add-configuration-for-library-overrides into lp:pkgme-devportal
Proposed by
Michael Vogt
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Michael Vogt | ||||
Approved revision: | 59 | ||||
Merged at revision: | 54 | ||||
Proposed branch: | lp:~mvo/pkgme-devportal/add-configuration-for-library-overrides | ||||
Merge into: | lp:pkgme-devportal | ||||
Diff against target: |
366 lines (+153/-64) 6 files modified
devportalbinary/binary.py (+10/-2) devportalbinary/configuration.py (+69/-0) devportalbinary/database.py (+1/-53) devportalbinary/testing.py (+35/-1) devportalbinary/tests/test_binary.py (+32/-1) devportalbinary/tests/test_database.py (+6/-7) |
||||
To merge this branch: | bzr merge lp:~mvo/pkgme-devportal/add-configuration-for-library-overrides | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Michael Vogt (community) | Needs Resubmitting | ||
Jonathan Lange | Approve | ||
Review via email: mp+115125@code.launchpad.net |
Commit message
Allow configuring overrides for the lib->package mapping.
Description of the change
This branch provides a way to override library dependencies. The background for this is bug #1025186. Often a library is provided by multiple alternative versions that can not be co-installed. Common cases are libgl1-
To post a comment you must log in.
* Really like splitting 'configuration' into a different module. Thanks.
* ``write_config`` should probably be a Fixture that just sets the config. Not necessary to change in this branch, but if you're feeling
* I would have thought that the config should be '<library>: <recommended package>'. I don't know if I'm right or you're right or even if the patch should be changed at this point in the absence of data. Probably OK to merge.
* There really ought to be an example configuration that shows this
* We're probably going to want a web control for this. Pinging LOSAs every time we want to add something is going to suck.