aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
2016-11-13Merge pull request #1217 from MatzFan/invalid_build_option_warningsMike McQuaid
Invalid build option warnings - supersedes #1088
2016-11-12fix other 10 failing tests - dohBruce Steedman
2016-11-05install: only check fatal development tools checks.Mike McQuaid
2016-11-05Added a hint how to link a formula that is installed but not linkedihatetoregister
2016-10-23tap_constants: rename HOMEBREW_CASK_TAP_FORMULA_REGEXJosh Hagins
New name is HOMEBREW_CASK_TAP_CASK_REGEX
2016-10-15Convert `puts_columns` to `puts Formatter.columns`.Markus Reiter
2016-10-15Don’t use `puts_columns` if `empty?` or single item.Markus Reiter
2016-10-04Merge pull request #1145 from reitermarkus/module-functionMarkus Reiter
Use `module_function` for `Homebrew` module.
2016-10-03invalid build options - fixed conflicts; renameBruce Steedman
2016-10-02Use `module_function` for commands.Markus Reiter
2016-10-01install: remove not updated warning.Mike McQuaid
This is no longer relevant after moving to taps/tags and if ever re-added it should probably target homebrew/core. Fixes #1194.
2016-09-24Fix Style/GuardClause.Markus Reiter
2016-09-23Fix Style/GuardClause.Markus Reiter
2016-09-19Merge pull request #971 from penman/follow_aliasMike McQuaid
Make `brew upgrade` and `brew outdated` follow alias changes
2016-09-18install: don't install alias if already installedAlyssa Ross
2016-09-18Use new "macOS" naming where appropriate.Mike McQuaid
Not quite a mass replacement as I've used OS X and Mac OS X where describing specific older versions and added compatibility methods for things in the DSL.
2016-09-11cmd/install: fix Rubocop warnings.Mike McQuaid
2016-09-07Refactor MacOS check_development_tools usage.Mike McQuaid
Better use the abstraction layer so e.g. Linux could have similarly fatal checks for these things.
2016-08-30install: die if Xcode/CLT not up-to-date on prereleasesDominyk Tiller
2016-08-10Improve formula not found handling (#96)Misty De Meo
2016-08-05various: eliminate the usage of `any?` (#638)Xu Cheng
`any?` is not the opposite of `empty?`. Besides the case that `[false, nil].any?` will return false, `any?`(O(n)) has much worse performance than `empty?`(O(1)).
2016-07-29Add missing development_tools requires.Mike McQuaid
2016-07-08cmd/install: port to generic OS. (#458)Mike McQuaid
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