zsh-workers
 help / color / mirror / code / Atom feed
From: Wesley Schwengle <wesley@opndev.io>
To: zsh-workers@zsh.org
Cc: Axel Beckert <abe@deuxchevaux.org>
Subject: Re: [PATCH] Show patchlevel in version string
Date: Sun, 13 Aug 2023 18:25:03 +0000	[thread overview]
Message-ID: <797e447d-6996-43c6-b21f-ab256c8bfa9c@opndev.io> (raw)
In-Reply-To: <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@opndev.io



  reply	other threads:[~2023-08-13 18:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-03 17:38 Wesley Schwengle
2022-03-31  5:43 ` Lawrence Velázquez
2022-03-31  7:55 ` Axel Beckert
2023-08-13 18:25   ` Wesley Schwengle [this message]
2022-04-10 21:35 ` Daniel Shahaf
2023-08-09 13:05   ` Wesley
2023-08-13 18:54   ` Wesley Schwengle

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=797e447d-6996-43c6-b21f-ab256c8bfa9c@opndev.io \
    --to=wesley@opndev.io \
    --cc=abe@deuxchevaux.org \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).