Merge lp:~jml/pkgme/more-information into lp:pkgme
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 83 |
Merged at revision: | 81 |
Proposed branch: | lp:~jml/pkgme/more-information |
Merge into: | lp:pkgme |
Diff against target: |
292 lines (+114/-21) 7 files modified
pkgme/backend.py (+16/-0) pkgme/bin/main.py (+22/-2) pkgme/testing.py (+24/-0) pkgme/tests/__init__.py (+1/-0) pkgme/tests/test_backend.py (+17/-6) pkgme/tests/test_main.py (+30/-0) pkgme/tests/test_write_packaging.py (+4/-13) |
To merge this branch: | bzr merge lp:~jml/pkgme/more-information |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email: mp+80497@code.launchpad.net |
Description of the change
Changes the --version option to dump more information about backends and where they come from, but only when the --debug option is also specified.
* Extracts out a get_version_info function
* Adds tests for it
* Creates a StaticLoaderFixture so it's easier for tests to change which backends get loaded
* Adds a describe() method to Backend and gives it an implementation for the base class and ExternalHelperB
* Random docstring additions
To post a comment you must log in.