aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
2015-03-11install: refactoring blacklist checkXu Cheng
Closes #37590. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-05cmd/install: add force/debug/verbose to cask.Mike McQuaid
Closes #37217.
2015-01-16install: fix --HEAD for formulae with head and devel but no stableJack Nagel
2015-01-15install: handle devel-only correctlyDominyk Tiller
See the discussion in https://github.com/Homebrew/homebrew-devel-only/pull/6 Closes #35793. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2015-01-05install: fail on devel where devel doesn't existDominyk Tiller
Just equalises a little how we treat HEAD and devel. The former already fails if there isn’t a head defined, It seemed logical that devel should fail in the same way. Closes #35554. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
2014-12-26Fix warningJack Nagel
2014-11-30Allow searching/installing Homebrew Casks.Mike McQuaid
People want to install things like GIMP using Homebrew so let's make it easier for them to find a decent installation method. Closes #34496. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-11-03Make quieter an installer modeJack Nagel
2014-11-03Make git an installer modeJack Nagel
2014-11-03Add ARGV.git?Jack Nagel
2014-10-31Check for MacPorts/Fink installation only after build failuresJack Nagel
2014-10-31Revert "run macports check after failed build instead of before every build"Jack Nagel
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.
2014-10-31Remove FormulaAlreadyInstalledErrorJack Nagel
install is the only command that can trigger this warning, so it should be handled before instantiating the installer.
2014-10-28cmd/install: fallback to searching formula names.Jim Witschey
Closes #33648. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-10-21Point to a tap when installing or fetching.Mike McQuaid
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 #33220.
2014-10-20Drop pointless use of CannotInstallFormulaErrorJack Nagel
These are not caught anywhere, just raise the string. Missed in 1b3b61ff08a4ee5979838f7dbc171e9b38e83f7c.
2014-09-14Consistently call name on formula instead of relying on to_sJack Nagel
2014-08-30Install dependencies before an interactive installJack Nagel
Closes #29121.
2014-08-25install: search when formula isn't found.Mike McQuaid
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 #31761. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2014-06-19Only "extend self" once on the Homebrew moduleJack Nagel
2014-06-16Move head-only checks to cmd/installJack Nagel
Fixes #30084. Closes #30203.
2014-06-16install: move requires to top of fileJack Nagel
2014-06-03doctor: Add check for install_name_toolMisty De Meo
Closes #29593.
2014-05-19Remove deprecated --use-{gcc,llvm,clang}Jack Nagel
Closes #29380.
2014-05-12Separate Xcode and CLT doctor checks by OS X versionJack Nagel
Closes #29206.
2014-04-27run macports check after failed build instead of before every buildAndrew Potter
Closes #28717. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
2014-03-15Rewrite `brew reinstall`Jack Nagel
Fixes #23928.
2014-03-13Make FormulaInstaller setup more readableJack Nagel
2014-03-13Make debug an installer modeJack Nagel
2014-03-13Make verbose an installer modeJack Nagel
2014-03-13Make interactive an installer modeJack Nagel
2014-03-10Make force_bottle an explicit installer modeJack Nagel
2014-03-10install: explicitly pass used options to the installerJack Nagel
2014-03-10Make build_from_source an explicit installer modeJack Nagel
2014-03-10Make build_bottle an explicit installer modeJack Nagel
2014-03-04Let commands decide what mode the installer should useJack Nagel
2014-03-04Extract installer setup to prelude methodJack Nagel
2014-03-02Revert "Let commands decide what mode the installer should use"Jack Nagel
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.
2014-03-02Let commands decide what mode the installer should useJack Nagel
2014-02-28Use Formula.pathJack Nagel
2014-02-11Revert "Recognize --head as an alias for --HEAD"Adam Vandenberg
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.
2014-02-09Recognize --head as an alias for --HEADMisty De Meo
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 #26555.
2014-01-03install, update: AlreadyTappedError never raised.Mike McQuaid
2013-12-12Remove unused variablesJack Nagel
2013-12-02Emit deprecation warning for --use-{gcc,llvm,clang}Jack Nagel
Closes #24864.
2013-10-31install: search when formula isn't found.Mike McQuaid
2013-10-30install: print osx-gcc-installer doctor warning.Mike McQuaid
2013-10-22Different regex for user/tap/formula and user/tap.Mike McQuaid
Closes #23430.
2013-10-21install: silently ignore already tapped taps.Mike McQuaid
2013-10-21install: fix trying to tap local bottles.Mike McQuaid