Hi,
The kicad project, after making a stable release, create a tag on the
development branch that uses the same syntax as the normal release tags,
but with a minor number of 99, so that "git describe" finds this tag when
generating a version number.
The watch file in the kicad package just converts this to a zero, so it
sorts same as the last stable release. That is reasonably safe, because the
download is then done with the correct tag name, but it's not really clean.
It would be good to have explicit syntax to reject a version.
Possible options would be to either have an additional pattern match, or a
mangle substitution that generates a forbidden string.
Simon
- -- Package-specific info:
- --- /etc/devscripts.conf ---
Empty.
- --- ~/.devscripts ---
Not present
- -- System Information:
Debian Release: 13.6
APT prefers stable-security
APT policy: (990, 'stable-security'), (990, 'stable'), (500, 'stable-debug')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 7.0.13+deb13-amd64 (SMP w/8 CPU threads; PREEMPT)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: sysvinit (via /sbin/init)
LSM: AppArmor: enabled
Versions of packages devscripts depends on:
ii dpkg-dev 1.22.22
ii file 1:5.46-5
ii gpg 2.4.7-21+deb13u1+b4
ii gpg-agent 2.4.7-21+deb13u1+b4
ii gpgv 2.4.7-21+deb13u1+b4
ii libconfig-inifiles-perl 3.000003-3+deb13u1
ii libdpkg-perl 1.22.22
ii libfile-dirlist-perl 0.05-3
ii libfile-homedir-perl 1.006-2
ii libfile-touch-perl 0.12-2
ii libio-string-perl 1.08-4
ii libmoo-perl 2.005005-1
ii libwww-perl 6.78-1
ii libyaml-libyaml-perl 0.903.0+ds-1
ii patchutils 0.4.2-1
ii perl 5.40.1-6
ii python3 3.13.5-1
ii sensible-utils 0.0.25
ii wdiff 1.2.2-9
Versions of packages devscripts recommends:
ii apt 3.0.3
ii curl 8.14.1-2+deb13u4
ii dctrl-tools 2.24-3+b1
ii debian-keyring 2025.07.26
ii debian-tag2upload-keyring 1.1
ii diffstat 1.67-1
ii dput-ng [dput] 1.44
ii equivs 2.3.2
ii git-debpush 15.11~bpo13+1
ii libdistro-info-perl 1.13
ii libencode-locale-perl 1.05-3
ii libgitlab-api-v4-perl 0.27-1
ii libjson-perl 4.10000-1
ii liblwp-protocol-https-perl 6.14-1
ii libmetacpan-client-perl 2.033000-1
ii libsoap-lite-perl 1.27-3
ii libstring-shellquote-perl 1.04-3
ii liburi-perl 5.30-1
ii licensecheck 3.3.9-1
ii lintian 2.122.0
ii lzip 1.25-3
ii man-db 2.13.1-1
ii patch 2.8-2
ii pristine-tar 1.50+nmu2
ii python3-apt 3.0.0
ii python3-debian 1.0.1
ii python3-magic 2:0.4.27-3
ii python3-requests 2.32.3+dfsg-5+deb13u1
ii python3-unidiff 0.7.5-2
ii python3-xdg 0.28-2
ii sbuild 0.89.3+deb13u4
ii strace 6.13+ds-1
ii unzip 6.0-29
ii wget 1.25.0-2
ii xz-utils 5.8.1-1+deb13u1
Versions of packages devscripts suggests:
pn adequate <none>
ii at 3.2.5-2.2
ii autopkgtest 5.49
pn bls-standalone <none>
pn bsd-mailx | mailx <none>
ii build-essential 12.12
pn check-all-the-things <none>
ii debhelper 13.24.2
pn diffoscope <none>
pn disorderfs <none>
ii docker.io 26.1.5+dfsg1-9+b13
pn dose-extra <none>
pn duck <none>
pn elpa-devscripts <none>
pn faketime <none>
ii gnuplot-qt [gnuplot] 6.0.2+dfsg1-1
pn how-can-i-help <none>
ii libauthen-sasl-perl 2.1700-1
pn libdbd-pg-perl <none>
pn libterm-size-perl <none>
ii libtimedate-perl 2.3300-2
ii mmdebstrap 1.5.7-1+deb13u1
ii msmtp-mta [mail-transport-agent] 1.8.28-3
ii mutt 2.2.13-1+deb13u1
ii openssh-client [ssh-client] 1:10.0p1-7+deb13u4
pn piuparts <none>
pn postgresql-client <none>
pn pristine-lfs <none>
ii python3-debianbts 4.1.1
ii python3-pycurl 7.45.6-1
ii quilt 0.68-1
pn ratt <none>
pn reprotest <none>
pn svn-buildpackage <none>
ii w3m 0.5.3+git20230121-2.1
- -- no debconf information
-----BEGIN PGP SIGNATURE-----
iQFDBAEBCgAtFiEEtjuqOJSXmNjSiX3Tfr04e7CZCBEFAmpnXj8PHHNqckBkZWJp
YW4ub3JnAAoJEH69OHuwmQgRijYH/0W9ofRxwuwnTDDvItFPP31KaTC4iiaxPzEe
O4XvuhPz5xvTJI4L9n7i3jm1d+k4U9SvEOwjJYVM5CR8IXKfELw6tXJgJdfl0dLp
+3mKnKeh8E2k1mEiAFdIGZS/xOjUIajkdOd//xx+FMV0jQq7ku0TCPf1paKmKMQj
Q25PDTl4yu5EOh5E/HvO61H+hrrFVFn/RTKYVaBAz8aLjZEIy0VhdxKatddDL9LD
GsygiltcLtK8BUFL46J3n3fa1bZuBtxlpOESG/bIU+CsCnFf7KoWnvuMBJhv8Yel
i6PVFUJ2CVStKQMGEZfKcqaRI7hNld9TkEgwU6VKHevEOix1HRQ=
=i/YU
-----END PGP SIGNATURE-----