When creating a formula that depends on a versioned Postgres, e.g. postgres@10, with an intention to install to shared Postgres directory, the symlinks were not created.
postgres in SHARE_PATHS part of the case statement was o…
These are ones that were either already deprecated due to audit rules or are just a simple which with a default_formula so should just be a dependency.
Additionally, audit more deprecated requirements and cleanup optional system dep…
Tweak with_env to use ENV.replace instead of ENV.update to undo any other environment variables that are changed in the block. Also, use this for brew test and for the xcodebuild helper.
Do this instead of appending the HOMEBREW_PREFIX as it's more reliable at finding e.g. keg-only and requirement PATH additions. It's not ideal as it overrides some environment filtering but the only real alternative is recreate the ent…
This fixes the command with environment filtering enabled. Also, while we're here, cleanup some 2>&1 usage in java_requirement and bump-formula-pr.
This clutters up the output. Instead, hide it with a RSpec formatter and generate and output it ourselves.
python2.7 to handle cases like those in https://github.com/Homebrew/h…This avoids the need for workarounds such as https://github.com/Homebrew/homebrew-core/pull/21688
hub isn't configured.Followup from #3551.
This is to address issue #3531
This reverts commit cc752e97f6dcfb3e58c9e753262926672edeb571.
Fixes #1585.
I will open a new issue for the actual underlying bug here (that requirements aren't being handled correctly based on the stable/devel spec used at installation…
Make this generic; it doesn't matter what version this is and this will future proof it.
This is stuff that can never be exercised by our test suite but is exercised by brew test-bot so remove it from the coverage checks.
These will be redundant once environment filtering is on by default in #3529.
Update all the necessary versions but also cleanup some related indentation and point the Xcode.md document to the code rather than duplicating it there (which means it sometimes ends up outdated).
If dependents are already installed ensure their build dependencies (and
requirements) don't end up in the dependency/requirement tree.
CC @DomT4 @ilovezfs
Fixes #3033.
Only prune it if it's not already installed.
Fixes bug with https://github.com/Homebrew/brew/pull/3479
Closes https://github.com/Homebrew/brew/pull/3535.
CC @ilovezfs