[MacPorts] #58452: bash-completion: port(1) ui_warn output is displayed during tab completion
MacPorts
noreply at macports.org
Thu May 16 18:26:09 UTC 2019
#58452: bash-completion: port(1) ui_warn output is displayed during tab completion
------------------------------+----------------------
Reporter: paxperscientiam | Owner: raimue
Type: defect | Status: assigned
Priority: Normal | Milestone:
Component: ports | Version: 2.5.4
Resolution: | Keywords:
Port: bash-completion |
------------------------------+----------------------
Comment (by raimue):
Thanks for the detailed report with the screencast! This is definitely not
intentional. I did not want to redirect all error output, because if the
port completion command fails, it could contain actual helpful error
messages. But I agree that in this case, although correct, it is
disruptive. On the other hand, you might have run an `port upgrade` and
installed some outdated version without the warning...
In the hope this will also be useful for other other automated scripts, I
propose we change the behavior for the next MacPorts base version. As
quiet mode via `port -q` is already in use in the bash-completion script,
we could suppress the warning in quiet mode: https://github.com/macports
/macports-base/pull/126
--
Ticket URL: <https://trac.macports.org/ticket/58452#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS
More information about the macports-tickets
mailing list