| Age | Commit message (Collapse) | Author | 
|---|
|  | Now we have `python` for Python 3 and `python@2` for Python 2 some more
adjustments need to be made. | 
|  | These are nicer on the eyes. | 
|  | Dot directories are not racks because formulae names do not start with
"." so avoid attempting to descend into dot directories, which may not
always be possible (e.g. .Trashes). | 
|  | Deprecate default_formula Requirement DSL | 
|  | Remove more Requirement logic to enable future removal of default
formula logic. Also, output deprecations, convert symbol requirement
usage to deps and simplify the compatibility code for the direct
Requirement usage. | 
|  | This has been a nightmare in terms of the complexity to our dependency
system and the whack-a-mole required on bugs. If a Requirement resolves
to a Formula it should just use `depends_on "formula"` instead. This
matches the effective behaviour all users of bottles (the vast majority
of users and installs) and what we're doing in Homebrew/homebrew-core. | 
|  |  | 
|  | example:
Error: depends_on :mysql
Correct: depends_on "mysql" | 
|  |  | 
|  |  | 
|  | 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 entire build environment by shelling out to
`build.rb` in `formula_installer`. | 
|  | This avoids the need for workarounds such as:
https://github.com/Homebrew/homebrew-core/pull/21688 | 
|  |  | 
|  | Safe navigation needs to be chained to preserve equivalence.
Fixes a bug introduced by 01e9ec9a in #3183. | 
|  | - Use it in more places where it saves code
- Allow using symbolic keys for a cleaner interface
- Use `HOMEBREW_GEM_*` instead of `GEM_OLD_*` | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | That tap is now defunct.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com> | 
|  | Detect `Tap` in `CaskLoader`. | 
|  | That repo is now defunct. Reference homebrew-core instead.
Signed-off-by: Bob W. Hogg <rwhogg@linux.com> | 
|  | Enable more deprecations. | 
|  | keg: correctly cleanup old aliases. | 
|  |  | 
|  | May as well use the more secure link when possible. | 
|  | Aliases that include `/`s end up creating directories and this is bad. | 
|  | It's been long enough that these have been commented out so let's
enable them globally. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | rubocop: don’t allow Perl regex backrefs. | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  |  | 
|  | Convert `FormulaLock` to more generic `LockFile`. | 
|  | Improve the messaging around `brew install` when there's a possible user
action such as an `upgrade` or `link` and don't tell people to
`install --force` when it's unnecessary.
While I did this, tweak the output and function usage in a couple of
related places.
Some example output before this change:
```
Warning: openssl is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: mysql@5.6 is a keg-only and another version is linked to opt.
Use `brew install --force` if you want to install this version
Warning: analog-6.0_1 already installed
Warning: bash-completion@2-2.5 already installed, it's just not linked.
```
Some example output after this change:
```
Error: openssl 1.0.2k is already installed
To upgrade to 1.0.2l, run `brew upgrade openssl`
Warning: mysql@5.6 5.6.36_1 is already installed
Warning: analog 6.0_1 is already installed
Warning: bash-completion@2 2.5 is already installed, it's just not linked.
You can use `brew link bash-completion@2` to link this version.
``` | 
|  |  | 
|  | formula: ensure HOMEBREW_PREFIX/bin in test PATH. | 
|  | Only likely to kick in when environment filtering is enabled.
Otherwise we need to tediously add a dramatic number of PATHs to tests
or recurse through the runtime formulae dependencies and add all them.
CC @ilovezfs | 
|  | If the formula is already installed and they've been removed: that's ok.
Fixes #2625. | 
|  | Use scoped RSpec matchers. | 
|  | Display formula conflict reasons | 
|  |  | 
|  | This may result in a slightly varied build but it’s generally just far
less annoying to be able to access all your e.g. shell configuration. |