summaryrefslogtreecommitdiff
path: root/debian/watch
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhsoting.net>2018-03-21 21:22:19 +0100
committerJörg Frings-Fürst <debian@jff-webhsoting.net>2018-03-21 21:22:19 +0100
commit04000f00b443808e2e90783845aaf419dc7d60a5 (patch)
tree9d8df45066aaf15e37ca9a4f2b6c31b6686e484d /debian/watch
parent12af0f6afae11029a608e33b98047aea4e82da7d (diff)
rewrite d/watch for github
Diffstat (limited to 'debian/watch')
-rw-r--r--debian/watch16
1 files changed, 14 insertions, 2 deletions
diff --git a/debian/watch b/debian/watch
index 74e6e7b..00bf5ff 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,14 @@
-version=3
-http://sf.net/uriparser/uriparser-(.*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+version=4
+#http://sf.net/uriparser/uriparser-(.*)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \
+# https://github.com/uriparser/uriparser/tags (\d\S+)\.tar\.gz
+
+#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \
+# https://github.com/uriparser/uriparser/tags .*/?(\d{1}\.\d.\d)\.tar\.gz
+https://github.com/uriparser/uriparser/releases /uriparser/uriparser/archive/(.+)\.tar\.gz
+
+#opts=filenamemangle=s/.+\/v?(\d\S+)\.tar\.gz/<project>-$1\.tar\.gz/ \
+# https://github.com/<user>/<project>/tags .*/?(\d{1}\.\d.\d)\.tar\.gz
+
+#opts=filenamemangle=s/.+\/?(\d\S+)\.tar\.gz/uriparser-$1\.tar\.gz/ \
+# https://github.com/uriparser/uriparser/tags .*/?(\d\S+)\.tar\.gz