-
-
Notifications
You must be signed in to change notification settings - Fork 10.7k
Use HOMEBREW_CURL universally, including formulae #12170
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
Conversation
|
Review period skipped due to |
|
@carlocab This should also cover Homebrew/homebrew-core#86257 (comment). |
|
Thanks both. I'd normally give longer review time for this, but it is absence of it is making CI fail just now for the I'll merge this now but will respond to feedback while the |
Rylan12
left a comment
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.
I know it's already merged but ✅ from me as well
MikeMcQuaid
left a comment
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.
Makes sense to me!
|
I think this PR is the cause of some very strange issues we are experiencing in CI: in particular recent runs give I can confirm line 102 of Any ideas? |
|
You have an old version of the |
|
It seems to me like the |
|
...and it seems to have been fixed by running |
|
That seems like a bug with |
|
Thanks! If you could ping me on that PR when you open it that would be great. |
|
Fixed in #12186. Thanks for the report, @thewilsonator. |
brew stylewith your changes locally?brew typecheckwith your changes locally?brew testswith your changes locally?Currently when
curlis used in formulae, the value set inHOMEBREW_CURLis completely discarded. That means brewed curl is currently never used in formula builds/tests where it may be necessary (HOMEBREW_FORCE_BREWED_CURL), and may be used when not wanted (e.g.HOMEBREW_CURL_PATH).This changes curl to use the same shim strategy as
gitdoes.This fixes test failures on Linux involving curl, as seen in https://github.com/Homebrew/homebrew-core/pull/86291/checks?check_run_id=3773393332 when paired with Homebrew/homebrew-test-bot#671, unblocking a step towards fixing curl on older macOS.