#33820: base: add ui_msg to output outdated ports during selfupdate ------------------------------------+-------------------------------- Reporter: sean.michael.farley@… | Owner: macports-tickets@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: base | Version: 2.0.4 Resolution: | Keywords: haspatch Port: | ------------------------------------+-------------------------------- Comment (by sean@…): Replying to [comment:4 raimue@…]:
In my opinion, I don't think it's necessary to list outdated ports on self update.
I dunno; I could see it either way. On one hand, it's nice to have a list of outdated ports after running `port sync` or `port selfupdate`.
Anyway, on technical details, using `exec` is not the right choice here. The package macports1.0 is meant as a library to be used by different clients, most notable port/port.tcl and the MacPorts.framework for GUI applications. We cannot always expect `port` to be in PATH for GUI applications, so at least it would have to be `${prefix}/bin/port`. It would make more sense to add such a message within the port cli client, as a GUI client has other options to present outdated ports than plain text messages. Additionally, the behavior and output from selfupdate and sync should be consistent.
Very true; this patch was mostly meant as a proof-of-concept. -- Ticket URL: <https://trac.macports.org/ticket/33820#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS