Source: collectd
Version: [patch] update debian/watch
Severity: minor
Tags: patch

The naming scheme for github tags seems to differ from collectd.org.

diff --git a/debian/watch b/debian/watch
index 5ba76a4..a07f606 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,2 @@
 version=3
-https://github.com/collectd/collectd/tags 
/collectd/collectd/archive/stable-([0-9.-]+).tar.gz
+https://github.com/collectd/collectd/tags 
/collectd/collectd/archive/(collectd|stable)-([0-9.-]+).tar.gz

% uscan -v
uscan info: uscan (version 2.19.5+deb10u1) See uscan(1) for help
uscan info: Scan watch files in .
uscan info: Check debian/watch and debian/changelog in .
uscan info: package="collectd" version="5.11.0-3" (as seen in debian/changelog)
uscan info: package="collectd" version="5.11.0" (no epoch/revision)
uscan info: ./debian/changelog sets package="collectd" version="5.11.0"
uscan info: Process watch file at: debian/watch
    package = collectd
    version = 5.11.0
    pkg_dir = .
uscan info: Last orig.tar.* tarball version (from debian/changelog): 5.11.0
uscan info: Last orig.tar.* tarball version (dversionmangled): 5.11.0
uscan info: Requesting URL:
   https://github.com/collectd/collectd/tags
uscan info: Matching pattern:
   
(?:(?:https://github.com)?\/collectd\/collectd\/tags)?/collectd/collectd/archive/(collectd|stable)-([0-9.-]+).tar.gz
uscan info: Found the following matching hrefs on the web page (newest first):
   /collectd/collectd/archive/collectd-5.11.0.tar.gz (collectd.5.11.0) 
index=collectd.5.11.0-1
   /collectd/collectd/archive/collectd-5.10.0.tar.gz (collectd.5.10.0) 
index=collectd.5.10.0-1
   /collectd/collectd/archive/collectd-5.9.2.tar.gz (collectd.5.9.2) 
index=collectd.5.9.2-1
   /collectd/collectd/archive/collectd-5.9.1.tar.gz (collectd.5.9.1) 
index=collectd.5.9.1-1
   /collectd/collectd/archive/collectd-5.9.0.tar.gz (collectd.5.9.0) 
index=collectd.5.9.0-1
   /collectd/collectd/archive/collectd-5.8.1.tar.gz (collectd.5.8.1) 
index=collectd.5.8.1-1
   /collectd/collectd/archive/collectd-5.8.0.tar.gz (collectd.5.8.0) 
index=collectd.5.8.0-1
   /collectd/collectd/archive/collectd-5.6.3.tar.gz (collectd.5.6.3) 
index=collectd.5.6.3-1
   /collectd/collectd/archive/collectd-2.0.1.tar.gz (collectd.2.0.1) 
index=collectd.2.0.1-1
uscan info: Looking at $base = https://github.com/collectd/collectd/tags with
    $filepattern = 
/collectd/collectd/archive/(collectd|stable)-([0-9.-]+).tar.gz found
    $newfile     = /collectd/collectd/archive/collectd-5.11.0.tar.gz
    $newversion  = collectd.5.11.0 which is newer than
    $lastversion = 5.11.0
uscan info: Matching target for downloadurlmangle: 
https://github.com/collectd/collectd/archive/collectd-5.11.0.tar.gz
uscan info: Upstream URL(+tag) to download is identified as    
https://github.com/collectd/collectd/archive/collectd-5.11.0.tar.gz
uscan info: Filename (filenamemangled) for downloaded file: 
collectd-5.11.0.tar.gz
uscan: Newest version of collectd on remote site is collectd.5.11.0, local 
version is 5.11.0
uscan:    => Newer package available from
      https://github.com/collectd/collectd/archive/collectd-5.11.0.tar.gz
uscan info: Downloading upstream package: collectd-5.11.0.tar.gz
uscan info: Requesting URL:
   https://github.com/collectd/collectd/archive/collectd-5.11.0.tar.gz
uscan info: Successfully downloaded package: collectd-5.11.0.tar.gz
uscan info: Start checking for common possible upstream OpenPGP signature files
uscan info: End checking for common possible upstream OpenPGP signature files
uscan info: Missing OpenPGP signature.
uscan info: New orig.tar.* tarball version (oversionmangled): collectd.5.11.0
uscan info: Launch mk-origtargz with options:
   --package collectd --version collectd.5.11.0 --compression default 
--directory .. --copyright-file debian/copyright ../collectd-5.11.0.tar.gz
Successfully symlinked ../collectd-5.11.0.tar.gz to 
../collectd_collectd.5.11.0.orig.tar.gz.
uscan info: New orig.tar.* tarball version (after mk-origtargz): collectd.5.11.0
uscan info: Scan finished

-- System Information:
Debian Release: 10.4
  APT prefers stable
  APT policy: (990, 'stable'), (500, 'stable-debug')
Architecture: amd64 (x86_64)

Kernel: Linux 4.19.0-9-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_AU.UTF-8, LC_CTYPE=en_AU.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_AU:en (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)


--

Reply via email to