[openlayers3] 03/03: Add watchfile
Johan Van de Wauw
johanvdw-guest at moszumanska.debian.org
Thu Dec 25 22:50:42 UTC 2014
This is an automated email from the git hooks/post-receive script.
johanvdw-guest pushed a commit to branch master
in repository openlayers3.
commit 8e00088ccbeafa62bc21c588066931f16b901296
Author: Johan Van de Wauw <johan.vandewauw at gmail.com>
Date: Thu Dec 25 23:47:35 2014 +0100
Add watchfile
---
debian/watch | 26 +++++---------------------
1 file changed, 5 insertions(+), 21 deletions(-)
diff --git a/debian/watch b/debian/watch
index cf7c3cd..b0f4b6f 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,22 +1,6 @@
version=3
-
-# Uncomment to examine a Webpage
-# <Webpage URL> <string match>
-#http://www.example.com/downloads.php openlayers3-(.*)\.tar\.gz
-
-# Uncomment to examine a Webserver directory
-#http://www.example.com/pub/openlayers3-(.*)\.tar\.gz
-
-# Uncommment to examine a FTP server
-#ftp://ftp.example.com/pub/openlayers3-(.*)\.tar\.gz debian uupdate
-
-# Uncomment to find new files on sourceforge
-# http://sf.net/openlayers3/openlayers3-(\d[\d\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
-
-# Uncomment to find new files on GooglePages
-# http://code.google.com/p/openlayers3/downloads/list?can=1 \
-# .*/openlayers3-([-.\d]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz))|zip)
-
-# if tweaking of source is needed
-# \
-# debian debian/get-orig-source
+opts="dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
+uversionmangle=s/_/./g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha|b|a)[\-\.]?\d*)$/$1~$2/,\
+filenamemangle=s/(?:.*?)?v?(\d[\d\.]*)\.tar\.gz/ol3js-$1.tar.gz/" \
+https://github.com/openlayers/ol3/releases \
+(?:.*/)*(?:rel|v|rasterio|)[\-\_]?(\d[\d\-\.]+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-grass/openlayers3.git
More information about the Pkg-grass-devel
mailing list