[osrm] 05/12: Update watch file for GitHub repo move, add mangling.
Sebastiaan Couwenberg
sebastic at moszumanska.debian.org
Sat Apr 4 19:22:33 UTC 2015
This is an automated email from the git hooks/post-receive script.
sebastic pushed a commit to branch master
in repository osrm.
commit 9a6376f111235c26e32aff6563704476a24e6ca9
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date: Sat Apr 4 18:39:43 2015 +0200
Update watch file for GitHub repo move, add mangling.
---
debian/changelog | 1 +
debian/watch | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index a86ad1a..b21c8f9 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -10,5 +10,6 @@ osrm (4.5.0-1) UNRELEASED; urgency=medium
* Add gbp.conf to use pristine-tar by default.
* Update Vcs-Browser URL to use cgit instead of gitweb.
* Use stand-alone license paragraph in copyright file.
+ * Update watch file for GitHub repo move, add mangling.
-- Christopher Baines <mail at cbaines.net> Sat, 04 Apr 2015 13:07:57 +0100
diff --git a/debian/watch b/debian/watch
index e21aec5..47539f6 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,6 @@
version=3
-
-https://github.com/DennisOSRM/Project-OSRM/releases .*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
-# - when using tags
-# https://github.com/#GITHUBUSER#/#PACKAGE#/tags .*/#PREFIX#(\d.*)\.(?:tgz|tbz2|txz|tar\.(?:gz|bz2|xz))
-# Remark: frequently you can do s/#PREFIX#/v?/ since 'v' or nothing is quite common but there are other prefixes possible
+opts=\
+dversionmangle=s/\+(debian|dfsg|ds|deb)(\.\d+)?$//,\
+filenamemangle=s/.*\/v?([\d\.-]+)\.(tar(?:\.gz|\.bz2)?|tgz)/osrm-backend-$1.$2/ \
+https://github.com/Project-OSRM/osrm-backend/releases \
+.*/archive/v(\d[\d.-]+)\.(?:tar(?:\.gz|\.bz2)?|tgz)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/osrm.git
More information about the Pkg-grass-devel
mailing list