summaryrefslogtreecommitdiffstats
path: root/debian/watch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..83dee73
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,17 @@
+version=3
+
+# This is kind of hacked support to support git tags in gitorious.
+# Since gitorious does not differ between branches and tags inside
+# of the links branches with version like names will also be found.
+# NOTE: 0xFFFF does not yet have such branches
+
+opts=\
+downloadurlmangle=s/\/trees\//\/archive-tarball\//g,\
+filenamemangle=s/^.*\/(\d+[\d\.]+)$/0xffff-$1.tar.gz/\
+ http://gitorious.org/0xffff/0xffff/trees/master /0xffff/0xffff/trees/(\d+[\d\.]+)(-beta\d*)?
+
+opts=\
+downloadurlmangle=s/\/trees\//\/archive-tarball\//g,\
+filenamemangle=s/^.*\/(\d+[\d\.]+)$/0xffff-$1.tar.gz/,\
+uversionmangle=s/-beta(\d+)/~beta$1/ \
+ http://gitorious.org/0xffff/0xffff/trees/master /0xffff/0xffff/trees/(\d+[\d\.]+-beta\d*)