Merge ~athos-ribeiro/ubuntu/+source/python-debian:zstd-compression into ubuntu/+source/python-debian:ubuntu/devel
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Christian Ehrhardt | ||||
Approved revision: | d76f552b15acb06952177594261eaf8384de0876 | ||||
Merged at revision: | 5d7fc3c76e98e7cb21dc5bdea8b6ceeb136279bb | ||||
Proposed branch: | ~athos-ribeiro/ubuntu/+source/python-debian:zstd-compression | ||||
Merge into: | ubuntu/+source/python-debian:ubuntu/devel | ||||
Diff against target: |
1142 lines (+1042/-26) 5 files modified
debian/changelog (+6/-0) debian/control (+5/-2) lib/debian/debfile.py (+30/-24) lib/debian/tests/test-zst.deb.uu (+1000/-0) lib/debian/tests/test_debfile.py (+1/-0) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Christian Ehrhardt (community) | Approve | ||
Utkarsh Gupta (community) | Needs Fixing | ||
Canonical Foundations Team | Pending | ||
Review via email: mp+407413@code.qastaging.launchpad.net |
Description of the change
This MP adds support for the zstd compression format, which is now the default for compressing data in the .deb binary packages archives.
A PPA with the proposed fix is available at https:/
I also ran the dep8 tests with the proposed changes. Here is the results summary:
autopkgtest [20:04:02]: @@@@@@@
python3-debian PASS
Moreover, it may be relevant to mention that the embedded binary package is the same one already present in the repository. It was re-compressed using zstd. It was done this way because I could not find any documentation on how the other binaries in the repository were generated, and although they state they come from a specific version of the hello package, I could not reproduce that build locally (a call to dh_md5sums was missing and the order of the files in the archive changed, which is relevant for the package unit tests).
See https:/
There was an error fetching revisions from git servers. Please try again in a few minutes. If the problem persists, contact Launchpad support.
Hello, is there any reason why we shouldn't fix this in Debian first and let this continue to be a sync. If I am not missing anything, this doesn't seem very Ubuntu-specific, or is it?
Fixing this here is awesome but will require us to keep doing a merge for the rest of our lives, thereby increasing the technical debt. Plus, if the debfile.py is changed in Debian, then it'll demand even more work. I'd be super inclined in having this fixed in Debian and letting this package be a sync here, unless we have a definite reason to not to.
Thanks in advance and for all your work, Athos (and sorry for being the annoying one in raising this here. :D).