Skip to content

info: show installed version and upgrade hint on headline#22128

Merged
MikeMcQuaid merged 2 commits intoHomebrew:mainfrom
HaraldNordgren:info-headline-installed-version
May 3, 2026
Merged

info: show installed version and upgrade hint on headline#22128
MikeMcQuaid merged 2 commits intoHomebrew:mainfrom
HaraldNordgren:info-headline-installed-version

Conversation

@HaraldNordgren
Copy link
Copy Markdown
Contributor

@HaraldNordgren HaraldNordgren commented May 2, 2026

Today brew info on an outdated formula shows the latest version on the headline with a checkmark, which makes it look like you're up to date even when you aren't. This change shows the installed version on the headline alongside an upgrade hint, so it's obvious at a glance.

Before:

==> mole ✔: stable 1.36.3 (bottled), HEAD

After:

==> mole ↑: 1.34.0 → stable 1.36.3 (bottled), HEAD

@request-info
Copy link
Copy Markdown

request-info Bot commented May 2, 2026

Please provide a better issue/pull request title and/or description!

@request-info request-info Bot added the needs response Needs a response from the issue/PR author label May 2, 2026
Comment thread Library/Homebrew/cmd/info.rb Outdated
@HaraldNordgren HaraldNordgren force-pushed the info-headline-installed-version branch 4 times, most recently from 192ae62 to 57ca86f Compare May 2, 2026 22:12
@HaraldNordgren HaraldNordgren marked this pull request as ready for review May 2, 2026 22:13
@HaraldNordgren
Copy link
Copy Markdown
Contributor Author

@MikeMcQuaid Can I get another review here, please? 🙏

@HaraldNordgren HaraldNordgren requested a review from MikeMcQuaid May 3, 2026 10:08
@HaraldNordgren HaraldNordgren force-pushed the info-headline-installed-version branch from 57ca86f to d97838f Compare May 3, 2026 10:15
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, one style tweak!

Comment thread Library/Homebrew/cmd/info.rb Outdated
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
Copy link
Copy Markdown
Member

@MikeMcQuaid MikeMcQuaid left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks again @HaraldNordgren!

@MikeMcQuaid MikeMcQuaid added this pull request to the merge queue May 3, 2026
Merged via the queue into Homebrew:main with commit 8eb219f May 3, 2026
33 of 35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs response Needs a response from the issue/PR author

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants