News for hackers. Stuff that matters.
Re:Stamp It! All Programs Must Report Their Version by bombcar on Monday April 06, 2026 @12:45AM (#47657100)
Stamps are nice, but git and friends miss something that the VCS of yore would give you - a monotonously increasing number you could stick somewhere in your version - and be able to tell at a glance which was newer.

2.4.16-12 vs 2.4.16-35 - obviously -35 is later.

But 2.4.16-bcbd1c6 vs 2.4.16-d645104 - which is later? Compile dates won't necessarily help because "earlier" code could have been compiled later.

It's forcing the versioning to do something it shouldn't, arguably, but is nice to have something that the user can decipher (even if you still should have the commit).

Re:Stamp It! All Programs Must Report Their Version by planteur on Monday April 06, 2026 @01:19AM (#47657252)
The blog post mentions `git describe`, which includes the revision number (since last annotated tag), e.g. "4.25-23-g98f23f54".