info: clarify same-named conflicts and shadowed formulae#22537
Open
HaraldNordgren wants to merge 2 commits into
Open
info: clarify same-named conflicts and shadowed formulae#22537HaraldNordgren wants to merge 2 commits into
HaraldNordgren wants to merge 2 commits into
Conversation
Resolve each conflict to its actual formula and show the resolved full name, so a conflict that points to a formula in another tap is unambiguous rather than a bare name. When a conflict resolves to the formula itself (e.g. hashicorp/tap/terraform's `conflicts_with "terraform"` after terraform left homebrew-core), omit it instead of printing a confusing self-conflict.
When two taps provide a formula of the same name they share one cellar rack, so only one can be installed at a time. Running `brew info <tap>/<name>` on the formula that did NOT install the keg previously showed that keg as this formula's install and `[Linked]`. Now show such a formula by its full (tap-qualified) name, mark it not installed, and list the shadowing formula's keg under "Installed Kegs and Versions" so the actually-installed sibling is still visible.
|
Thanks for your pull request. This has been closed because it appears to use an incomplete or outdated pull request template. Please edit this pull request to fill in the current pull request template. This workflow will reopen this pull request automatically once the template is complete. Do not open a new pull request for this. |
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.
Remove the incorrect warning of, which I believe is a remnant of before Terraform was moved out our core:
Clarify that shadowed pkg's install status and show "Installed Kegs and Versions" even when not real siblings if they occupy the same disk space:
brew lgtm(style, typechecking and tests) with your changes locally?Claud Code, Extra High