Package: libconfig
Version: 1.5-0.2
Tags: patch

The watch file for libconfig fails to report all upstream versions. This
is because they have moved to a github repo. Attached is a patch to fix
this. Output from uscan is below.

Uscan with current watch file:
/libconfig-1.5$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   http://www.hyperrealm.com/libconfig/index.html
libconfig-(.+)\.tar\.gz
-- Found the following matching hrefs:
     libconfig-1.5.tar.gz (1.5)
Newest version on remote site is 1.5, local version is 1.5
 => Package is up to date
-- Scan finished

Uscan with change:
/libconfig-1.5$ uscan --report --verbose
-- Scanning for watchfiles in .
-- Found watchfile in ./debian
-- In debian/watch, processing watchfile line:
   https://github.com/hyperrealm/libconfig/releases .*v(\d.*)\.tar\.gz
-- Found the following matching hrefs:
     /hyperrealm/libconfig/archive/v1.6.tar.gz (1.6)
     /hyperrealm/libconfig/archive/v1.5.tar.gz (1.5)
Newest version on remote site is 1.6, local version is 1.5
 => Newer version available from
    https://github.com/hyperrealm/libconfig/archive/v1.6.tar.gz
-- Scan finished

-- 
Nicholas Luedtke
HPE Linux, Hewlett-Packard Enterprise
diff -urN /libconfig-1.5/debian/watch /libconfig-1.5/debian/watch
--- /libconfig-1.5/debian/watch	2016-05-31 13:03:47.450249132 -0600
+++ /libconfig-1.5/debian/watch	2016-05-31 13:07:01.654247699 -0600
@@ -1,5 +1,3 @@
 version=3
 
-# Full-site-with-pattern  [Version  [Action]]
-http://www.hyperrealm.com/libconfig/index.html \
-	libconfig-(.+)\.tar\.gz
+https://github.com/hyperrealm/libconfig/releases .*v(\d.*)\.tar\.gz

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to