20525 Commits

Author SHA1 Message Date
Vítor Galvão
e3d515105b cask audit: do not require description for fonts 2021-02-02 14:06:11 +00:00
Mike McQuaid
4355f7cf25
homebrew_bootsnap: use utils/gems.
This is more robust e.g. if we don't have a `bundler` already installed.
2021-02-02 13:51:09 +00:00
Rylan Polster
3b8fa5a7af
Merge pull request #10466 from Rylan12/rubocop-reduce-todo
Reduce rubocop violations in tests
2021-02-02 08:23:36 -05:00
Mike McQuaid
a31d0f85d2
Merge pull request #10481 from MikeMcQuaid/bootsnap-improvements
bootsnap: various improvements.
2021-02-02 12:58:42 +00:00
Carlo Cabrera
a3692ce3af
Merge pull request #10479 from jonchang/fix-macos-java
java: fix java_home on macOS
2021-02-02 12:45:28 +00:00
Mike McQuaid
3b0e8b7cf0
Document HOMEBREW_{,NO_}BOOTSNAP variables. 2021-02-02 12:34:15 +00:00
Mike McQuaid
89fc131422
Gemfile: install bootsnap.
And allow type checking of `homebrew_bootsnap.rb`.
2021-02-02 12:34:15 +00:00
Mike McQuaid
36c292f278
cleanup: cleanup bootsnap files. 2021-02-02 12:34:15 +00:00
Mike McQuaid
240d2c34fb
utils/fork: fix bootsnap handling.
Also, while we're here:

