Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [PATCH] add patchlevel to --version output



On Sun 31 May 2026, at 00:13, Wesley Schwengle wrote:
> A ZSH_VERSION_DATE, if the ZSH_VERSION matches a tag, get the tag date
> in UTC, otherwise take the current date of the build system. This is
> mostly needed for Doc/Makefile.in.

i like the idea of getting the date from the tag, it would make the
release process simpler and more reliable

On Sun 31 May 2026, at 00:13, Wesley Schwengle wrote:
> There is one thing I think we shouldn't do, and that is using .999 in
> test releases, perhaps a better way is using ~, like Debian to indicate
> release candidates, eg 5.9.0~rc4 or 5.9.0~test1. is-at-least may need
> some additional logic to deal with this, but I think it is cleaner that
> 5.9.999.3-test.

i wish you'd said so before i changed it...

i don't really care for the 999 thing either, it was just an easy fix
that didn't require changing anything else about the current system

but i also don't like using the `git describe` string as-is because it
makes it too hard to tell how certain builds compare, particularly in
the period between a major release and the next test release

i would be open to a scheme like dpkg's where e.g. 5.10 > 5.10~test4.
but you can't use '~' in git tags. and using '-' like semver would break
too many assumptions for is-at-least

dana




Messages sorted by: Reverse Date, Date, Thread, Author