Mike McQuaid

Results 582 comments of Mike McQuaid

This is a known issue that it's unclear how to be solved. There may already be a homebrew/cask issue for this CC @Homebrew/cask for help triaging. Need to decide how...

> providing a useful error not sure whether this conversation should be here or there but: I don't think this should be an error at all. Instead, either the formula...

> Though we may be handling the reverse situation for Cask-Formula conflict: Yeh, we should do something similar to that, I think, but expand the definitions so that they don't...

> Usually `brew install foo` does the same as `brew install --cask foo`, right? No. It's usually `brew install --formula` if there's two with the same name. > Shouldn't the...

> In terms of how the DSL should look, would it be too confusing to just have multiple strategy blocks and then just evaluate them in the order they were...

> For service blocks we already make the formula available to allow us to get path information from it (#13705). In this case, we don't even need to expose it...

> Alternative, which could apply to non-pkg-config cases like GCC and Clang's `DEFAULT_SYSROOT`, could be a way of mark formulae that need reinstalling on newer macOS and those will appear...

Hi again @gaborbernat! Would review a PR for this. Might need to figure out how best to interpolate it or whatever.

Support already exists for mirroring here: https://github.com/Homebrew/brew/blob/41ca77c6ac571d58eda505d38cce3685d2b3d818/Library/Homebrew/api/cask.rb#L32-L36 The command to generate it is `brew generate-cask-api`: https://github.com/Homebrew/brew/blob/41ca77c6ac571d58eda505d38cce3685d2b3d818/Library/Homebrew/dev-cmd/generate-cask-api.rb#L71 And you can see the GitHub Actions pipeline for formulae.brew.sh which hosts it here:...

@stevapple It will try the authoritative source first because it's more secure to do so and fall back to the mirror if it fails. I believe this is consistent with...