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


On Sun, 08 Sep 2024 16:32:18 -0700 Xiyue Deng <manp...@gmail.com> wrote:
> Package: devscripts
> Version: 2.23.7
> Severity: wishlist
>
> 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
> <https://elpa.gnu.org/packages/oauth2-0.17.tar.sig%3Cbr%3E%3E> |  * 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.
>
>
> -- System Information:
> Debian Release: 12.7
>   APT prefers stable-updates
>   APT policy: (500, 'stable-updates'), (500, 'stable-security'), (500,
'stable')
> Architecture: amd64 (x86_64)
>
> Kernel: Linux 6.1.0-25-amd64 (SMP w/16 CPU threads; PREEMPT)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE
not set
> Shell: /bin/sh linked to /usr/bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
>
> Versions of packages devscripts depends on:
> ii  dpkg-dev              1.21.22
> ii  fakeroot              1.31-1.2
> ii  file                  1:5.44-3
> ii  gnupg                 2.2.40-1.1
> ii  gpgv                  2.2.40-1.1
> ii  libc6                 2.36-9+deb12u8
> ii  libfile-dirlist-perl  0.05-3
> ii  libfile-homedir-perl  1.006-2
> ii  libfile-touch-perl    0.12-2
> ii  libfile-which-perl    1.27-2
> ii  libipc-run-perl       20220807.0-1
> ii  libmoo-perl           2.005005-1
> ii  libwww-perl           6.68-1
> ii  patchutils            0.4.2-1
> ii  perl                  5.36.0-7+deb12u1
> ii  python3               3.11.2-1+b1

Reply via email to