sudo-rs icon indicating copy to clipboard operation
sudo-rs copied to clipboard

Version numbering

Open squell opened this issue 1 week ago • 0 comments
trafficstars

Right now sudo-rs version numbering is in the 0.2.x range, with x a steady increasing number and the tacit assumption that only a semver-related change to our deliberately unusable lib.rs API (e.g. by offering a standalone exec-module for other projects) would bump us into 0.3.x.

As devs we don't mind the 0.2 prefix (any version number is arbitrary), but society is maybe still used to version numbers having a meaning like "Web 5.0" or "Coke II".

So here are some suggestions to change this:

  • At some point we jump to different semver compatible scheme like 1.x or 1.0.x, i.e. at some point 0.2.17 can be followed by 1.0. I think I would like to avoid a 1.0 release.
  • Drop the 0. from our version number; we are currently sudo-rs 2.10. I think this can be confusing if Todd (or someone who forks sudo) might want to jump to a 2.x series.
  • Drop the 0.2. from our version number. we are currently sudo-rs 10. I.e. take a hint from Firefox and systemd.
  • A hybrid: we replace 0.2. with 1.0. but keep the patch number the same.
  • Move to a date-based scheme. E.g. we typically do at most one release a month so we could use sudo-rs <year>.<month>. It is the second year since the launch of sudo-rs and it was worked on in October so the current sudo-rs version is sudo-rs 2.10 as well by some creative shoehorning on my part. The advantage here is that the version number still carries some meaning.
  • ...
  • We keep things as is

squell avatar Nov 11 '25 11:11 squell