- remove unused block argument
- remove unneeded RuboCop disable comment
2021-02-02 12:34:14 +00:00
Mike McQuaid
7912b1e043
homebrew_bootsnap: various improvements.
- Add `HOMEBREW_NO_BOOTSNAP` as well as `HOMEBREW_BOOTSNAP`
- Guard the whole file rather than `raise` on inclusion.
- Use `HOMEBREW_CACHE` instead of `HOMEBREW_TEMP`
- Don't try to use Bootsnap with macOS portable ruby
2021-02-02 12:33:57 +00:00
Carlo Cabrera
234c1f14b8
java_spec: fix tests
The tests need to match the changes reverted in d6bba1c4938ea9c9a9d58ba2f209775dd71a8537.
2021-02-02 12:15:15 +00:00
Mike McQuaid
c538d4d84e
Merge pull request #10480 from MikeMcQuaid/remove_deprecated_bootsnap_option
homebrew_bootsnap: remove deprecated option.
2021-02-02 11:12:13 +00:00
Mike McQuaid
c159002b4f
Merge pull request #10477 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.9.1
build(deps): bump rubocop from 1.9.0 to 1.9.1 in /Library/Homebrew
2021-02-02 11:10:49 +00:00
Mike McQuaid
b33a24feb0
homebrew_bootsnap: remove deprecated option.
Otherwise this prints a warning.
2021-02-02 10:29:30 +00:00
Mike McQuaid
bebd49b4a8
Merge pull request #10462 from EricFromCanada/cask-config-explicit-string
cask/config: new method for cask.config.explicit as string
2021-02-02 10:05:32 +00:00
Mike McQuaid
47b6b42143
Merge pull request #10478 from Homebrew/dependabot/bundler/Library/Homebrew/mechanize-2.7.7
build(deps): bump mechanize from 2.7.6 to 2.7.7 in /Library/Homebrew
2021-02-02 10:05:00 +00:00
Mike McQuaid
f9b16fad7a
Merge pull request #10475 from MikeMcQuaid/prof-exit-code
dev-cmd/prof: allow non-zero exit code.
2021-02-02 09:08:33 +00:00
Jonathan Chang
d6bba1c493 java: fix java_home on macOS 2021-02-02 18:49:29 +11:00
BrewTestBot
c6785c7281 Update RBI files for mechanize. 2021-02-02 06:06:26 +00:00
BrewTestBot
8f69e63712 Update RBI files for rubocop. 2021-02-02 06:06:04 +00:00
BrewTestBot
99d8e9af87 brew vendor-gems: commit updates. 2021-02-02 06:05:35 +00:00
BrewTestBot
d6a92afd6a brew vendor-gems: commit updates. 2021-02-02 06:05:10 +00:00
dependabot[bot]
5badc08e31
build(deps): bump mechanize from 2.7.6 to 2.7.7 in /Library/Homebrew
Bumps [mechanize](https://github.com/sparklemotion/mechanize) from 2.7.6 to 2.7.7.
- [Release notes](https://github.com/sparklemotion/mechanize/releases)
- [Changelog](https://github.com/sparklemotion/mechanize/blob/master/CHANGELOG.rdoc)
- [Commits](https://github.com/sparklemotion/mechanize/compare/v2.7.6...v2.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 06:03:22 +00:00
dependabot[bot]
04667a1a37
build(deps): bump rubocop from 1.9.0 to 1.9.1 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop-hq/rubocop) from 1.9.0 to 1.9.1.
- [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/v1.9.0...v1.9.1)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-02 06:02:51 +00:00
Rylan Polster
3f2757fd79
rubocop: update test configuration 2021-02-01 20:30:51 -05:00
Rylan Polster
4a82d807e1
style: remove RSpec/MultipleDescribes violations in commands 2021-02-01 20:30:51 -05:00
Rylan Polster
d5d7b6c3db
style: remove RSpec/MultipleDescribes violations
Co-authored-by: Nanda H Krishna <nanda.harishankar@gmail.com>
2021-02-01 20:30:51 -05:00
Rylan Polster
af40e072b0
style: remove RSpec/NamedSubject violations 2021-02-01 20:30:51 -05:00
Rylan Polster
3e00b3ea28
style: remove RSpec/ExampleLength violations 2021-02-01 20:30:51 -05:00
Dustin Rodrigues
29f39d26f6
Merge pull request #10463 from dtrodrigues/bump-formula-audit
bump-formula-pr: pass --formula flag when auditing a bumped formula
2021-02-01 20:11:31 -05:00
Dustin Rodrigues
05d9628d05 man: allow command to run when HOMEBREW_SILICON_DEVELOPER is set 2021-02-01 12:46:42 -05:00
Mike McQuaid
23b64f82c9
dev-cmd/prof: allow non-zero exit code.
Want to ensure that we still write profiling data even if the Homebrew
command fails.
2021-02-01 17:08:37 +00:00
EricFromCanada
f39fb5d6b2 cask/config: new method for cask.config.explicit as string 2021-02-01 10:44:19 -05:00
Mike McQuaid
4ae8dfe43f
Merge pull request #10470 from hyuraku/formula_auditor_repair_audit_postgresql_message
formula_auditor: repair audit_postgresql message
2021-02-01 14:16:50 +00:00
Mike McQuaid
d4d31c1906
formula: require language/java.
This was indirectly required before so let's explicitly require it now.
2021-02-01 12:47:20 +00:00
hyuraku
617ae740fe formula_auditor: repair audit_postgresql message 2021-02-01 21:26:24 +09:00
Mike McQuaid
861da37f55
Merge pull request #10456 from SeekingMeaning/cask-audit-format-url
cask/audit: underline URLs in audit errors
2021-02-01 09:05:53 +00:00
Mike McQuaid
cdf8ff9052
Merge pull request #10266 from gromgit/prefix_non_installed
cmd/--prefix: add --installed flag
2021-02-01 09:05:28 +00:00
Mike McQuaid
018b006daa
Merge pull request #10468 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.6259
build(deps): bump sorbet from 0.5.6251 to 0.5.6259 in /Library/Homebrew
2021-02-01 08:57:14 +00:00
Mike McQuaid
b8d55e5a77
Merge pull request #10397 from MikeMcQuaid/deprecations-disables
Homebrew 3.0.0 deprecations/disables
2021-02-01 08:37:22 +00:00
Mike McQuaid
109d03030c
Merge pull request #10457 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.9.0
build(deps): bump rubocop from 1.8.1 to 1.9.0 in /Library/Homebrew
2021-02-01 08:37:12 +00:00
BrewTestBot
7669136636 brew vendor-gems: commit updates. 2021-02-01 07:31:09 +00:00
dependabot[bot]
90a8ec1bf7
build(deps): bump sorbet from 0.5.6251 to 0.5.6259 in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.6251 to 0.5.6259.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Signed-off-by: dependabot[bot] <support@github.com>
2021-02-01 07:25:57 +00:00
Adrian Ho
28a8409b6e cmd/--prefix: add --installed flag
This changes the output for uninstalled formulae from Cellar prefix to empty string, so:
```sh
$ brew --prefix abcde python@3.9 tcl-tk
/usr/local/Cellar/abcde/2.9.3_1
/usr/local/opt/python@3.9
/usr/local/Cellar/tcl-tk/8.6.10
$ brew --prefix --installed abcde python@3.9 tcl-tk

/usr/local/opt/python@3.9

$
```
2021-01-31 16:09:43 +08:00
Dustin Rodrigues
48bfdee708 bump-formula-pr: pass --formula flag when auditing a bumped formula 2021-01-30 19:12:40 -05:00
Seeker
24bbfffc61
Merge pull request #10455 from SeekingMeaning/cask-audit-verified
cask/audit: error if `verified` does not match, regardless of `url`
2021-01-29 16:18:06 -08:00
Seeker
5dbdcbcb6b livecheck: fix filtering of watchlist with --formulae/--casks flag 2021-01-29 13:26:50 -08:00
Mike McQuaid
eea27d9a60
style: remove HOMEBREW_RUBY_WARNINGS
This is hiding legitimate errors which can cause CI failures.
2021-01-29 20:56:59 +00:00
BrewTestBot
3c29c08831
Update RBI files for rubocop. 2021-01-29 20:56:59 +00:00
Mike McQuaid
e65e310fd0
Fix brew style 2021-01-29 20:56:59 +00:00