aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
2016-07-06development_tools: add installed? method. (#455)Mike McQuaid
2016-07-04diagnostic: more porting to generic OS. (#449)Mike McQuaid
2016-07-04install: undocument --force-bottle. (#443)Mike McQuaid
This is a developer-only option I created for testing purposes. It should not be used by end-users.
2016-06-29cmd/install: use migration_needed?Vlad Shablinsky
Closes #411. Signed-off-by: Xu Cheng <xucheng@me.com>
2016-05-19install: fix documentation of --keep-tmp option (#258)Zhiming Wang
Obvious copy/paste failure in acc9a7ca8554bc2413dee2d6d0f407b3a59c628c.
2016-05-09gist-logs: add proper documentation, improve error handling (#217)Jam
2016-05-06brew install: make -s apply only to given formula, not deps (#205)Andrew Janke
2016-04-18brew test, install, update-test: add --keep-tmp optionAndrew Janke
Also enables sandbox for --interactive and --debug use of install and test, using automatic retention. Closes #66. Signed-off-by: Andrew Janke <andrew@apjanke.net>
2016-04-17install: handle FormulaClassUnavailableErrorMartin Afanasjew
Don't search for alternatives if formula was found, but has issues, as this will create confusing output, particularly for contributors working on a formula file.
2016-04-10Add all the top level commentsMax Nordlund
2016-03-07rename CoreFormulaRepository to CoreTapXu Cheng
Core tap will be separated from core code in the near future. It makes sense to rename it to CoreTap.
2016-01-05doctor: move code away from cmd/Baptiste Fontaine
Closes Homebrew/homebrew#47665. Signed-off-by: Baptiste Fontaine <batifon@yahoo.fr>
2015-12-19move CoreFormulaRepository into separate fileXu Cheng
For users whose local brew is at around 2015-06-11 to 2015-08-06, running `brew update` will emit following error: Error: uninitialized constant Formulary::CoreFormulaRepository This is caused by the same bug described in Homebrew/homebrew#42553. This commit workarounds this issue and restores `brew update` compatibility for users mentioned above. Also cleanup legacy `require "cmd/tap"`.
2015-12-10Do not `brew install brew-cask`Josh Hagins
Refs caskroom/homebrew-cask#15381 Closes Homebrew/homebrew#46845.
2015-12-09Formulary: use same logic to handle core fully-qualified nameXu Cheng
2015-12-03centralize the logic of handling `homebrew-` in Tap.fetchXu Cheng
Closes Homebrew/homebrew#46537. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-11-09cmd/install: check before tappingAlex Dunn
Changes introduced in dfdc570abcd7c19a7b385c2fe8c6b26b12bca646 were causing installations using fully-qualified formula names to fail.
2015-11-09use Tap#installXu Cheng
2015-10-19install: make search output more intuitive.Eric Andrew Lewis
Closes Homebrew/homebrew#42222. Closes Homebrew/homebrew#44892. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-10-09use directory? to check rack existenceXu Cheng
2015-08-27install: fix if isn't migratedVlad Shablinsky
2015-08-21Merge bottle install without Xcode branchMisty De Meo
Merge branch 'bottle_hooks'
2015-08-21Call check_xcode check for CLT, tooWilliam Woodruff
2015-08-21Add guards to calls that would trigger Xcode install requestsWilliam Woodruff
add guard in Formula#file_modified? to prevent git popup add guard in Superenv.bin before calling MacOS::Xcode.version add guard against missing Xcode/CLT in Xcode.uncached_version return nil instread of 0 in uncached_version when Xcode/CLT are not present, to distinguish from linuxbrew behavior checks against pour_bottle? and needs_relocation?, add guard around keg.relocate_install_names to check pour_bottle?/needs_relocation? as well needs_relocation? becomes skip_relocation?, use cellar attr to indicate relocation instead of does_not_need_relocation MacOS.can_build? becomes MacOS.has_apple_developer_tools?
2015-08-21FormulaInstaller: add prevent_build_flags to eliminate code repetitionWilliam Woodruff
remove unneeded definition change variable in FormulaInstaller.check_build_flags from bf to build_flags
2015-08-21Install: add BuildToolsError and BuildFlagsErrorWilliam Woodruff
Add these new errors, and guards in formula installation and cmd/{,un,re}install to match, move can_build? to the MacOS module, flatten conditions, remove redundant can_build? check reinstate removed (doctor) check
2015-08-21MacOS: update locate_cctoolWilliam Woodruff
This becomes MacOS.{install_name_tool,otool}, only do check_xcode if xcode is installed, otherwise emit a warning
2015-08-21Requirements: add CctoolsRequirementWilliam Woodruff
Install it as a dependency unless already satisfied by Xcode. require cctools_requirement cctools_requirement should be satisfied by cctools present in opt add build_env => false to the satify block options in CctoolsRequirement
2015-08-21Install: remove check_for_bad_install_name_toolWilliam Woodruff
Until it can be adapted to not call otool on systems w/o XCode/CLT
2015-08-15install: f.oldname can be nilXu Cheng
2015-08-14install: mention if installed formula isn't migrated.Mike McQuaid
Closes Homebrew/homebrew#42940. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-08-09put caveats in finish after post_install Homebrew/homebrew#42565Rafael Kitover
When running brew -v install, long post_install output from the formula, presumably from upstream, may hide the important instructions in the caveats and confuse the user. For example, postgresql runs initdb which prints its own instructions for running the database, making the caveats scroll off screen. Per xu-cheng's instructions in Homebrew/homebrew#42565 : Remove the explicit call to caveats from the install, reinstall, and upgrade commands, as well as the dependency installer code in FormulaInstaller#install_dependency , and call caveats right before the summary code in FormulaInstaller#finish . Closes Homebrew/homebrew#42565. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-08-06add fully qualified name for core formulaeCNA-Bld
2015-08-03Core files style updates.BrewTestBot
Closes Homebrew/homebrew#42354. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-07-17use ohai headers at the top of search resultsAlex Dunn
Closes Homebrew/homebrew#41832.
2015-07-11cmd/install: fix install warning timeout.Mike McQuaid
2015-07-11install: cleanup outdated repository warning.Mike McQuaid
2015-07-11cmd/install: check time of last update if FormulaUnavailableErrorAlex Dunn
Closes Homebrew/homebrew#40035. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
2015-06-16Move 10.11 warning to doctor, pre-install, and post-failureJack Nagel
Fixes Homebrew/homebrew#40778.
2015-05-29install: use Formula#full_nameXu Cheng
2015-03-11install: refactoring blacklist checkXu Cheng
Closes Homebrew/homebrew#37590. Signed-off-by: Xu Cheng <xucheng@me.com>
2015-03-05cmd/install: add force/debug/verbose to cask.Mike McQuaid
Closes Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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 Homebrew/homebrew#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