Package: devscripts
Version: 2.25.19ubuntu2
Severity: normal

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?
   * What outcome did you expect instead?

*** End of the template - remove these template lines ***

When using the following debian/watch file:

--- debian/watch --
Version: 5

Template: Github
Owner: prusa3d
Project: prusaslicer
Release-Only: yes
---

`uscan --verbose --no-download` demonstrates that it checks
https://api.github.com/repos/prusa3d/prusaslicer/git/matching-refs/release/,
which returns no results (an empty array):

--- uscan output ---
% uscan --verbose --no-download
...
uscan info: Requesting URL:
   https://api.github.com/repos/prusa3d/prusaslicer/git/matching-refs/release/
uscan warn: In debian/watch no matching files for watch source
  https://api.github.com/repos/prusa3d/prusaslicer/git/matching-refs/release/
uscan info: Scan finished

   https://api.github.com/repos/prusa3d/prusaslicer/git/matching-refs/release/
...
---

This is wrong, because according to
https://docs.github.com/en/rest/git/refs?apiVersion=2022-11-28, this
actually means it's trying to search for git refs matching
`refs/release/*`, which don't exist.

Instead, the URL to search should be
https://api.github.com/repos/prusa3d/prusaslicer/releases, which
actually lists the releases for the project, along with tarball links.


-- Package-specific info:

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

--- ~/.devscripts ---
DEBFULLNAME="Chow Loong Jin <[email protected]>"
DEBSIGN_KEYID=0xFBD5225B588752A1
USCAN_SYMLINK=rename

-- System Information:
Debian Release: trixie/sid
  APT prefers plucky-updates
  APT policy: (500, 'plucky-updates'), (500, 'plucky-security'), (500, 'plucky')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 6.14.0-28-generic (SMP w/12 CPU threads; PREEMPT)
Kernel taint flags: TAINT_CPU_OUT_OF_SPEC
Locale: LANG=en_SG.UTF-8, LC_CTYPE=en_SG.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_SG:en
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.22.18ubuntu2
ii  file                  1:5.45-3build1
ii  gpg                   2.4.4-2ubuntu23.1
ii  gpg-agent             2.4.4-2ubuntu23.1
ii  gpgv                  2.4.4-2ubuntu23.1
ii  libdpkg-perl          1.22.18ubuntu2
ii  libfile-dirlist-perl  0.05-3
ii  libfile-homedir-perl  1.006-2
ii  libfile-touch-perl    0.12-2
ii  libio-string-perl     1.08-4
ii  libmoo-perl           2.005005-1
ii  libwww-perl           6.78-1
ii  patchutils            0.4.2-1build3
ii  perl                  5.40.1-2ubuntu0.2
ii  python3               3.13.3-1
ii  sensible-utils        0.0.24
ii  wdiff                 1.2.2-8

Versions of packages devscripts recommends:
ii  apt                        3.0.0
ii  curl                       8.12.1-3ubuntu1
ii  dctrl-tools                2.24-3build3
ii  dput                       1.2.4ubuntu2
ii  libdistro-info-perl        1.13
ii  libencode-locale-perl      1.05-3
ii  libjson-perl               4.10000-1
ii  libstring-shellquote-perl  1.04-3
ii  liburi-perl                5.30-1
ii  licensecheck               3.3.9-1ubuntu1
ii  lintian                    2.121.2ubuntu1.1
ii  lzip                       1.25-3
ii  man-db                     2.13.0-1
ii  patch                      2.7.6-7build3
ii  python3-apt                3.0.0
ii  python3-debian             1.0.1ubuntu1
ii  python3-magic              2:0.4.27-3
ii  python3-requests           2.32.3+dfsg-4ubuntu1.1
ii  python3-unidiff            0.7.5-2
ii  python3-xdg                0.28-2
ii  strace                     6.14-0ubuntu1
ii  unzip                      6.0-28ubuntu6
ii  wget                       1.24.5-2ubuntu1
ii  xz-utils                   5.6.4-1ubuntu1

Versions of packages devscripts suggests:
ii  adequate                                  0.17.5
ii  at                                        3.2.5-2.1ubuntu4
ii  autopkgtest                               5.49
pn  bls-standalone                            <none>
ii  bsd-mailx [mailx]                         8.1.2-0.20220412cvs-1build1
ii  build-essential                           12.12ubuntu1
pn  check-all-the-things                      <none>
ii  debhelper                                 13.24.1ubuntu2
ii  debian-keyring                            2025.03.23
pn  debian-tag2upload-keyring                 <none>
pn  diffoscope                                <none>
pn  disorderfs                                <none>
pn  docker.io                                 <none>
pn  dose-extra                                <none>
pn  duck                                      <none>
pn  elpa-devscripts                           <none>
ii  equivs                                    2.3.1
pn  faketime                                  <none>
pn  git-debpush                               <none>
ii  gnuplot                                   6.0.2+dfsg1-1
ii  gnuplot-qt [gnuplot]                      6.0.2+dfsg1-1
pn  how-can-i-help                            <none>
ii  libauthen-sasl-perl                       2.1700-1
pn  libdbd-pg-perl                            <none>
ii  libgitlab-api-v4-perl                     0.27-1
ii  liblwp-protocol-https-perl                6.14-1
pn  libmetacpan-client-perl                   <none>
ii  libsoap-lite-perl                         1.27-3
ii  libterm-size-perl                         0.211-1build6
ii  libtimedate-perl                          2.3300-2
ii  libyaml-libyaml-perl                      0.903.0+ds-1
pn  mmdebstrap                                <none>
ii  mutt                                      2.2.13-1
ii  openssh-client [ssh-client]               1:9.9p1-3ubuntu3.1
ii  piuparts                                  1.6.0
ii  postgresql-client-17 [postgresql-client]  17.5-0ubuntu0.25.04.1
pn  pristine-lfs                              <none>
ii  pristine-tar                              1.50+nmu2build1
ii  python3-debianbts                         4.1.1
ii  python3-pycurl                            7.45.4-1build1
ii  quilt                                     0.68-1
pn  ratt                                      <none>
pn  reprotest                                 <none>
pn  svn-buildpackage                          <none>
ii  w3m                                       0.5.3+git20230121-2.1

-- no debconf information

-- 
Kind regards,
Loong Jin

Attachment: signature.asc
Description: PGP signature

Reply via email to