mode=git and no tags (Was: debian/watch version 5)
- To: Xavier <yadd@debian.org>
- Cc: debian-devel@lists.debian.org, Debian Go Packaging Team <pkg-go-maintainers@lists.alioth.debian.org>
- Subject: mode=git and no tags (Was: debian/watch version 5)
- From: Andreas Tille <tille@debian.org>
- Date: Wed, 10 Sep 2025 21:25:36 +0200
- Message-id: <[🔎] aMHQsNWNjg__FDIm@an3as.eu>
- In-reply-to: <aKWE-oVRy8GQ7H18@an3as.eu>
- References: <81569BA4-9DAD-4A40-945B-7A918ED49E5A@debian.org> <5f37fb5a147ba5c4f75d94c5109d29e8@free.fr> <990a6d1b-0a67-48b8-b68b-45519f8391fb@debian.org> <aJ-qDPvj7oBXIhvJ@an3as.eu> <08a67a8b-5984-4604-b4ff-75a847ecbeb5@debian.org> <B39960AA-77DD-44A7-8304-ED38C39A97E8@debian.org> <aKWE-oVRy8GQ7H18@an3as.eu>
Hi again,
the Gitlab template is checking the tags of the project - great.
Unfortunately some projects do not use tags - specifically in golang
packages this is more or less the normal state. For instance there
are watch files like in golang-github-jacobsa-timeutil[1]:
version=4
opts="mode=git,pretty=0.0~git%cd" \
https://github.com/jacobsa/timeutil.git HEAD
Any idea how to transform this into a version=5 watch file? I tried
my luck with
Version: 5
Mode: git
URL: https://github.com/jacobsa/timeutil.git
Pattern: HEAD
Pretty: 0.0~git%cd
but this finishes very quickly and retrieves nothing. A dedicated
Template for this would be a great help.
Kind regards
Andreas.
[1] https://salsa.debian.org/go-team/packages/golang-github-jacobsa-timeutil/-/blob/master/debian/watch?ref_type=heads
--
https://fam-tille.de
Reply to: