Re: [PATCH] GIT-VERSION-GEN: Use standard versioning suffix

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2025-09-05 at 12:14:38, Jonas Rebmann wrote:
> In snapshot builds of git, git-version uses a modified variant of the
> git-describe output, e.g. 2.51.0.178.g2462961280 instead of
> 2.51.0-178-g2462961280 for seemingly historical reasons.
> 
> This is not semver compliant which makes the output harder to parse in
> tooling such as b4, which currently errors out when using a snapshot
> build of git.

Git doesn't follow SemVer.  We make breaking and incompatible changes
without bumping the major version all the time, so it doesn't make sense
to say that we should follow SemVer for version numbers.

I would say that since Git has had this version number format for a long
time, b4, which is much newer and should be designed to work with Git,
should gracefully handle the Git version number rather than have Git
conform to b4.
-- 
brian m. carlson (they/them)
Toronto, Ontario, CA

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux