- Package:
- devscripts
- Source:
- devscripts
- Description:
- scripts to make the life of a Debian Package maintainer easier
- Submitter:
- Xiyue Deng
- Date:
- 2024-09-09 08:57:02 UTC
- Severity:
- normal
Dear Maintainer, uscan doesn't seem to support archive without compression, e.g. "*.tar" archive. For example, archives in GNU ELPA (Emacs Lisp Package Archive) uses uncompressed tar files for release. Given a watch file like below ,---- | version=4 | https://elpa.gnu.org/packages/oauth2.html \ | oauth2@ANY_VERSION@\.tar.* debian `---- Running "uscan --force-download" results in the following error: ,---- | $ uscan --force-download | uscan warn: Possible OpenPGP signature found at: | https://elpa.gnu.org/packages/oauth2-0.17.tar.sig | * Add opts=pgpsigurlmangle=s/$/.sig/ or opts=pgpmode=auto to debian/watch | * Add debian/upstream/signing-key.asc. | See uscan(1) for more details | uscan: error: tar is not a supported compression `---- It would be great if uscan can support uncompressed archives.
Hi, And it seems to be a consequence of debian/source/format (= 3.0 (quilt)) because without it here is the result: $ uscan --force-download uscan warn: Possible OpenPGP signature found at: https://elpa.gnu.org/packages/oauth2-0.17.tar.sig * Add opts=pgpsigurlmangle=s/$/.sig/ or opts=pgpmode=auto to debian/watch * Add debian/upstream/signing-key.asc. See uscan(1) for more details uscan warn: Missing debian/source/format, switch compression to gzip Successfully repacked ../oauth2-0.17.tar as ../emacs-oauth2_0.17.orig.tar.gz. $ tar tf ../emacs-oauth2_0.17.orig.tar.gz oauth2-0.17/ oauth2-0.17/oauth2.el oauth2-0.17/NEWS oauth2-0.17/oauth2-pkg.el $ tar tf ../oauth2-0.17.tar oauth2-0.17/ oauth2-0.17/oauth2.el oauth2-0.17/NEWS oauth2-0.17/oauth2-pkg.el Patrice opts=pgpsigurlmangle=s/$/.sig/ or opts=pgpmode=auto to debian/watch 'stable') not set