Due to the fragility of the code, this functionality was removed in
recent refactorings of the tap code.
It is possible to restore these features, but it needs to be done in
a cleaner, more maintainable way.
ClosesHomebrew/homebrew#29585.
Turns out that this doesn't really work at all. `brew install` _never_
reuses options in the first place, and using this option with `brew
upgrade` results in some nasty corner cases in passing options to
dependencies.
The traditional approach to installing the dependencies of a formula is
the following:
brew install `brew deps formula`
This approach ignores any options that are specified in the parent
formula. This pull request adds a --only-dependencies option to brew
install that installs the dependencies of a formula with optional flags,
but returns before installing the parent formula.
ClosesHomebrew/homebrew#25272.
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
with which the beer emoji displayed upon successful build
can be changed.
ClosesHomebrew/homebrew#23194.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
This patch allows users to "opt out" of using the GitHub API altogether
by setting the HOMEBREW_NO_GITHUB_API environment variable. The
value of the environment variable does not matter (it can even be
empty!).
For Bash/ZSH: export HOMEBREW_NO_GITHUB_API=1
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Also adds support for a new `--local` flag, and documentation for the whole command.
ClosesHomebrew/homebrew#22378.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
For example `brew search homebrew/science` to get a list of all formulae
from that tap, even if not yet tapped.
`brew search <user>/<repo>/<substr>` or
`brew search <user>/<repo> <substr>` to grep for `<substr>`
inside of the tap `<user>/<repo>`.