aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
2017-04-02Handle missing receipt on `brew install`.Mike McQuaid
For example if this is for a really old keg, keg where a user has manually removed stuff or used `brew diy`.
2017-04-02Document all short flags.Mike McQuaid
2017-03-31install: perform rename migrations when needed.Mike McQuaid
2017-03-23install: immediately print FormulaUnavailableError.Mike McQuaid
2017-03-20missing_formula: subsume historic logic.Mike McQuaid
These methods belong together so combine them in a single class to provide a simpler API.
2017-03-20blacklist: move to missing_formula class instead.Mike McQuaid
This will allow extending this class so it can be used by more than just blacklisting.
2017-03-20Hint at new location of migrated formulaeZhiming Wang
Partial implementation of https://github.com/Homebrew/brew-evolution/pull/15, along with the ability to search for deleted formulae in git history (inspired by #1996) which is not described in the proposal. See also: #1371.
2017-03-05Add more flags and descriptions to man pages.EricFromCanada
2017-01-18install: set installed_{as_dependency,on_request}.Mike McQuaid
2017-01-15Fix documentation for HEAD upgrades.Mike McQuaid
These can now be done with just `brew upgrade`, like other upgrades. Fixes #1818.
2017-01-02bottles: --force-bottle feigns or_later.Mike McQuaid
When reproducing issues with software that hasn’t been bottled yet on your version of macOS it can sometimes be helpful to use `or_later` bottle functionality i.e. just use the bottle for the latest version of macOS available. This maps well to the existing `--force-bottle` argument so it will now act as if the latest bottle has a `or_later` ending.
2016-12-03cmd/install: allow to install any specUladzislau Shablinski
* installing HEAD keg_only should be possible only if: 1. - Old version installed differs from new one and optlinked - `--force` flag is passed - HEAD is seriously outdated or outdated with `--fetch-HEAD` or 2. - Old version installed differs from new one and not optlinked or 3. - This formula is not installed * installing keg_only should be possible only if: 1. - Old version installed differs from new one and optlinked - `--force` flag is passed or 2. - Old version installed differs from new one and not optlinked or 3. - This formula is not installed * installing HEAD should be possible only if: 1. - Old HEAD is seriously outdated or outdated with `--fetch-HEAD` or 2. - HEAD is not installed * installing stable or devel should be possible only if: - Old version installed differs from new one
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