info, tap-info: skip uninstalled marker and bold when not a problem (align with search)#22342
Merged
MikeMcQuaid merged 1 commit intoMay 19, 2026
Conversation
The red ✘ uninstalled marker reads as an error, but in some places uninstalled is the norm rather than a problem: - tap-info: every uninstalled formula/cask in the tap catalog - brew info <pkg>: deps and requirements when the package itself is not installed (the listing just shows what would be pulled in) Add a 'mark_uninstalled:' parameter to 'pretty_install_status' that, when false, returns the plain string instead of the red ✘. Pass it through 'decorate_dependencies'/'decorate_requirements' in both 'cmd/info' and 'cask/info', and use it unconditionally in 'tap-info'. Keep the marker where missing really signals a problem: info headers, deps/requirements of an installed package, and update reports for removed entries.
MikeMcQuaid
approved these changes
May 19, 2026
Member
MikeMcQuaid
left a comment
There was a problem hiding this comment.
Yes, this is great, thanks again @HaraldNordgren!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Aligns uninstalled formulae with how
brew searchworks.brew tap-info: Uninstalled formulae won't be bolded and not have the red X.brew info: A non-installed dependency is not a problem before the formula itself is installed so won't show the red X. When the formula is installed, then a missing dep is a problem, so that should be highlighted with bold and a red X.brew lgtm(style, typechecking and tests) with your changes locally?Claud Code, Extra High