On Di, 16.10.18 16:43, Miroslav Suchý (msuchy@xxxxxxxxxx) wrote: > Dne 16.10.2018 v 16:11 Lennart Poettering napsal(a): > > Quite frankly, you are doing it wrong. > > It's not me. It is either author of python-distro or mantainers of fedora-release. > But you are right, *someone* is doing *something* wrong. I am just trying to figure what is "someone" and "something". > Should code name for Atomic Rawhide be "Atomic Host" or "Rawhide"? > How to find that this version is actually rawhide? > > > $VERSION is for display > > purposes. $VERSION_ID is for processing by code. > > > > Similar, $VARIANT is for display purposes, and $VARIANT_ID for > > processing by code. > > /etc/os-release contains only number. I.e., 30 for current rawhide. > > So my question still stands - how should I detect that the release > is actually rawhide? I think best would be if Rawhide's os-release would carry VERSION_CODENAME=rawhide while is developed. And at time of branching this line should be removed again, after all we don't do real codenames anymore on fedora iirc. Lennart -- Lennart Poettering, Red Hat _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx