aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/install.rb
AgeCommit message (Collapse)Author
2018-02-01docs: add more missing option descriptionsEricFromCanada
and improve wording or formatting where necessary.
2017-10-18Use “squiggly” heredocs.Markus Reiter
2017-10-08Clean up code style and remove `.rubocop_todo.yml`.Markus Reiter
2017-09-28install.rb: stop early if there are no formulae to be installedMaxim Belkin
2017-07-28formula_installer: simplify callers.Mike McQuaid
There's a bunch of duplication going on that's not really necessary.
2017-07-11Add a suitable explanatory lineVonUniGE
2017-07-08Update documentation of brew install syntax to match its actual behavior.VonUniGE
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-04Merge pull request #2599 from peternewman/patch-11.2.2Mike McQuaid
Fix internal links on the manpage
2017-06-04Change manpage internal links in correct location.Mike McQuaid
2017-06-02install: fix cask install with env filtering.Mike McQuaid
With `HOMEBREW_ENV_FILTERING` simply running `brew` is not sufficient to find `brew cask` so the full path needs to be passed.
2017-05-27Improve some `brew install` messaging.Mike McQuaid
Improve the messaging around `brew install` when there's a possible user action such as an `upgrade` or `link` and don't tell people to `install --force` when it's unnecessary. While I did this, tweak the output and function usage in a couple of related places. Some example output before this change: ``` Warning: openssl is a keg-only and another version is linked to opt. Use `brew install --force` if you want to install this version Warning: mysql@5.6 is a keg-only and another version is linked to opt. Use `brew install --force` if you want to install this version Warning: analog-6.0_1 already installed Warning: bash-completion@2-2.5 already installed, it's just not linked. ``` Some example output after this change: ``` Error: openssl 1.0.2k is already installed To upgrade to 1.0.2l, run `brew upgrade openssl` Warning: mysql@5.6 5.6.36_1 is already installed Warning: analog 6.0_1 is already installed Warning: bash-completion@2 2.5 is already installed, it's just not linked. You can use `brew link bash-completion@2` to link this version. ```
2017-04-18install: don't search when formula is unreadable.Mike McQuaid
These formulae are detected as missing but exist in an unreadable form. Fixes #2485
2017-04-17install: use include instead of regex.Mike McQuaid
2017-04-15install: do not search taps when a qualified formula is missingZhiming Wang
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