Your updated version here fails too.  When you look at the verbose data, it 
catches a million quotes and still fails.

I rewrote the debian/watch file and fixed it in Salsa using a variation of 
https://wiki.debian.org/debian/watch#GitLab and its updated April 2024 
patterns, specifically to catch the tar.gz.  Evaluating the verbose output with 
the download option indicates it works AND properly detects the single URL.

Note that your uscan is also throwing warnings about "pgp" items being 
available but that isn't actually a present key in the environment.

Running the download as you did seems to work.  However that PGP warning is 
false.  Too bad we can't suppress that.
________________________________
From: Pkg-privacy-maintainers 
<pkg-privacy-maintainers-bounces+teward=ubuntu....@alioth-lists.debian.net> on 
behalf of Patrice Duroux <patrice.dur...@gmail.com>
Sent: Wednesday, August 28, 2024 12:05 PM
To: 1079...@bugs.debian.org <1079...@bugs.debian.org>
Subject: [Pkg-privacy-maintainers] Bug#1079918: Patch does not work!

Strange, because in general I test everything in a git clone before submitting.
I think that your recent change is wrong also:

$ more debian/watch
version=4
opts="searchmode=plain" \
https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/tags?sort=updated_desc
 .*/v?\d[\d.]+/@PACKAGE@-v?(\d\S*)\.tar\.gz

$ uscan --download-current-version
Newest version of torbrowser-launcher on remote site is 0.3.7, specified 
download version is 0.3.7
uscan warn: Possible OpenPGP signature found at:
   https://gitlab.torproject.org/tpo/applications/torbrowser-launcher/<div 
class="js-source-code-dropdown" data-css-class="" data-download-artifacts="[]" 
data-download-links="[{&quot;text&quot;:&quot;zip&quot;,&quot;path&quot;:&quot;/tpo/applications/torbrowser-launcher/-/archive/v0.3.7/torbrowser-launcher-v0.3.7.zip&quot;},{&quot;text&quot;:&quot;tar.gz&quot;,&quot;path&quot;:&quot;/tpo/applications/torbrowser-launcher/-/archive/v0.3.7/torbrowser-launcher-v0.3.7.tar.gz.asc
 * Add opts=pgpsigurlmangle=s/$/.asc/ or opts=pgpmode=auto to debian/watch
 * Add debian/upstream/signing-key.asc.
 See uscan(1) for more details
uscan error: Unknown compression used in ../torbrowser-launcher-v0.3.7.tar.gz


because the match .*/ is too wide and that is why I tried to restrict it.

Regards,
Patrice

_______________________________________________
Pkg-privacy-maintainers mailing list
pkg-privacy-maintain...@alioth-lists.debian.net
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/pkg-privacy-maintainers

Reply via email to