Skip to content

fix(homebrew): remove disabled eval-all flag from brewinfo - #52

Merged
mattmc3 merged 1 commit into
mattmc3:mainfrom
charliie-dev:fix/brewinfo-eval-all
Sep 24, 2026
Merged

mattmc3 merged 1 commit into
mattmc3:mainfrom
charliie-dev:fix/brewinfo-eval-all

Conversation

@charliie-dev

Copy link
Copy Markdown
Contributor

Homebrew 7 disables --eval-all on brew desc, which breaks brewinfo:

Error: Calling the `--eval-all` switch is disabled! Use the default trusted-tap behaviour instead.

Remove the flag as recommended by the Homebrew 7 migration guide. Add a regression test that executes the alias and verifies the arguments passed to brew desc, including a fully qualified tap formula.

Verified that the test fails with the old alias. ./tests/run passes all 311 tests on macOS 27, and the updated alias works with Homebrew 7.0.6-38-g27af95f.

Homebrew 7 rejects --eval-all on brew desc, so brewinfo fails before
showing any formula descriptions.

Use brew desc with the installed leaves directly and add a regression
test for ordinary and fully-qualified tap formula names.
@mattmc3

mattmc3 commented Sep 24, 2026

Copy link
Copy Markdown
Owner

Thank you! Nice contribution. Merged.

@mattmc3
mattmc3 merged commit a35e422 into mattmc3:main Sep 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants