Just get rid of the sid name
Just get rid of the sid name
Posted Aug 10, 2024 11:20 UTC (Sat) by bluca (subscriber, #118303)In reply to: Just get rid of the sid name by zblaxell
Parent article: Distinguishing Debian testing from unstable
Not really. You might be thinking of SYSEXT_LEVEL, but that's something different, used in special cases. Sid doesn't set that, nor VERSION_ID, which is correct. This is about VERSION_CODENAME, which is used to identify the OS version, for identity and lifecycle purposes.
> If it's inappropriate to depend on unstable or testing individually, then when is it useful to distinguish between them?
When you have a bunch of images and you want them to self-identify. I provided a very real world example, with images and commands, here: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1077764#43
You seem to be thinking that this is exclusively useful for dependencies purposes. It isn't, identifying and tracking artifacts is just as important, and independent of that. There are tons of use cases, some that we'll never know about. Fundamentally, os-release is about the OS vendor tree self-identifying in a distro-agnostic way, that can be relied to just be there and be usable and accurate for what it provides, without requiring special binaries or scripts or other hacks. Think of it as the pkg-config of OSes. There are many uses that one might derive from such a system, and not all of them have to be useful to everyone for it to exist.
> My guess is that you'd like something like this
Not really, I would have no use for that, but it's an interesting idea that might be useful for someone else. If it would be useful for you, and you want to propose a change to the spec, to add a field specifically for that use, that package managers should modify in /etc/ on updates, please feel free to send a PR and we'll happily review it.
The LWN site is currently under high scraper load, so comment display has been suppressed for anonymous users. If you are a human, you may read the comments by clicking the button below:
Note: you can avoid this step in the future by logging into your LWN account.
