From: Ben Harris Date: Mon, 7 Oct 2024 13:37:09 +0000 (+0100) Subject: Switch debian/watch to using Git X-Git-Tag: debian/002.008-2~10 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~bjharris/git?a=commitdiff_plain;h=c3fe2d76efdacfc7f2555b215e18ba72fd719fae;p=bedstead-debian.git Switch debian/watch to using Git On balance, I think this is better. Ian has advised me to ignore the "last resort" wording in uscan(1), and I've decided that since the Debian package will be built from Git, there's not much point in detecting an upstream release where I've not properly updated the Git repository. And if I do get that wrong, it's good to have something that will detect it. This means that uscan now not only detects new upstream versions, but can also construct the correct orig.tar.gz for Debian purposes. --- diff --git a/debian/watch b/debian/watch index 93508c2..8201e3d 100644 --- a/debian/watch +++ b/debian/watch @@ -1,2 +1,3 @@ version=4 -https://bjh21.me.uk/@PACKAGE@/@PACKAGE@-(\d\d\d\.\d\d\d).zip +opts="mode=git,gitmode=full" \ + https://bjh21.me.uk/@PACKAGE@/.git refs/tags/@PACKAGE@-(\d\d\d\.\d\d\d)