Hi all,
During the review of bash-preexec [1] we came up on the issue that
according to the documentation, this package would be in conflict with
any other bash script that use the variable `PROMPT_COMMAND` or `DEBUG`
# Note: This module requires two Bash features which you must not
otherwise be
# using: the "DEBUG" trap, and the "PROMPT_COMMAND" variable. If you
override
# either of these after bash-preexec has been installed it will most
likely break.
But how do we enforce this incompatibility? From a talk at last year's
devconf [2], I've learned that you can add a Provides+Conflicts with the
same name which would disallow other packages with the same Provides to
be installed. I am considering using this mechanism.
My proposal here is to define `Provides: bash(PROMPT_COMMAND)` for this
package, and hopefully other packages that use it and would probably
have a similar restriction. What do yall think?
[1]: https://bugzilla.redhat.com/show_bug.cgi?id=2297308
[2]: https://www.youtube.com/watch?v=3hPpKJMyD08
--
_______________________________________________
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