[libshell-perl] 01/01: debian/watch: Also track development versions

Axel Beckert abe at deuxchevaux.org
Tue Mar 11 18:08:11 UTC 2014


This is an automated email from the git hooks/post-receive script.

abe pushed a commit to branch master
in repository libshell-perl.

commit 743e8963229abd3ee2dc717f084e1b6160bd5537
Author: Axel Beckert <abe at deuxchevaux.org>
Date:   Tue Mar 11 19:07:41 2014 +0100

    debian/watch: Also track development versions
    
    Also check search.cpan.org for that since metacpan.org doesn't show
    development versions.
    
    Add uversionmangle and underscore to metacpan URL anyway as they may
    show development versions in the future, too.
---
 debian/changelog |  4 ++++
 debian/watch     | 12 +++++++++++-
 2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index a1831c9..144ec43 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -7,6 +7,10 @@ libshell-perl (0.72.01-2) UNRELEASED; urgency=low
   [ gregor herrmann ]
   * Strip trailing slash from metacpan URLs.
 
+  [ Axel Beckert ]
+  * debian/watch: Also track development versions, also check
+    search.cpan.org for that.
+
  -- Salvatore Bonaccorso <carnil at debian.org>  Sun, 06 Jan 2013 22:06:40 +0100
 
 libshell-perl (0.72.01-1) unstable; urgency=low
diff --git a/debian/watch b/debian/watch
index 8b6eef7..fbe3eb8 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,12 @@
 version=3
-https://metacpan.org/release/Shell   .*/Shell-v?(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+
+# pkg-perl by default tracks versions at metacpan.org
+opts=uversionmangle=s/_/./ \
+https://metacpan.org/release/Shell   .*/Shell-v?(\d[\d._-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$
+
+# But metacpan.org doesn't show development versions (but may in the
+# future), hence for now we also add search.cpan.org, so we can track
+# them, too. (Can be removed if we don't want to track them anymore
+# somewhen in the future.)
+opts=uversionmangle=s/_/./ \
+http://search.cpan.org/dist/Shell/   .*/Shell-v?(\d[\d._-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz|zip)$

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libshell-perl.git



More information about the Pkg-perl-cvs-commits mailing list