16613 Commits

Author SHA1 Message Date
Mike McQuaid
aa043c1d67
Merge pull request #6558 from MikeMcQuaid/ruby-2.6-fixes
Ruby 2.6.3 fixes
2019-10-08 19:35:41 +01:00
Mike McQuaid
8a8fc68264
Ruby 2.6.3 brew tests fixes 2019-10-08 17:39:31 +01:00
dependabot-preview[bot]
85f9c65301
build: bump rspec from 3.8.0 to 3.9.0 in /Library/Homebrew
Bumps [rspec](https://github.com/rspec/rspec) from 3.8.0 to 3.9.0.
- [Release notes](https://github.com/rspec/rspec/releases)
- [Commits](https://github.com/rspec/rspec/compare/v3.8.0...v3.9.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-08 16:25:24 +00:00
Mike McQuaid
cf34e1bec8
os/mac/diagnostic: allow Ruby 2.6.3 on Catalina. 2019-10-08 17:17:28 +01:00
Mike McQuaid
7ed95ab48e
man: die if blank output received. 2019-10-08 16:37:45 +01:00
Mike McQuaid
59e3cc7990
Merge pull request #6540 from davidosomething/support-zdotdir
Fix #6533 - Add support for zsh ZDOTDIR
2019-10-08 12:38:27 +01:00
Mike McQuaid
36bc11b01a
utils/shell: match preferred shell by symbol. 2019-10-08 12:10:31 +01:00
Mike McQuaid
d063a088f1
Merge pull request #6553 from tschoonj/gcab-1.3
audit: add gcab 1.3 to whitelist
2019-10-08 10:26:16 +01:00
Tom Schoonjans
9fc495125d audit: add gcab 1.3 to whitelist 2019-10-08 10:00:28 +01:00
Mike McQuaid
29ab0ed571
Merge pull request #6500 from fxcoudert/catalina
os/mac: support Catalina, drop Sierra
2019-10-08 09:50:47 +01:00
Mike McQuaid
972b0aa17f
os/mac/xcode: bump Catalina Xcode versions. 2019-10-08 09:31:07 +01:00
dependabot-preview[bot]
953286df7f
build: bump rspec-expectations from 3.8.5 to 3.8.6 in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.8.5 to 3.8.6.
- [Release notes](https://github.com/rspec/rspec-expectations/releases)
- [Changelog](https://github.com/rspec/rspec-expectations/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-expectations/compare/v3.8.5...v3.8.6)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 20:07:32 +00:00
Mike McQuaid
203f8d66a7
Merge pull request #6547 from MikeMcQuaid/sandbox-allow-more-tty
sandbox: allow more TTYs.
2019-10-07 15:40:37 +01:00
David O'Trakoun
5ca4b43383
Update Library/Homebrew/utils/shell.rb
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-07 10:25:41 -04:00
Mike McQuaid
1cd75e4298
sandbox: allow more TTYs.
This is needed on Catalina.

Fixes #6546
2019-10-07 14:51:33 +01:00
沙漠之子
52511d3f77
Modify curl's header option -H to --header 2019-10-07 18:56:03 +08:00
沙漠之子
e1a592c76c
Adding the header option to CurlDownloadStrategy.
It's easy to access github private resources later through specific `header` settings.
e.g.
```
cask 'XXXX' do
...
  url "https://raw.githubusercontent.com/....",
      header : "Authorization: token #{ENV['HOMEBREW_GITHUB_API_TOKEN']}"
...
end
 ```
2019-10-07 16:19:33 +08:00
dependabot-preview[bot]
2d47dd274d
build: bump parallel from 1.17.0 to 1.18.0 in /Library/Homebrew
Bumps [parallel](https://github.com/grosser/parallel) from 1.17.0 to 1.18.0.
- [Release notes](https://github.com/grosser/parallel/releases)
- [Commits](https://github.com/grosser/parallel/compare/v1.17.0...v1.18.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-10-07 06:01:21 +00:00
L. E. Segovia
8ec48b0c72
Fix symlink validation in Mojave 2019-10-06 23:27:24 +00:00
David O'Trakoun
960b8b659c
Support for zsh ZDOTDIR, FIX #6533
- Add test spec with ZDOTDIR set and unset
2019-10-06 12:40:18 -04:00
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
Jacob Ford
ea0150f7a3 Make invalid command error language consistent with brew core 2019-10-04 14:27:32 -04: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
L. E. Segovia
1ddafee614
Cask: address @reitermarkus's comments 2019-10-03 20:16:01 +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
Ninan John
aed6bc194d Show correct message when invalid arguments are passed to brew 2019-10-03 14:21:24 +05:30
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
L. E. Segovia
70c49809fe
Cask: typo in trash_paths 2019-10-02 14:09:26 +00:00
Melvyn Depeyrot
cf040149c4
Respect ARGV.verbose
Co-Authored-By: Mike McQuaid <mike@mikemcquaid.com>
2019-10-02 07:03:13 -07:00
L. E. Segovia
b9a3884ebf
Cask: output files requiring sudo to console 2019-10-02 13:36:05 +00:00
Melvyn Depeyrot
554aca9522
Quiet SVN output 2019-10-01 17:25:52 -07:00
L. E. Segovia
aa85bec73e
Fix style issues 2019-10-02 00:25:38 +00:00
L. E. Segovia
caf7df5840
Cask: add doctor check for xattr
CC: Homebrew/homebrew-cask#69660
2019-10-01 11:17:27 +00:00
L. E. Segovia
f980ac82b9
Cask: refuse to trash root-owned files
These files cannot be trashed from CLI without sudo, which trashes them
instead to root's Trash. AppleScript isn't of use here because it will
break Travis (as it will fail when asking for admin permissions).

Fixes homebrew/homebrew-cask#69897
2019-10-01 11:12:23 +00:00
Markus Reiter
0a1985d46a Disable curl globbing. 2019-10-01 08:38:44 +02:00