On Thu, 18 Sep 2025 11:58:56 +0800 Chow Loong Jin <[email protected]> wrote: > 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.
I ran into the same problem with rdma-core (while trying to convert it to version 5) and this issue can be seen in the wild, for example ndctl. -- Benjamin Drung Debian & Ubuntu Developer

