Bug#1113722: debian/watch version 5
On 02/09/25 at 06:39 +0200, Yadd wrote:
> On 9/1/25 22:09, Lucas Nussbaum wrote:
> > On 01/09/25 at 10:24 -0400, Jeremy BÍcha wrote:
> > > On Mon, Aug 18, 2025 at 4:25 PM Lucas Nussbaum <lucas@debian.org> wrote:
> > > > I updated the vendorized copy of devscripts in UDD to version 2.25.18,
> > > > and then forced a refresh of version:5 packages.
> > > > Everything works fine.
> > > >
> > > > udd=> select source, version, errors, warnings, status from upstream where watch_file ~* 'version: 5';
> > > > source | version | errors | warnings | status
> > > > ----------------+---------------------------+--------+----------+------------------------------
> > > > node-chalk | 5.6.0-1 | | | up to date
> > > > rust-async-std | 1.13.2-1 | | | up to date
> > > > safetensors | 0.6.2-1 | | | up to date
> > > > rust-ureq | 3.1.0+~0.5.0-1 | | | up to date
> > > > python-openai | 1.99.9-1 | | | newer package available
> > > > rocm-llvm | 6.4.3+dfsg-1~exp3 | | | up to date
> > > > xgboost | 3.0.4-1 | | | up to date
> > > > gloo | 0.0~git20231202.5354032-5 | | | newer package available
> > > > gloo-cuda | 0.0~git20231202.5354032-5 | | | newer package available
> > > > node-redis | 4.6.14+~1.1.2-2 | | | only older package available
> > > > (10 rows)
> > >
> > > I filed https://bugs.debian.org/1113722 because the qa.debian.org
> > > watch service isn't working with Version: 5 watch files.
> >
> > Quoting the bug report:
> >
> > On 01/09/25 at 10:12 -0400, Jeremy BÍcha wrote:
> > > https://qa.debian.org/cgi-bin/watch?pkg=rednotebook says "uscan
> > > returned an empty output" with a Version: 5 watchfile.
> >
> > https://qa.debian.org/cgi-bin/watch is a frontend to UDD. The same
> > result can be viewed with:
> >
> > udd=> select * from upstream where source='rednotebook';
> >
> > And according to UDD there are a few other that are failing:
> > udd=> select source, version, errors, warnings, status from upstream where watch_file ~* 'version: 5' and errors ~ 'empty output';
> > source | version | errors | warnings | status
> > --------------+-----------+--------------------------------+----------+--------
> > mosquitto | 2.0.22-3 | uscan returned an empty output | | error
> > mousai | 0.7.9-1 | uscan returned an empty output | | error
> > isc-kea | 2.6.4-1 | uscan returned an empty output | | error
> > rednotebook | 2.41+ds-2 | uscan returned an empty output | | error
> > ddcui | 0.6.0-2 | uscan returned an empty output | | error
> > ddcutil | 2.2.1-2 | uscan returned an empty output | | error
> > buildtorrent | 0.9.1-2 | uscan returned an empty output | | error
> > chrony | 4.8-1 | uscan returned an empty output | | error
> > (8 rows)
> >
> > @Yadd: is that a known issue?
>
> Hi,
>
> no I don't know such issue. Can you give me the command line to help
> reproduce ?
I guess it's caused by that:
On 01/09/25 at 23:09 +0200, Andrea Pappacoda wrote:
> > Is a blank line needed after the first line with "Version: 5" in it?
> >
>
> Yes, the version has to live in its own paragraph. See the manpage debian-watch, “Format of the Watch file, version 5”.
> > @Yadd: as a side know, it would be better if uscan displayed a better
> > error message when the template is not found, for example suggesting to
> > upgrade devscripts. Currently it shows:
> > Unknown template "Gitlab": Can't locate Devscripts/Uscan/Templates/Gitlab.pm in @INC (you may need to install the Devscripts::Uscan::Templates::Gitlab module) (@INC entries checked: /srv/udd.debian.org/udd/vendor/devscripts/lib /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.40.1 /usr/local/share/perl/5.40.1 /usr/lib/x86_64-linux-gnu/perl5/5.40 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl-base /usr/lib/x86_64-linux-gnu/perl/5.40 /usr/share/perl/5.40 /usr/local/lib/site_perl) at (eval 89) line 1.
> > (example: rust-roadmap/0.7.0-5)
> >
> > Lucas
>
> OK, will do this. Template "Gitlab" was added in 2.25.19
Ah! I missed that upload. I just updated the vendorized copy of
devscripts in UDD and triggered a re-check of all version:5 packages.
For reference, the version of the vendorized copy can be seen at
https://salsa.debian.org/qa/udd/-/blob/master/vendor/devscripts/debian/changelog?ref_type=heads
And triggering a recheck is:
sudo -u udd psql udd -c "update upstream set last_check = null where watch_file ~* 'version: 5'"
Lucas
Reply to: