tags 814363 + patch

On 02/11/2016 01:07 AM, Ritesh Raj Sarraf wrote:
> On Wed, 2016-02-10 at 13:09 -0700, Nicholas Luedtke wrote:
>> Package: multipath-tools
>> Version: 0.5.0+git1.656f8865-1
>>
>>
>> The watch file is broken.  Below is the error message received when
>> using the watch file. Seems like the page is no longer accessible?
>>
>> -- Scanning for watchfiles in .
>> -- Found watchfile in ./debian
>> -- In debian/watch, processing watchfile line:
>>
>> http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-([\
>> d\.]*)\.tar\.bz2
>> uscan warning: In watchfile debian/watch, reading webpage
>>   http://christophe.varoqui.free.fr/multipath-tools/ failed: 403
>> Forbidden
>> -- Scan finished
> 
> I actually had a more hilarious result looking at the upstream link,
> after your bug report.
> 
> “Your requested URL has been blocked as per the directions received
> from Department of Telecommunications, Government of India. Please
> contact administrator for more information.”
> 
> 
> Joke aside, in case of multipath-tools, it shouldn't matter. The
> upstream releases are very slow. And these days most of the management
> work is done in the git repo.
> 
> If you want you can send me a patch tracking the git repo's tags.
> 
> 

Thats an even better result for sure!

Attached is a patch for the watch file, but using uscan I think there is
a bug which processes '-' before '+' in version comparison...

-- 
Nicholas Luedtke
Linux for HP Helion OpenStack, Hewlett-Packard Enterprise
diff -urN multipath-tools-0.5.0+git1.656f8865/debian/watch multipath-tools-0.5.0+git1.656f8865/debian/watch
--- multipath-tools-0.5.0+git1.656f8865/debian/watch	2016-02-17 10:33:02.600866345 -0700
+++ multipath-tools-0.5.0+git1.656f8865/debian/watch	2016-02-17 10:33:42.684866049 -0700
@@ -1,3 +1,4 @@
 # format version number, currently 3; this line is compulsory!
 version=3
-http://christophe.varoqui.free.fr/multipath-tools/multipath-tools-([\d\.]*)\.tar\.bz2
+opts=uversionmangle=s/%2b/+/g \
+    http://anonscm.debian.org/cgit/pkg-lvm/multipath-tools.git/refs .*debian/(.+)

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to