summaryrefslogtreecommitdiffstats
path: root/debian/watch
blob: 83dee7347ce2a992c88d30adda6fe0d7385b52fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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*)