aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
2017-08-07sandbox: stop printing message.Mike McQuaid
We’re always using the sandbox where possible now so this is just noise for the vast majority of our users.
2017-07-30Tweak preserve link status on reinstall/upgrade.Mike McQuaid
Treat a `brew install` command as normal i.e. link by default unless keg-only and only specify whether a keg should be linked when upgrading or reinstalling. Also, adjust the naming accordingly so it's more obvious that this is the case.
2017-07-30Preserve link status on reinstall/upgrade.Mike McQuaid
This means if a user has manually `brew unlink` or `brew link --force`d something then that status will be preserved after they `brew upgrade` or `brew reinstall` that formula. This generally should make things that are keg-only by default easier to swallow.
2017-07-28formula_installer: simplify callers.Mike McQuaid
There's a bunch of duplication going on that's not really necessary.
2017-07-27Use https for all docs.brew.sh links.Mike McQuaid
May as well use the more secure link when possible.
2017-07-18Add a rubocop config file to control cops' execution in audit and styleGautham Goli
2017-07-15style: disable NewFormulaAudit cops' execution by default unless specifiedGautham Goli
2017-07-13Merge pull request #2876 from VonUniGE/patch-1Mike McQuaid
Update documentation of brew install syntax to match its actual behav…
2017-07-11Add a suitable explanatory lineVonUniGE
2017-07-10Display "Use `brew upgrade foo` instead" when calling update with argsTim Marinin
So the user could just copy-paste the command.
2017-07-08Update documentation of brew install syntax to match its actual behavior.VonUniGE
2017-07-07Merge pull request #2853 from GauthamGoli/disable-strict-cops-brew-styleMike McQuaid
style: Don't run FormulaAuditStrict cops when `brew style foo` cmd is executed
2017-07-03style: Don't run FormulaAuditStrict cops when `brew style some_formula` cmd ↵Gautham Goli
is executed
2017-07-02Merge pull request #2842 from GauthamGoli/audit_only_cops_optionMike McQuaid
audit: Don't run audit methods when `--only-cops` option is passed
2017-06-30audit: Don't run audit methods when `--only-cops` is passedGautham Goli
2017-06-28Refactor using `Forwardable` and `DelegateClass`.Markus Reiter
2017-06-20🔨 Fix sorting on APFS.Markus Reiter
2017-06-15Fix outdated `--repository` man documentationMatthew Strax-Haber
2017-06-12Merge pull request #2769 from MikeMcQuaid/rubocop-no-perl-backrefs1.2.3Mike McQuaid
rubocop: don’t allow Perl regex backrefs.
2017-06-12Autocorrect Rubocop Style/SpecialGlobalVars.Mike McQuaid
2017-06-10Autocorrect Rubocop Style/PerlBackrefs.Mike McQuaid
2017-06-08reinstall: keg.rmtree isn't a method.Mike McQuaid
2017-06-07reinstall: remove partially installed keg.Mike McQuaid
Previously if a `brew reinstall` was Ctrl-Cd after some files had been installed it wouldn't try to remove the partially installed keg and the renaming of the backed-up keg would fail. Alternatively, remove the partially installed keg as if it has been Ctrl-Cd or otherwise failed then it's not desirable to keep it.
2017-06-05cmd/reinstall: Fix reinstallation of formulae without bottlesBob W. Hogg
Reinstallation of non-bottled formulae was failing because it used a deprecated method. Signed-off-by: Bob W. Hogg <rwhogg@linux.com>
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-03Fix `rubocop` in `brew audit`.Markus Reiter
2017-06-03Merge pull request #2720 from MikeMcQuaid/install-cask-env-filteringMike McQuaid
install: fix cask install with env filtering.
2017-06-03Merge pull request #2716 from reitermarkus/re-revertMarkus Reiter
Re-revert "Fix operator spacing."
2017-06-02search: don’t exclude Caskroom results even if tapped.Mike McQuaid
As they are not shown in the normal `brew search` output.
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-06-02Re-revert "Fix operator spacing."Markus Reiter
2017-06-01Revert "Fix operator spacing."ilovezfs
2017-05-31Fix operator spacing.Markus Reiter
2017-05-30vendor-install: use Ruby as a sha256 fallbackMisty De Meo
But still prefer shasum/sha256sum where present.
2017-05-29Fixup all RuboCop warnings.Mike McQuaid
2017-05-29Use parallel RuboCopMike McQuaid
This requires updating to Rubocop 0.49.0 which will require some fixes to rules, in Homebrew/brew and Homebrew/homebrew-core but opening this for now so I remember.
2017-05-29Use `Formatter::pluralize` where possible.Markus Reiter
2017-05-29Merge pull request #2682 from MikeMcQuaid/improve-installed-messagingMike McQuaid
Improve some `brew install` messaging.
2017-05-29Use `XDG_CACHE_HOME` for RuboCop.Markus Reiter
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-05-23vendor-install: fix array syntax for old bashMisty De Meo
2017-05-23vendor-install: check -x on output of whichMisty De Meo
This works around older versions of `which`, which return a string on failure.
2017-05-22Add `CLI::Options` DSL.Markus Reiter
2017-05-18Merge pull request #2537 from reitermarkus/pathname-to_strMarkus Reiter
Remove `to_s` from some `Pathname`s.
2017-05-16info: fix conflicts formatting.Mike McQuaid
2017-05-16Merge pull request #2470 from johnhawkinson/conflicts-infoMike McQuaid
Display formula conflict reasons
2017-05-15info: tweak conflicts output code.Mike McQuaid
2017-05-14info: use more string interpolationJohn Hawkinson
2017-05-08Remove `to_s` from some `Pathname`s.Markus Reiter