Source: libva-utils
Version: 2.12.0+ds1-1
Severity: minor

Dear Maintainer,

The d/watch file use the tags line to generate a release download link, but not
all tags are (strangely) releases, for instance tag 1.18.0 or the current tag
2.20.0 is not working (yet).

#uscan --download
Newest version of libva-utils on remote site is 2.20.0, local version is
2.12.0+ds1
 => Newer package available from:
        => https://github.com/intel/libva-utils/releases/download/2.20.0/libva-
utils-2.20.0.tar.bz2
uscan warn: In directory ., downloading
  https://github.com/intel/libva-utils/releases/download/2.20.0/libva-
utils-2.20.0.tar.bz2 failed: 404 Not Found
uscan warn: No upstream tarball downloaded. No further processing with
mk_origtargz ...

Why not downloading the source under tags?

Regards,
Patrice


-- 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.5.0-1-amd64 (SMP w/12 CPU threads; PREEMPT)
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
diff --git a/debian/watch b/debian/watch
index 4ac3094..5353a2a 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,7 +1,4 @@
 version=4
-opts="\
-    compression=bz2, \
-    dversionmangle=s/\+(?:git)?[0-9]*(?:\+g[0-9a-f]*)//, \
-    
downloadurlmangle=s#/tag/#/download/#;s#(@ANY_VERSION@)$#$1/@PACKAGE@-$2.tar.bz2#,
 \
-    filenamemangle=s#@ANY_VERSION@#@PACKAGE@-$1.tar.bz2#" \
-  https://github.com/intel/@PACKAGE@/tags .*/releases/tag/@ANY_VERSION@
+opts="filenamemangle=s%(?:.*?)?v?@ANY_VERSION@(@ARCHIVE_EXT@)%@PACKAGE@-$1$2%" 
\
+    https://github.com/intel/libva-utils/tags \
+    (?:.*?/)?v?@ANY_VERSION@@ARCHIVE_EXT@

Reply via email to