Hi Xiyue,
On Sun, 08 Sep 2024 16:32:18 -0700 Xiyue Deng wrote:
> 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.
I reverted your watch file to match the lines in your bug report. The
download works file, although the tarball is compressed (in xz format,
by default).
uscan defaults to gzip compression if the Debian source repository is
"1.0" or undefined.
If this is still an issue, was your intention that uscan leave the
upstream tarball uncompressed?
Hugh