ysoftwareab / yplatform

Self-service bootstrap/build/CI/CD. Software and configuration that supports various cycles of software development.
Apache License 2.0
19 stars 7 forks source link

homebrew: sensitive to curl/git formula changes #243

Closed andreineculau closed 2 years ago

andreineculau commented 3 years ago

because we install homebrew with brewed curl/git (and their dependencies), that means that we always pull in the latest curl/git and their dependencies

in 99% of the cases, that should be fine, but recently libnghttp2 formula has been introduced to decrease the dependency tree for curl (previously installing the whole nghttp2), and now you have a newer libnghttp2 conflicting with an older nghttp2

in the best of worlds this shouldn't happen, and we would install brew with the same dependencies "locked" in Brewfile.lock

alternatively, maybe we can enable forced-brewed curl/git only when needed (for old distros)

andreineculau commented 2 years ago

the simplest way to get around this is to provide curl git ruby@2.6 before installing homebrew