From 04000f00b443808e2e90783845aaf419dc7d60a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 21 Mar 2018 21:22:19 +0100 Subject: rewrite d/watch for github --- debian/watch | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'debian/watch') 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/-$1\.tar\.gz/ \ +# https://github.com///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 -- cgit v1.2.3 From 0ca227c7ff3be80a64807df27ffe7066cf447e09 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Wed, 21 Mar 2018 22:10:36 +0100 Subject: rewrite d/watch for github --- debian/watch | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) (limited to 'debian/watch') diff --git a/debian/watch b/debian/watch index 00bf5ff..5641bc5 100644 --- a/debian/watch +++ b/debian/watch @@ -1,14 +1,4 @@ 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/-$1\.tar\.gz/ \ -# https://github.com///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 +opts=uversionmangle=s/_/./g;s/\.(rc\d*)$/~$1/ \ + https://github.com/uriparser/uriparser/releases \ + .*[^n]/(?:|v|version-|version|release-|r|REL_|rel-|uriparser(?:_|-))(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz) -- cgit v1.2.3