[devscripts] 04/06: uscan: Fix Github example in man page
James McCoy
jamessan at debian.org
Wed Jun 3 05:02:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
jamessan pushed a commit to branch master
in repository devscripts.
commit 92686274649ff5f76985e9c92bd28213d0ab50df
Author: James McCoy <jamessan at debian.org>
Date: Sun May 31 21:42:47 2015 -0400
uscan: Fix Github example in man page
Closes: #757194
Signed-off-by: James McCoy <jamessan at debian.org>
---
debian/changelog | 1 +
scripts/uscan.1 | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 51f8dd7..c9ac0c5 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -29,6 +29,7 @@ devscripts (2.15.5) UNRELEASED; urgency=medium
+ Use https to talk to bugs.debian.org
* debuild: Recognize -jauto as a valid option. Based on a patch by Reiner
Herrmann. (Closes: #787276)
+ * uscan: Fix Github example in man page. (Closes: #757194)
[ Dominique Dumont ]
* licensecheck:
diff --git a/scripts/uscan.1 b/scripts/uscan.1
index 0644a9d..6d3e1bd 100644
--- a/scripts/uscan.1
+++ b/scripts/uscan.1
@@ -79,8 +79,8 @@ http://sf.net/audacity/audacity-src-(.+)\e.tar\e.gz
# For GitHub projects you can use the tags or releases page. Since the archive
# URLs use only the version as the name, it is recommended to use a
# filenamemangle to adjust the name of the downloaded file:
-opts="filenamemangle=s/(?:.*\/)?v?(\ed[\ed\e.]*)\e.tar\e.gz/<project>-$1.tar.gz/" \e
- https://github.com/<user>/<project>/tags (?:.*/)?v?(\ed[\ed\e.]*)\e.tar\e.gz
+opts="filenamemangle=s/(?:.*?\/)?v?(\ed[\ed.]*)\e.tar\e.gz/<project>-$1.tar.gz/" \e
+ https://github.com/<user>/<project>/tags (?:.*?/)?v?(\ed[\ed.]*)\e.tar\e.gz
# For Google Code projects you should use the downloads page like this:
https://code.google.com/p/<project>/downloads/list?can=1 \e
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/devscripts.git
More information about the devscripts-devel
mailing list