On 16. 01. 23 12:34, Petr Menšík wrote:
Hi!

I heard (read) objections to any alternatives macros usage often. But unless I am mistaken, we do not have any user (enough) friendly way to support similar functionality tools with just minor differences.

I recall that Sphinx in Fedora once used https://modules.readthedocs.io to switch between Python 2 and Python 3.

https://src.fedoraproject.org/rpms/python-sphinx/c/ad8724f17a9ca2881833f17ba256ae0ec981d26e

One of the great benefit of this was that the users could change the meaning of the commands on their command line, but the actual commands in /usr/bni remained stable.

Another good thing about this was that there were no nasty scriptlets that would hunt us for generations (IIRC we needed to add scriptlets in c9s Python just because we used to use alternatives in RHEL 8 -- to allow upgrades).

--
Miro Hrončok
--
Phone: +420777974800
IRC: mhroncok
_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to