The following commit has been merged in the jessie branch:
commit 026ef970e10236acd31c4506cf99d36a5cf3c4a9
Author: Paul Wise <[email protected]>
Date:   Thu Nov 22 22:06:44 2012 +0800

    Recommend a regex that gives flexibility in upstream archive formats
    
    Signed-off-by: James McCoy <[email protected]>

diff --git a/debian/changelog b/debian/changelog
index b2e51d7..cb282a2 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -17,6 +17,8 @@ devscripts (2.12.6+exp1) UNRELEASED; urgency=low
     + When examining a bash script, indicate the lack of use of bashisms.
     + Access GitHub directly instead of using githubredir.debian.net in
       example GitHub watch URL.
+    + Add an example watch URL that matches the various file extensions used
+      by common archive formats.
 
  -- James McCoy <[email protected]>  Sat, 15 Sep 2012 16:12:16 -0400
 
diff --git a/scripts/uscan.1 b/scripts/uscan.1
index 0047b14..8d01e5c 100644
--- a/scripts/uscan.1
+++ b/scripts/uscan.1
@@ -68,6 +68,9 @@ http://tmrc.mit.edu/mirror/twisted/Twisted/(\\d\\.\\d)/ \\
   Twisted-([\\d\\.]*)\\.tar\\.bz2
 
http://tmrc.mit.edu/mirror/twisted/Twisted/(\\d\\.\\d)/Twisted-([\\d\\.]*)\\.tar\\.bz2
 
+# For maximum flexibility with upstream tarball formats, use this:
+http://example.com/example-(\d[\d\.]*)\\.(?:zip|tgz|tbz2|txz|tar\\.(?:gz|bz2|xz))
+
 # qa.debian.org runs a redirector which allows a simpler form of URL
 # for SourceForge based projects. The format below will automatically
 # be rewritten to use the redirector.

-- 
Git repository for devscripts

_______________________________________________
devscripts-devel mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/devscripts-devel

Reply via email to