Please sign in to comment.
base: Clean up error output to be more concise.
- Remove "failed to install $portname" message. The failing port is mentioned earlier in the output and the user knows what port he was installing. Plus, it isn't really important which port the user initially wanted to install, it's important which one failed. - Shorten "Please see the log file for port $portname for details:" to a short one-line message and raise its message level to error so the output columns align nicely after a common "Error: " prefix. - Remove "The following dependencies were not installed: $list" completely, because it's not relevant -- the user probably wants to know (and should care) about the port that failed, not the dependencies that couldn't be installed because of that. - Shorten the ticket URL message to a simple one-liner. - Avoid cryptic messages like "org.macports.activate for port xyz returned: $errstr" in favor of "Failed to activate xyz: $errstr" - Make the requested variants mismatch line align after a common "Error:" prefix. Ideally, this should be done using some presentational logic in port.tcl that uses some nice formatting heuristics to make the messages more readable, but this is still better than what we had before, IMO. git-svn-id: https://svn.macports.org/repository/macports/trunk/base@118305 d073be05-634f-4543-b044-5fe20cf6d1d6
- Loading branch information
Showing with 24 additions and 15 deletions.