Merge ~cjwatson/launchpad-buildd:apt-lists into launchpad-buildd:master
Status: | Merged |
---|---|
Approved by: | Colin Watson |
Approved revision: | b6064e3d6b54ebcfd133887298e1d48842e8aa10 |
Merge reported by: | Otto Co-Pilot |
Merged at revision: | not available |
Proposed branch: | ~cjwatson/launchpad-buildd:apt-lists |
Merge into: | launchpad-buildd:master |
Diff against target: |
96 lines (+46/-21) 2 files modified
debian/changelog (+3/-0) lpbuildd/binarypackage.py (+43/-21) |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ioana Lasc (community) | Approve | ||
Review via email: mp+383060@code.launchpad.net |
Commit message
Use apt helpers to read Packages files
Description of the change
lpbuildd/
The apt maintainers don't want other code poking around in /var/lib/apt/lists/ directly, not least because they might e.g. want to start lz4-compressing the package lists there in the near future. Use the recommended helpers where available to read Packages files for dep-wait analysis. We still need the old paths because these helpers are only available in rather recent versions of apt.
This is essentially the same as https:/