Merge lp:~cjwatson/launchpad/tar-xz into lp:launchpad
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Robert Collins | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 12667 | ||||
Proposed branch: | lp:~cjwatson/launchpad/tar-xz | ||||
Merge into: | lp:launchpad | ||||
Diff against target: |
352 lines (+74/-36) 7 files modified
lib/lp/archiveuploader/dscfile.py (+16/-9) lib/lp/archiveuploader/tests/data/suite/bar_1.0-1_3.0-quilt/bar_1.0-1.dsc (+3/-0) lib/lp/archiveuploader/tests/data/suite/bar_1.0-1_3.0-quilt/bar_1.0-1_source.changes (+6/-3) lib/lp/archiveuploader/tests/test_dscfile.py (+21/-11) lib/lp/archiveuploader/tests/test_utils.py (+19/-4) lib/lp/archiveuploader/utils.py (+6/-6) lib/lp/soyuz/enums.py (+3/-3) |
||||
To merge this branch: | bzr merge lp:~cjwatson/launchpad/tar-xz | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Steve Kowalik (community) | code | Approve | |
Robert Collins (community) | Approve | ||
William Grant | code* | Approve | |
Review via email: mp+54215@code.launchpad.net |
Commit message
[r=lifeless,
Description of the change
Summary:
dpkg 1.15.5 and newer supports xz compression for source package tarballs. Debian doesn't quite support this yet, so this hasn't been a huge issue for us, but there is pressure for it to do so soon because GNOME is going to switch to shipping tar.xz (http://
Proposed fix:
Add orig.tar.xz, orig-component.
Pre-implementation notes:
Discussed with wgrant. *.xz is only available in the 3.0 (quilt) format, which is supported for Ubuntu 9.10 and newer, while *.xz specifically should strictly only be supported for Ubuntu 10.04 LTS and newer. However, such a constraint would be quite a lot of work to add, karmic is going to be EOL soon anyway, and the only downside of uploading an xz-compressed source package to karmic should be that it fails to build; so we agreed that enforcing this constraint in Launchpad is unnecessary.
Tests:
This branch adjusts various tests that already checked bzip2 support to check xz support as well. I ran 'testr run -- -t archiveuploader'.
QA plan:
Convert an Ubuntu-specific package to tar.xz. We could easily do this with some Ubuntu-native package such as ubiquity.
It's very close to needing generalisation of the compression type checking, but I think duplication is OK until next time.