15323 Commits

Author SHA1 Message Date
Markus Reiter
e719744248 Refactor brew style. 2019-10-05 00:20:06 +02:00
Markus Reiter
b6b9cd248c Refactor brew cask style. 2019-10-04 23:43:48 +02:00
Markus Reiter
a49282c318 Simplify return value logic. 2019-10-04 23:39:26 +02:00
Markus Reiter
9df563f25f Add Tty::color?. 2019-10-04 23:39:25 +02:00
Markus Reiter
7f39d333bc Move assert_success to SystemCommand::Result. 2019-10-04 23:39:25 +02:00
Markus Reiter
e351e6b31c
Merge pull request #6482 from alecclarke/run-style-checks-on-test-casks
Include test casks in the cask style check.
2019-10-04 23:15:59 +02:00
Mike McQuaid
7c74fae38e
brew vendor-gems: commit updates. 2019-10-04 13:14:55 +01:00
dependabot-preview[bot]
04db2c3127
build: bump i18n from 1.6.0 to 1.7.0 in /Library/Homebrew
Bumps [i18n](https://github.com/svenfuchs/i18n) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/svenfuchs/i18n/releases)
- [Changelog](https://github.com/ruby-i18n/i18n/blob/master/CHANGELOG.md)
- [Commits](https://github.com/svenfuchs/i18n/compare/v1.6.0...v1.7.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-04 09:40:25 +00:00
Markus Reiter
c7f2ecc586
Merge pull request #6515 from amyspark/add-xattr-check
Cask: add doctor check for xattr
2019-10-04 01:40:11 +02:00
L. E. Segovia
eccdc4c253
Cask: address @reitermarkus's comments 2019-10-03 20:21:32 +00:00
Mike McQuaid
8ff2e9ae4e
Improve speed of HOMEBREW_AUTO_UPDATE_SECS
This variable allows a user to configure how often `brew update` runs.
With the previous implementation, however, it was still pretty slow as
it would run some of `brew update` even within the timeout. This feels
related to complaints about Homebrew "feeling slow" since we enabled
this. Address this by:

- making `HOMEBREW_AUTO_UPDATE_SECS` behave more like
  `HOMEBREW_NO_AUTO_UPDATE` and entirely skip the invocation of
  `brew update` if the relevant tap (homebrew-core or homebrew-cask
  depending on command invoked) has been checked in the last
  `HOMEBREW_AUTO_UPDATE_SECS`
- Only require/check the update of a single tap rather than every tap
- Increase the default value of `HOMEBREW_AUTO_UPDATE_SECS` from 1m
  to 5m to cut people a bit more slack. We're not updating things
  often enough for 1m not to feel a bit overkill and 5m feels
  appropriate for a Homebrew "session" to only require a single update.
2019-10-03 12:54:34 +01:00
Mike McQuaid
4f3d65c972
Merge pull request #6504 from dawidd6/cat
cat: check for HOMEBREW_BAT and set 'bat' as pager
2019-10-03 11:37:44 +01:00
Markus Reiter
04b87385d0
Merge pull request #6518 from melvyn2/patch-1
Quiet SVN output
2019-10-03 10:10:02 +02:00
Markus Reiter
9a6d7dd2fa
Merge pull request #6525 from reitermarkus/cask-taps
Disable tapping of `caskroom` taps.
2019-10-03 10:07:43 +02:00
Markus Reiter
b1d0c61fea Update Gems. 2019-10-03 09:22:44 +02:00
dependabot-preview[bot]
a5038bea1e
build: bump parser from 2.6.4.1 to 2.6.5.0 in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 2.6.4.1 to 2.6.5.0.
- [Release notes](https://github.com/whitequark/parser/releases)
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v2.6.4.1...v2.6.5.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 04:25:20 +00:00
dependabot-preview[bot]
33bb153dfd
build: bump rspec-mocks from 3.8.1 to 3.8.2 in /Library/Homebrew
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/rspec/rspec-mocks/releases)
- [Changelog](https://github.com/rspec/rspec-mocks/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-mocks/compare/v3.8.1...v3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-03 01:44:22 +00:00
Markus Reiter
bd666fbc79 Disable tapping of caskroom taps. 2019-10-02 23:30:45 +02:00
Dawid Dziurla
25454a9257
cat: look for HOMEBREW_BAT 2019-10-02 21:59:45 +02:00
Melvyn Depeyrot
cf040149c4
Respect ARGV.verbose
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-02 07:03:13 -07:00
Melvyn Depeyrot
554aca9522
Quiet SVN output 2019-10-01 17:25:52 -07:00
L. E. Segovia
caf7df5840
Cask: add doctor check for xattr
CC: Homebrew/homebrew-cask#69660
2019-10-01 11:17:27 +00:00
Markus Reiter
0a1985d46a Disable curl globbing. 2019-10-01 08:38:44 +02:00
Mike McQuaid
5354ba84e6
Merge pull request #6508 from dawidd6/default-prefixes
define default prefix constants
2019-09-30 16:30:32 +01:00
Dawid Dziurla
8ff7601a92
define default prefix constants
also use them to detect if prefix line in bottle block is needed
2019-09-30 16:46:53 +02:00
Mike McQuaid
5d01f4a0f7
Merge pull request #6501 from Homebrew/dependabot/bundler/Library/Homebrew/minitest-5.12.2
build: bump minitest from 5.12.0 to 5.12.2 in /Library/Homebrew
2019-09-30 15:33:40 +01:00
Shaun Jackman
495d2e2870 Install bottle deps only when a bottle was poured
Only install the bottle depenencies when a bottle was in fact poured.
In particular, if the dependencies are already satisfied,
then there's no need to install the bottle dependencies.
2019-09-29 23:29:49 -07:00
Dawid Dziurla
b31b14f786
cat: use HOMEBREW_VISUAL as pager if set 2019-09-29 18:01:38 +02:00
dependabot-preview[bot]
fe570c8c65
build: bump minitest from 5.12.0 to 5.12.2 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.12.0 to 5.12.2.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-29 00:26:35 +00:00
Mike McQuaid
f03301511a
brew vendor-gems: commit updates. 2019-09-27 15:27:40 +01:00
Mike McQuaid
eb9a31b52b
requirement_spec: use describe correctly. 2019-09-27 15:27:21 +01:00
dependabot-preview[bot]
916fd833ef
build: bump rubocop-rspec from 1.35.0 to 1.36.0 in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop-hq/rubocop-rspec) from 1.35.0 to 1.36.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-rspec/compare/v1.35.0...v1.36.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-27 14:03:19 +00:00
Markus Reiter
749b6ded72
Merge pull request #6491 from dawidd6/create-perl
create: add --perl option
2019-09-26 20:55:31 +02:00
Dawid Dziurla
de4d08028e
create: add --perl option 2019-09-26 20:12:35 +02:00
Markus Reiter
2c7091f06d
Merge pull request #6495 from reitermarkus/curl-http2-eof
Add workaround for `curl: (56) Unexpected EOF`.
2019-09-26 17:44:23 +02:00
Gautham Goli
ae08b15cbe
Merge pull request #6479 from GauthamGoli/argv-cleanup-5
cli_args: Fix options_only and flags_only
2019-09-26 11:49:19 +05:30
Gautham Goli
e88f6b9da9 args: Add passthrough method and tests 2019-09-26 10:33:40 +05:30
Markus Reiter
70822d2bdb Add workaround for curl: (56) Unexpected EOF. 2019-09-26 05:17:51 +02:00
Dawid Dziurla
b4c56937b1
create: add --rust option 2019-09-25 14:29:09 +02:00
Mike McQuaid
1279bba345
Merge pull request #6485 from dawidd6/create-python
create: add --python option
2019-09-25 13:20:53 +01:00
Dawid Dziurla
da19c15c10
create: simplify conditional in template 2019-09-25 13:59:00 +02:00
Dawid Dziurla
3eef564beb
create: add commented out resource block if --python 2019-09-25 13:41:56 +02:00
Mike McQuaid
c9e0ba7d9b
formula_installer: output better tapped formula message.
If we don't have a tab in the receipt then don't print this message and
just continue as-is.
2019-09-25 10:46:06 +01:00
Dawid Dziurla
7b1288f658
create: add --python option 2019-09-24 19:35:21 +02:00
Mike McQuaid
28fc268060
Merge pull request #6475 from dawidd6/create-go-mod
create: add --go-mod option
2019-09-24 16:44:51 +01:00
Dawid Dziurla
a243f084e6
create: --go-mod -> --go 2019-09-24 16:49:27 +02:00
Alec Clarke
45806f6a97 Include test casks in the cask style check.
Currently the tests casks found in "/Homebrew/test/support/fixtures/cask/Casks" and "/Homebrew/test/support/fixtures/third-party/Casks" aren't included in the paths checked when running "brew cask style".

This change includes these test cask paths in the checked paths, and also includes the auto style fixes made by running `brew cask style --fix`.
2019-09-23 08:50:24 -04:00
Gautham Goli
393c8dfbf1 ARGV: Replace options_only and flags_only with Homebrew.args counterparts 2019-09-23 12:39:22 +05:30
dependabot-preview[bot]
ee502a5f23
build: bump minitest from 5.11.3 to 5.12.0 in /Library/Homebrew
Bumps [minitest](https://github.com/seattlerb/minitest) from 5.11.3 to 5.12.0.
- [Release notes](https://github.com/seattlerb/minitest/releases)
- [Changelog](https://github.com/seattlerb/minitest/blob/master/History.rdoc)
- [Commits](https://github.com/seattlerb/minitest/compare/v5.11.3...v5.12.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-09-23 06:25:37 +00:00
Gautham Goli
d18b122272 cli_args: Fix options_only and flags_only 2019-09-22 20:28:43 +05:30