-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
More resilient brew formulae name handling #9665
base: main
Are you sure you want to change the base?
More resilient brew formulae name handling #9665
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hi @UnknownPlatypus thanks for the PR!
I spotted a typo and left a question on the tests, other than that it LGTM
I'll merge somewhen tomorrow if nobody objects. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
SUMMARY
Fixes #9641, Review by commit is advised
There are actually 2 issues:
One with the uppercase letters.
Apparently, brew normalize everything to lowercase. For ex:
The other is with the handling of tap with no equivalent in brew registry
ie you cannot do
brew install ascii-image-converter
if you didn't tapthezoraiz/ascii-image-converter
before.We previously missed this case in tests because we used
hashicorp/tap/terraform
but there is a regularterraform
package tooISSUE TYPE
COMPONENT NAME
homebrew