Merge lp:~jml/pkgme/binary-all-info-slpit into lp:pkgme
Proposed by
Jonathan Lange
Status: | Merged |
---|---|
Approved by: | James Westby |
Approved revision: | 71 |
Merged at revision: | 68 |
Proposed branch: | lp:~jml/pkgme/binary-all-info-slpit |
Merge into: | lp:pkgme |
Diff against target: |
334 lines (+126/-71) 11 files modified
pkgme/backends/binary/all_info (+0/-61) pkgme/backends/binary/build_depends (+14/-0) pkgme/backends/binary/depends (+11/-0) pkgme/backends/binary/extra_files (+36/-0) pkgme/backends/binary/package_name (+17/-0) pkgme/info_elements.py (+9/-0) pkgme/package_files.py (+1/-1) pkgme/tests/test_binary_backend.py (+8/-8) pkgme/tests/test_info_elements.py (+16/-0) pkgme/tests/test_package_files.py (+14/-0) pkgme/tests/test_project_info.py (+0/-1) |
To merge this branch: | bzr merge lp:~jml/pkgme/binary-all-info-slpit |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
James Westby | Approve | ||
Review via email:
|
Description of the change
This splits up the all_info binary backend script into multiple scripts. The price is a little bit of duplication, but the gain is less weird-ass boilerplate/iffery and easier debugging when experimenting from the command line.
Main interesting bit of this change is correctly using ExtraFiles itself to get itself out of the info, and then giving it a proper clean() method so we can turn a JSON dump into a dictionary of files.
To post a comment you must log in.