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.

Pavel


_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
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@lists.fedoraproject.org

Reply via email to