Merge ppa-dev-tools:add_binary_package_module into ppa-dev-tools:main
Status: | Merged |
---|---|
Merge reported by: | Bryce Harrington |
Merged at revision: | 2a5048d99b5e35c4e69356bcabc99a263488acf1 |
Proposed branch: | ppa-dev-tools:add_binary_package_module |
Merge into: | ppa-dev-tools:main |
Diff against target: |
3464 lines (+3432/-0) 4 files modified
ppa/binary_package.py (+200/-0) tests/data/binary-amd64/Packages (+3116/-0) tests/data/binary-amd64/Release (+6/-0) tests/test_binary_package.py (+110/-0) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Athos Ribeiro (community) | Approve | ||
Canonical Server | Pending | ||
Canonical Server Core Reviewers | Pending | ||
Canonical Server Reporter | Pending | ||
Review via email: mp+439769@code.staging.launchpad.net |
Description of the change
This adds the BinaryPackage class, allowing access to the per-package Apt data about installable packages.
The installation_
As usual, the unit tests can be run via:
$ pytest-3 ./tests/
With static tests run via:
$ check-scripts ./tests/
And there is also a smoketest, using some sample data added to tests/data/:
$ python3 -m ppa.binary_package
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Thanks Bryce, LGTM. The test data is a bit large compared to the changed here, but still looks great!