Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] Show patchlevel in version string
- X-seq: zsh-workers 52044
- From: Wesley Schwengle <wesley@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Cc: Axel Beckert <abe@xxxxxxxxxxxxxxx>
- Subject: Re: [PATCH] Show patchlevel in version string
- Date: Sun, 13 Aug 2023 18:25:03 +0000
- Archived-at: <https://zsh.org/workers/52044>
- Feedback-id: 16776580:user:proton
- In-reply-to: <20220331075555.invhkyvvuxoznmsx@sym.noone.org>
- List-id: <zsh-workers.zsh.org>
- References: <20210903173803.4005670-1-wesley@opperschaap.net> <20220331075555.invhkyvvuxoznmsx@sym.noone.org>
On 3/31/22 03:55, Axel Beckert wrote:
> On Fri, Sep 03, 2021 at 01:38:03PM -0400, Wesley Schwengle wrote:
>> Debian for example uses `debian/5.8-6+b2' as a patch level.
>
> JFTR: That's not completely correct. Only "5.8-6" is the patch level.
> "+b2" is the build counter for binary packages rebuilt from the same
> source code against usually newer build-dependencies. (And "debian/"
> is just the tag prefix in git, but there are never build counts like
> "+b2" present in git tags in Debian.)
You kinda do :) I understand what you are saying, but it is exposed as
the patch level.
$ cat /etc/debian_version
trixie/sid
$ echo $ZSH_PATCHLEVEL
debian/5.9-4+b4
Anyways the idea is to show this outside of $ZSH_PATCHLEVEL when running
zsh --version, as I think it might be handy for those who want it.
Cheers,
Wesley
--
Wesley Schwengle
E: wesley@xxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author