[PATCH] Recommend a regex that gives flexibility in upstream archive formats

Paul Wise pabs at debian.org
Thu Nov 22 14:06:44 UTC 2012


---
 scripts/uscan.1 |    3 +++
 1 file changed, 3 insertions(+)

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.
-- 
1.7.10.4




More information about the devscripts-devel mailing list