aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
AgeCommit message (Collapse)Author
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
2017-05-07Revert "Merge pull request #2597 from MikeMcQuaid/vendor-gems"Mike McQuaid
This reverts commit 3e4547f52e7ebec633f8bfefc8a396d944edf908, reversing changes made to 6edf9382bcc1240ad6f97c8b752cfe56cef9965d.
2017-05-07Vendor all Homebrew's gems.Mike McQuaid
Homebrew's actually ended up using a fair few gems. While we want to avoid Bundler at runtime (and this PR still does that, in fact uses Bundler even less at runtime than it did before) writing our own version to use at build-time seems redundant.
2017-05-03style: fix audit --onlineMike McQuaid
This passed a symbol to `:except_cops` which caused a :boom:.
2017-05-03style: don't require rubocop until installed.Mike McQuaid
This avoids an error when RuboCop installed installed yet. CC @GauthamGoli FYI.
2017-05-03Merge pull request #2531 from GauthamGoli/audit_cops_options_refactorMike McQuaid
audit: Allow skipping/selective running of cops and cops refactor