On Wed, Oct 17, 2018 at 9:18 AM Pavel Raiskup <praiskup@xxxxxxxxxx> wrote: > > On Tuesday, October 16, 2018 4:03:56 PM CEST Miroslav Suchý wrote: > > Or should I do quick'n'dirty "if 'rawhide' in > > os-release['REDHAT_BUGZILLA_PRODUCT_VERSION']" in our copr plugin? > > Or REDHAT_SUPPORT_PRODUCT_VERSION. > > I'd simply read one of those variables, or submit PR against > 'fedora-release' package to add some new variable with clearer semantics. > No other package seems to be able to do the clear cut at branching time. > > Note that dnf neither knows whether VERSION_ID=30 means rawhide nowadays > ($releasever expands to 30), the only difference on Rawhide system is that > fedora-repos-rawhide is installed && the repos enabled. But one can have > 'fedora-repos-rawhide' installed also on stable. I'd like to suggest that on Rawhide, VERSION_ID=rawhide and VERSION=Rawhide, which then makes distinction between rawhide and non-rawhide clear. os-release specs (https://www.freedesktop.org/software/systemd/man/os-release.html) allow VERSION_ID to be a non-numeric string. Rawhide is an actual Fedora version. It's a version of Fedora that provides a continuous stream of packages and serves mainly development purposes (nowadays?). Additional (side) note: Stuff like "Workstation Edition", "Server Edition" or "Atomic Host" should probably only go to VARIANT and VARIANT_ID because it's not a release code name like e.g. "Beefy Miracle" was for Fedora 17. We are overusing codename VERSION substring for things that are not codenames but they are variants and a version. clime (Michal Novotny) M. > > Pavel > > > _______________________________________________ > 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 _______________________________________________ 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