aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
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
2013-10-21install: tap if full tap formula format given.Mike McQuaid
Closes #23411. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2013-09-05Revert Library/Homebrew/cmd/install.rb to 4b320eec.Xiyue Deng
* Fix problem when install exception got swallow and reinstall thinks it succeeded.
2013-09-05reinstall cleanupSamuel John
2013-09-05Make reinstall transaction safe.Xiyue Deng
* 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 #22190. Signed-off-by: Samuel John <github@SamuelJohn.de>
2013-06-14Use Hardware::CPU moduleJack Nagel
2013-06-12install: remove overcautious array manipulationJack Nagel
2013-06-08Consolidate sudo checks.Adam Vandenberg
Closes #20318.
2013-05-22Refactor Xcode/CLT version checksJack Nagel
2013-04-03Don't error out when a package is already installedJack Nagel
Fixes #17010.
2013-01-10Don't attempt installation multiple timesJack Nagel
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 #16957.
2012-12-27Replace sceaga/homebrew with mistydemeo/tigerbrewMisty De Meo
@sceaga has discontinued his homebrew fork, so tigerbrew is now PPC/ Tiger users' best bet.
2012-12-17Better reporting for MacPorts/Fink installationsJack Nagel
closes #15853.
2012-11-01Error out on lowercase --head parameter to install.Adam Vandenberg
Fixes #14815.
2012-08-31Doctor check for unlicensed XcodeMax Howell
Checking the license text is probably the most future proofed method. Though for future reference other possible methods are listed in the below ticket. Closes #14558.
2012-08-10remove trailing whitespaceAdam Vandenberg
2012-08-10Be more verbose when users insist on being sudoersMax Howell
If you google for "Cowardly refusing to sudo brew" you get a lot of confused users who didn't read any of the Homebrew documentation and then had a hissy-fit.
2012-08-06Fix issues with writable? detection in brew doctorBrandon Black
Closes #13689. Signed-off-by: Max Howell <mxcl@me.com> There are subtle distinctions between writable? and writable_real? we don't understand precisely why we need this, but it fixes the bugs :/
2012-08-06Don't blacklist tapped-dupesMax Howell
If a formula is in Formula due to tapping or otherwise, don't prohibit installation. Really we should make the blacklist *really* stuff that should be blacklisted and then if it is available still require a --force. But currently with okay stuff like vim in there, and libxml2 being both blacklisted *and* in mxcl/master, we are screwing ourselves. TL;DR we should do some work on this component. Fixes #13234.
2012-04-30Add ofail command and fix bottle command output.Mike McQuaid