| Age | Commit message (Collapse) | Author |
|
|
|
CannotInstallFormulaError is only raised when another version of the
formula is linked or any of its dependencies are unlinked, in which case
this warning is totally irrelevant. It should be checked after build
errors instead.
This reverts commit 466d0f718bc2241e830393b384294c21194995e0.
|
|
install is the only command that can trigger this warning, so it should
be handled before instantiating the installer.
|
|
Closes Homebrew/homebrew#33648.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
When installing or fetching and stuff goes wrong we can't always catch
the error and redirect to the tap. Instead, point to the tap before we
do anything failure-prone and hopefully that'll encourage people to
file issues in the right place. If not we can say that explicitly.
Closes Homebrew/homebrew#33220.
|
|
These are not caught anywhere, just raise the string. Missed in
1b3b61ff08a4ee5979838f7dbc171e9b38e83f7c.
|
|
|
|
Closes Homebrew/homebrew#29121.
|
|
If you do `brew install blah` it currently doesn't search for it. This
seems to be unintentional looking at this code as the exception thrown
by ARGV.formulae.each is not caught and handled. Instead, let's handle
this case and provide a little more usability around our taps.
Closes Homebrew/homebrew#31761.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
|
|
Fixes Homebrew/homebrew#30084.
Closes Homebrew/homebrew#30203.
|
|
|
|
Closes Homebrew/homebrew#29593.
|
|
Closes Homebrew/homebrew#29380.
|
|
Closes Homebrew/homebrew#29206.
|
|
Closes Homebrew/homebrew#28717.
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
|
|
Fixes Homebrew/homebrew#23928.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I'd still like to make this change, but at least for now the initializer
requires ignore_deps to be set correctly.
This reverts commit 881a8855b944fa9bd7dfd598bb9197f79f7a13f0.
|
|
|
|
|
|
This reverts commit c32ab0a35a2dfa9b593f759ef0ae8b7af077b0b7.
There are other hard-coded uses of HEAD, in build_options for instance.
These all need to be fixed before enabling this.
|
|
Homebrew currently recognizes "--head" during the install process, but
rather than actually fetch HEAD it just nags the user to use the
correct option. Since we recognize the spelling anyway, this just
promotes the lowercase version to an official alias.
Closes Homebrew/homebrew#26555.
|
|
|
|
|
|
Closes Homebrew/homebrew#24864.
|
|
|
|
|
|
Closes Homebrew/homebrew#23430.
|
|
|
|
|
|
Closes Homebrew/homebrew#23411.
Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
|
|
* Fix problem when install exception got swallow and reinstall thinks it
succeeded.
|
|
|
|
* Aborting during reinstall will now restore the originally installed
keg.
- Change install code to pass on CannotInstallFormulaError exception
to caller so it can be reused in reinstall.
* Add "--force-new-install" flag to force installing a new formula.
Closes Homebrew/homebrew#22190.
Signed-off-by: Samuel John <github@SamuelJohn.de>
|
|
|
|
|
|
Closes Homebrew/homebrew#20318.
|
|
|
|
Fixes Homebrew/homebrew#17010.
|
|
When a dependency of a formula specified on the command-line is also
specified, *after* the dependent formula, installation proceeds as part
of the dependent's dependency tree and then is attempted again because
the user asked for it explicitly. This results in the installer raising
a CannotInstallFormulaError because it has already been installed.
For example:
$ brew install graphviz pkg-config
==> Installing graphviz dependency: pkg-config
...
==> Installing graphviz
...
Error: pkg-config-0.27.1 already installed
We already have a mechanism for dealing with this, but it does not kick
in early enough. Move the installation attempt check into
FormulaInstaller#check_install_sanity and catch the exception in the
appropriate places.
Fixes Homebrew/homebrew#16957.
|