top | item 43133989

(no title)

gleb | 1 year ago

I think semantic versioning actually predates distributions. It just was not called "semantic versioning." It was called Unix shared library versioning.

discuss

order

Fnoord|1 year ago

Imagine a world where every library and every package has their release date as their version. You'd instantly know which software lacks maintenance or updates (bitrot).

To me it seems more attractive than how Nix does it, but I guess they considered such and saw conflicts, therefore went with hashes.

tremon|1 year ago

Would you also instantly know if 20250110 is a drop-in replacement for 20240930 or will it require changes in your code to make it work?

viraptor|1 year ago

How do you know if 12345 is a patch for 432 released years ago or a major upgrade from 12344 released a moment ago? Pure time versioning doesn't work with multiple release streams.

porridgeraisin|1 year ago

IIRC GNU Parallel versions by date.

Recently in the python ecosystem the `uv` package manager let's you install a package as it was on a certain date. Additionally, you can "freeze" your dependencies to a certain date in pyproject.toml. So when someone clones it and installs dependencies it will install it at the date you've chosen to freeze it at.

Personally I love this method much more than versioning.

I think versioning is mostly useful to just talk about software and maybe major major additions/changes e.g io-uring shipping with linux mainline.

the_gipsy|1 year ago

There's software that is done and doesn't need constant updates.