15143 Commits

Author SHA1 Message Date
Cheng XU
1d957c2029
system_command: automatically find secrets from ENV 2019-07-18 15:10:15 +08:00
Cheng XU
66697d4290
ENV: add sensitive_environment function
ENV#sensitive_environment is used to list all sensitive environments.

Also refactor the code on determining whether an environment is sensitive.
2019-07-18 15:06:33 +08:00
Cheng XU
9232ca4508
system_command: allow redacting secrets in the log
Add a new argument `secrets` to specify secret tokens, so we can redact them in the log.
2019-07-18 15:06:32 +08:00
Mike McQuaid
6fcd4734db
Merge pull request #6297 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.73.0
build: bump rubocop from 0.72.0 to 0.73.0 in /Library/Homebrew
2019-07-17 09:21:10 +01:00
Mike McQuaid
dca43851af
download_strategy: fix brew style, refactor. 2019-07-16 21:10:36 +01:00
Mike McQuaid
12a0c281ea
cask/cmd/info: fix brew style, refactor. 2019-07-16 21:10:21 +01:00
Cheng XU
ce00a94737
remove extra command output when running brew list -v <formula>
`brew list -v <formula>` is used to list all files inside formula's keg.

However since 70b93f65eab70cd84d221059a2864a52202df141, an extra
`find /usr/local/Cellar/<formula>/<version> -not -type d -print` will be
printed out. Fix the problem by using `system_command!` instead of
`safe_system`.
2019-07-16 18:41:37 +08:00
dependabot-preview[bot]
f96afdbf41
build: bump rubocop from 0.72.0 to 0.73.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.72.0 to 0.73.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.72.0...v0.73.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-16 09:46:36 +00:00
EricFromCanada
7812f6984e audit: whitelist openssl@1.1 in new formulae 2019-07-15 23:00:58 -04:00
Chongyu Zhu
ba9dde9a4e
python_virtualenv_constants: upgrade virtualenv to 16.6.2 2019-07-15 08:32:56 +08:00
Chongyu Zhu
02b97600af
bottle_publisher: fix bottle info accessor 2019-07-11 03:45:07 +08:00
Michka Popoff
1798deda05
Merge pull request #5758 from iMichka/pull
pull: allow to pull from merge commits
2019-07-10 19:25:42 +02:00
Markus Reiter
de5cd926e6
Merge pull request #6270 from reitermarkus/config-dirs
Don't treat non-directory arguments as paths.
2019-07-09 23:10:23 +02:00
Markus Reiter
40b67f19aa
Merge pull request #6289 from reitermarkus/cask-to_h
Add `token` to `Cask#to_h`.
2019-07-09 23:10:14 +02:00
Markus Reiter
162be6b411 Don't treat non-directory arguments as paths. 2019-07-09 20:50:01 +02:00
Markus Reiter
4cb8e6ddd0 Add token to Cask#to_h. 2019-07-09 20:43:45 +02:00
Shaun Jackman
0ac5cbbda9 java_dep_if_needed: Install adoptopenjdk for Linux
Install adoptopenjdk rather than openjdk for Linux.
openjdk is superseded by adoptopenjdk.
2019-07-08 09:43:12 -07:00
Mike McQuaid
2b83463091
Merge pull request #6281 from sjackman/adoptopenjdk
JavaRequirement: Change openjdk to adoptopenjdk
2019-07-08 09:09:56 +01:00
Mike McQuaid
77eaf0919b
Merge pull request #6282 from Homebrew/dependabot/bundler/Library/Homebrew/domain_name-0.5.20190701
build: bump domain_name from 0.5.20180417 to 0.5.20190701 in /Library/Homebrew
2019-07-08 07:29:25 +01:00
dependabot-preview[bot]
08cd8a6bb8
build: bump tins from 1.20.3 to 1.21.0 in /Library/Homebrew
Bumps [tins](https://github.com/flori/tins) from 1.20.3 to 1.21.0.
- [Release notes](https://github.com/flori/tins/releases)
- [Commits](https://github.com/flori/tins/compare/v1.20.3...v1.21.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 05:32:34 +00:00
dependabot-preview[bot]
be3b71cc3b
build: bump domain_name in /Library/Homebrew
Bumps domain_name from 0.5.20180417 to 0.5.20190701.

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-08 05:32:00 +00:00
Shaun Jackman
bbbdb08b92 JavaRequirement: Change openjdk to adoptopenjdk 2019-07-07 10:08:56 -07:00
Michka Popoff
a70179d8b7 pull: extract bottle publishing code
and add tests
2019-07-03 21:18:17 +02:00
Michka Popoff
fb643a28f0 pull_spec: fix test 2019-07-03 21:05:21 +02:00
Michka Popoff
3c25ddc6ed pull: allow to pull from merge commits 2019-07-03 21:05:21 +02:00
Mike McQuaid
90f6e3988e
brew.sh: tweak USER comment. 2019-07-03 09:38:14 +01:00
Joe Horsnell
19fd56468f Gracefully handle missing USER env var
Prompted by https://github.com/Homebrew/install/pull/213
2019-07-01 17:25:25 +01:00
dependabot-preview[bot]
7d225078e9
build: bump rspec-core from 3.8.1 to 3.8.2 in /Library/Homebrew
Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.8.1 to 3.8.2.
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-core/compare/v3.8.1...v3.8.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-07-01 06:00:42 +00:00
Mike McQuaid
013d4381c0
brew vendor-gems: commit updates. 2019-06-25 17:59:47 +01:00
Mike McQuaid
531ef86ad2
dev-cmd/audit: fix brew style. 2019-06-25 17:57:43 +01:00
dependabot-preview[bot]
af91fac048
build: bump rubocop from 0.71.0 to 0.72.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 0.71.0 to 0.72.0.
- [Release notes](https://github.com/rubocop-hq/rubocop/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop/compare/v0.71.0...v0.72.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-25 14:44:37 +00:00
Vítor Galvão
92719b64dc Cask audit: -globoff in appcast curl 2019-06-24 16:34:47 +01:00
Mike McQuaid
573acc85a6
Merge pull request #6247 from zachauten/suggest-cask-cmd
brew install will suggest brew cask install
2019-06-24 15:15:25 +01:00
Zach Auten
25e7eaee1f brew install will suggest brew cask install
If the user tries to install a cask using brew install
then brew will suggest the user tries 'brew cask install'

closes #6245
2019-06-22 14:21:56 -04:00
Mike McQuaid
07f9b8efc6
brew vendor-gems: commit updates. 2019-06-21 12:16:55 +01:00
dependabot-preview[bot]
70d530c85c
build: bump rubocop-performance from 1.3.0 to 1.4.0 in /Library/Homebrew
Bumps [rubocop-performance](https://github.com/rubocop-hq/rubocop-performance) from 1.3.0 to 1.4.0.
- [Release notes](https://github.com/rubocop-hq/rubocop-performance/releases)
- [Changelog](https://github.com/rubocop-hq/rubocop-performance/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop-hq/rubocop-performance/compare/v1.3.0...v1.4.0)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-21 05:45:03 +00:00
Mike McQuaid
99ed23347a
formula: update caveats documentation. 2019-06-20 11:08:02 +01:00
Vítor Galvão
61623f97ca Cask audit: appcast fake user agent 2019-06-19 11:05:53 +01:00
Vítor Galvão
529e448189 Cask audit: decompress appcast 2019-06-19 00:19:30 +01:00
dependabot-preview[bot]
c60d4e651c
build: bump jaro_winkler from 1.5.2 to 1.5.3 in /Library/Homebrew
Bumps [jaro_winkler](https://github.com/tonytonyjan/jaro_winkler) from 1.5.2 to 1.5.3.
- [Release notes](https://github.com/tonytonyjan/jaro_winkler/releases)
- [Changelog](https://github.com/tonytonyjan/jaro_winkler/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tonytonyjan/jaro_winkler/commits)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-18 08:29:45 +00:00
Chongyu Zhu
08561335ce
python_virtualenv_constants: upgrade virtualenv to 16.6.1 2019-06-17 12:34:59 +08:00
Mike McQuaid
fddf5b16bd
Merge pull request #6232 from MikeMcQuaid/resource-fetch-default
Resource#fetch: verify downloads by default.
2019-06-15 18:28:19 +01:00
Mike McQuaid
3cfb028e7f
Resource#fetch: verify downloads by default.
This API is used internally correctly and externally mostly correctly
but #6230 reveals the external usage is fairly confusing and a bit
unsafe by default. Preserve the existing API while verifying the
checksum by default and providing an opt-out. Using the existing, safe
method will result in a double verification of the checksum which is
harmless. A Homebrew/homebrew-core PR will follow shortly to address
those cases.

Fixes #6230
2019-06-15 17:22:45 +01:00
Mike McQuaid
5abce1b511
Merge pull request #6229 from Homebrew/dependabot/bundler/Library/Homebrew/rspec-core-3.8.1
build: bump rspec-core from 3.8.0 to 3.8.1 in /Library/Homebrew
2019-06-14 13:47:35 +01:00
dependabot-preview[bot]
a9d3c3a824
build: bump rspec-core from 3.8.0 to 3.8.1 in /Library/Homebrew
Bumps [rspec-core](https://github.com/rspec/rspec-core) from 3.8.0 to 3.8.1.
- [Release notes](https://github.com/rspec/rspec-core/releases)
- [Changelog](https://github.com/rspec/rspec-core/blob/master/Changelog.md)
- [Commits](https://github.com/rspec/rspec-core/compare/v3.8.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-14 08:31:33 +00:00
dependabot-preview[bot]
66cdaf1743
build: bump parallel_tests from 2.29.0 to 2.29.1 in /Library/Homebrew
Bumps [parallel_tests](https://github.com/grosser/parallel_tests) from 2.29.0 to 2.29.1.
- [Release notes](https://github.com/grosser/parallel_tests/releases)
- [Commits](https://github.com/grosser/parallel_tests/compare/v2.29.0...v2.29.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 17:51:16 +00:00
dependabot-preview[bot]
9e1b174b1c
build: bump rspec-mocks from 3.8.0 to 3.8.1 in /Library/Homebrew
Bumps [rspec-mocks](https://github.com/rspec/rspec-mocks) from 3.8.0 to 3.8.1.
- [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.0...v3.8.1)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-13 14:16:13 +00:00
dependabot-preview[bot]
be596693a4
build: bump docile from 1.3.1 to 1.3.2 in /Library/Homebrew
Bumps [docile](https://github.com/ms-ati/docile) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/ms-ati/docile/releases)
- [Changelog](https://github.com/ms-ati/docile/blob/master/HISTORY.md)
- [Commits](https://github.com/ms-ati/docile/compare/v1.3.1...v1.3.2)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-12 19:37:26 +00:00
Mike McQuaid
7c04c34a88
system_config: hide HOMEBREW_BUNDLE_* env vars.
These are being introduced in e.g.
https://github.com/Homebrew/homebrew-bundle/pull/486 and we don't care
about them in Homebrew bug reports.
2019-06-12 12:43:44 +01:00
dependabot-preview[bot]
908ca1ac92
build: bump rspec-expectations from 3.8.3 to 3.8.4 in /Library/Homebrew
Bumps [rspec-expectations](https://github.com/rspec/rspec-expectations) from 3.8.3 to 3.8.4.
- [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.3...v3.8.4)

Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
2019-06-10 21:01:09 +00:00