[SCM] cantata/master: Add watch file to flag new versions
stuart at users.alioth.debian.org
stuart at users.alioth.debian.org
Sun Sep 7 14:00:14 UTC 2014
The following commit has been merged in the master branch:
commit 297c13913a8be440531c6de89dbf681ecd336386
Author: Stuart Prescott <stuart at debian.org>
Date: Sun Sep 7 23:06:38 2014 +1000
Add watch file to flag new versions
Google code doesn't permit tarball downloads and the download index can't be
understood by uscan so the watch file doesn't help with downloading the new
version.
diff --git a/debian/watch b/debian/watch
index bd231f0..7182b25 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,6 +1,7 @@
-# Google code no longer offers downloads; no watch file is possible.
+# Google code no longer offers downloads. The purpose of this watch file is
+# only to flag new versions not to download the new source package. The
+# download URL will return a 404 and uscan will stop.
#
-#version=3
-#opts="dversionmangle=s/\.ds1//" \
-# http://code.google.com/p/cantata/downloads/list .*/cantata-(.*)\.tar\.bz2 \
-# debian sh debian/repack
+version=3
+opts=uversionmangle=s#/##g;s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,dversionmangle=s/\.ds1//,downloadurlmangle=s/$/googlecode-makes-life-difficult/ \
+ http://cantata.googlecode.com/svn/release/(\d+\.\d+\..*)
--
cantata packaging
More information about the pkg-multimedia-commits
mailing list