Package: devscripts
Version: 2.23.5
Severity: wishlist
File: /usr/bin/uscan

Dear Maintainer,

Could it be possible to do the following:

version=4
opts="uversionmangle=s/-rc/~rc/;s/-alpha/~alpha/;s/-beta/~beta/,
downloadurlmangle=s%archive/refs/tags/(v?@ANY_VERSION@)(@ARCHIVE_EXT@)%releases/download/$1/SuperTux-$1-Source$2%,
filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" \
https://github.com/SuperTux/@PACKAGE@/tags
(?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@

(see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1038393#15)
or am I doing it wrong?

$ uscan --report-status
uscan info: uscan (version 2.23.5) See uscan(1) for help
[...]

Got:
uscan info: Matching target for downloadurlmangle:
https://github.com/SuperTux/supertux/archive/refs/tags/v0.6.3.tar.gz
uscan info: Upstream URL(+tag) to download is identified as
https://github.com/SuperTux/supertux/releases/download/v0.6.3/SuperTux-v0.6.3-Source0.6.3
[...]

Expected:
uscan info: Matching target for downloadurlmangle:
https://github.com/SuperTux/supertux/archive/refs/tags/v0.6.3.tar.gz
uscan info: Upstream URL(+tag) to download is identified as
https://github.com/SuperTux/supertux/releases/download/v0.6.3/SuperTux-v0.6.3-Source.tar.gz
[...]

Thanks,
Patrice


-- Package-specific info:

--- /etc/devscripts.conf ---
Empty.

--- ~/.devscripts ---
export DEBFULLNAME="Patrice Duroux"
export DEBEMAIL="patrice.dur...@gmail.com"

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable-debug
  APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 
'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.3.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_WARN
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.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  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.70-1
ii  patchutils            0.4.2-1
ii  perl                  5.36.0-7
ii  python3               3.11.2-1+b1
ii  sensible-utils        0.0.17+nmu1
ii  wdiff                 1.2.2-5

Versions of packages devscripts recommends:
ii  apt                         2.6.1
ii  curl                        7.88.1-10
ii  dctrl-tools                 2.24-3+b1
ii  debian-keyring              2023.05.26
pn  dput | dupload              <none>
ii  equivs                      2.3.1
ii  libdistro-info-perl         1.5
ii  libdpkg-perl                1.21.22
ii  libencode-locale-perl       1.05-3
ii  libgit-wrapper-perl         0.048-2
ii  libgitlab-api-v4-perl       0.27-1
ii  liblist-compare-perl        0.55-2
ii  liblwp-protocol-https-perl  6.10-1
ii  libsoap-lite-perl           1.27-3
ii  libstring-shellquote-perl   1.04-3
ii  libtry-tiny-perl            0.31-2
ii  liburi-perl                 5.19-1
ii  licensecheck                3.3.5-1
ii  lintian                     2.116.3
ii  man-db                      2.11.2-2
ii  patch                       2.7.6-7
ii  pristine-tar                1.50
ii  python3-apt                 2.6.0
ii  python3-debian              0.1.49
ii  python3-magic               2:0.4.26-3
ii  python3-requests            2.28.1+dfsg-1
ii  python3-unidiff             0.7.3-1
ii  python3-xdg                 0.28-2
ii  strace                      6.1-0.1
ii  unzip                       6.0-28
ii  wget                        1.21.3-1+b2
ii  xz-utils                    5.4.1-0.2

Versions of packages devscripts suggests:
ii  adequate                                  0.15.7
ii  at                                        3.2.5-1+b1
ii  autopkgtest                               5.29
pn  bls-standalone                            <none>
ii  build-essential                           12.9
pn  check-all-the-things                      <none>
pn  cvs-buildpackage                          <none>
ii  debhelper                                 13.11.4
pn  diffoscope                                <none>
pn  disorderfs                                <none>
pn  dose-extra                                <none>
pn  duck                                      <none>
pn  elpa-devscripts                           <none>
pn  faketime                                  <none>
pn  gnuplot                                   <none>
pn  how-can-i-help                            <none>
ii  libauthen-sasl-perl                       2.1600-3
ii  libdbd-pg-perl                            3.16.3-1
ii  libfile-desktopentry-perl                 0.22-3
pn  libterm-size-perl                         <none>
ii  libtimedate-perl                          2.3300-2
pn  libyaml-syck-perl                         <none>
ii  mailutils [mailx]                         1:3.16-1
ii  mmdebstrap                                1.3.6-3
pn  mozilla-devscripts                        <none>
ii  mutt                                      2.2.9-1+b1
ii  openssh-client [ssh-client]               1:9.2p1-2
pn  piuparts                                  <none>
ii  postgresql-client                         15+248
ii  postgresql-client-15 [postgresql-client]  15.3-0+deb12u1
pn  pristine-lfs                              <none>
ii  quilt                                     0.67+really0.66-1
pn  ratt                                      <none>
pn  reprotest                                 <none>
pn  svn-buildpackage                          <none>
pn  w3m                                       <none>

-- no debconf information

Reply via email to