summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-23 12:32:33 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2019-07-23 12:32:33 +0200
commitc8bd2513ecba169cff44c09c8058c36987357b18 (patch)
treef8d8303a1759769587dd91cdbe78f1e223b04eb1
parenta2291c657dc783c0cc8ea41c655072c27e620909 (diff)
d/watch: Rewrite for the new Gitlab directory layout
-rw-r--r--debian/changelog3
-rw-r--r--debian/watch6
2 files changed, 5 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog
index ecf33be..cc2f709 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -37,8 +37,9 @@ sane-backends (1.0.27-4~experimental1) experimental; urgency=medium
* New debian/sane-utils.lintian-overrides to override false positve missing
init.d script.
* debian/control: Add Pre-Depends ${misc:Pre-Depends} to install invoke-rc.d.
+ * debian/watch: Rewrite for the new Gitlab directory layout.
- -- Jörg Frings-Fürst <debian@jff.email> Fri, 12 Jul 2019 16:12:03 +0200
+ -- Jörg Frings-Fürst <debian@jff.email> Tue, 23 Jul 2019 12:32:06 +0200
sane-backends (1.0.27-3.2) unstable; urgency=medium
diff --git a/debian/watch b/debian/watch
index a3e79c0..ae623cb 100644
--- a/debian/watch
+++ b/debian/watch
@@ -4,6 +4,6 @@
version=4
opts=\
dversionmangle=s/\+(debian|dfsg|ds|deb)\d*$//,\
-uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/;s/RC/rc/ \
-https://gitlab.com/sane-project/backends/tags \
-(?:.*?/)?(?:rel|v|sane-backends)[\-\_]?(\d\S+)\.(?:tgz|tbz|txz|(?:tar\.(?:gz|bz2|xz)))
+uversionmangle=s/(\d)[_\.\-\+]?((RC|rc|pre|dev|beta|alpha)\d*)$/$1~$2/,\
+filenamemangle=s/.*\/archive\/(\d\S+)\/backends.*\.tar\.gz/backends-$1\.tar\.gz/g \
+ https://gitlab.com/sane-project/backends/tags?sort=updated_desc .*/archive/(\d\S+)/.*\.tar\.gz.*