-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
set prefer_loading_from_api: true
for brew fetch
#13089
Conversation
Thanks for the PR! This is a good start (it's what I would have done). In testing, it looks like |
I'm fine with merging even a partial fix given the situation could change under #12936. |
I'd rather not merge a known bug given that the other PR is still in draft form. I poked around more and found that the problem is that |
My point was that it was pre-existing but yes.
Does this overlap with #13065 at all? |
Thanks so much for your first contribution! Without people like you submitting PRs we couldn't run this project. You rock, @steveh7812! |
Thanks @MikeMcQuaid ! |
brew style
with your changes locally?brew typecheck
with your changes locally?brew tests
with your changes locally?This is to fix #13088 by passing
prefer_loading_from_api: true
when callingto_formulae_and_casks
. I am following what I found inLibrary/Homebrew/cmd/install.rb
and this solves the issue in my testing; however I know there are larger discussions happening around overall support forHOMEBREW_INSTALL_FROM_API
so I'm happy to incorporate any additional changes that are needed.