23950 Commits

Author SHA1 Message Date
hyuraku
af68ceff88 repair Diagnostic::Checks#all 2021-06-22 20:57:09 +09:00
Maxim Belkin
b29ec8cf65
utils/github.rb: fix dry-run message 2021-06-21 13:37:49 -05:00
BrewTestBot
f9fe62f883
Update RBI files for rubocop-rails. 2021-06-21 18:06:46 +00:00
BrewTestBot
c1e35b7f8b
brew vendor-gems: commit updates. 2021-06-21 18:05:23 +00:00
dependabot[bot]
346d2087f1
build(deps): bump rubocop-rails in /Library/Homebrew
Bumps [rubocop-rails](https://github.com/rubocop/rubocop-rails) from 2.10.1 to 2.11.0.
- [Release notes](https://github.com/rubocop/rubocop-rails/releases)
- [Changelog](https://github.com/rubocop/rubocop-rails/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rails/compare/v2.10.1...v2.11.0)

---
updated-dependencies:
- dependency-name: rubocop-rails
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 18:02:01 +00:00
Jason Rudolph
e163eb8650
Enhance test suite to emit JUnit XML test reports
In preparation for detecting flaky tests with BuildPulse, this commit
sets up the rspec_junit_formatter gem to output JUnit XML reports of the
test suite, which is the format used by BuildPulse and various other
tooling that interprets test results.

Because the test suite uses the parallel_tests gem, this commit
incorporates some related changes to make all the parallel_tests gem and
the rspec_junit_formatter gem to cooperate with each other.

rspec_junit_formatter writes everything to a single XML file. That works
fine when there's only one process writing to the file. By default,
whatever process finishes last will write to the file and clobber the
output of all the other processes that wrote to the file. 🙈

To prevent this issue, the parallel_tests wiki recommends adding a
`.rspec_parallel` file to specify its RSpec options
(https://github.com/grosser/parallel_tests/wiki#with-rspec_junit_formatter----by-jgarber),
then the project can specify different files for each process to write
to like so:

  --format RspecJunitFormatter
  --out tmp/rspec<%= ENV['TEST_ENV_NUMBER'] %>.xml

However, prior to this commit, the Homebrew/brew test suite specified
its RSpec options via the command line. Unfortunately though, there's no
way (AFAICT) to set the equivalent of these options via the command
line:

  --format RspecJunitFormatter
  --out tmp/rspec<%= ENV['TEST_ENV_NUMBER'] %>.xml

So, we need to use a `.rspec_parallel` file to specify these options ☝️.

However, it appears that RSpec allows you to specify formatters _either_
in an options file (like `.rspec_parallel`) _or_ via command-line args.
But if you specify any formatters via command-line args, then all
formatters in the options file are ignored.  (I suspect that's somehow
related to this bit of code in rspec-core:
https://github.com/rspec/rspec-core/blob/v3.10.0/lib/rspec/core/configuration_options.rb#L64.)

With that in mind, in order to have the RspecJunitFormatter configured
 in `.rspec_parallel`, we need to move the other formatters into
 `.rpsec_parallel` as well, instead of passing them as command-line
 args. Therefore, this commit moves all the formatters into a
 `.rspec_parallel` file.
2021-06-21 13:14:18 -04:00
Mike McQuaid
08c96df947
release_notes: refactor/cleanup.
This was failing for me locally so I've made some fixes:
- remove the `markdown` flag (as it's the only path now)
- refactor the generation to not use intermediate variables
- discard more weird cases rather than erroring
- exclude @Homebrew changes (e.g. from bots) because we don't care about
  these in the release notes
2021-06-21 14:25:01 +01:00
BrewTestBot
4b126b8cf3
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-06-19 00:10:45 +00:00
Maxim Belkin
514271010a
Merge pull request #11556
github.rb: correct one dry-run message
2021-06-18 16:02:22 -05:00
Rylan Polster
46164a3054
Merge pull request #11555 from Rylan12/remove-homebrew-core
Allow for homebrew/core to be untapped
2021-06-18 16:05:24 -04:00
Rylan Polster
044da5d5ac
Fix style 2021-06-18 15:30:14 -04:00
Alexander Bayandin
7c962c0aa8
audit_spec: simplify tests 2021-06-18 17:34:43 +01:00
Alexander Bayandin
c95c2e3258
audit_conflicts: verbose variables name 2021-06-18 17:34:42 +01:00
Alexander Bayandin
43d67816ea
audit_conflicts: enable for third-party taps 2021-06-18 17:34:42 +01:00
Alexander Bayandin
1ddb6ef584
audit: do not allow aliases and renames in formula conflicts 2021-06-18 17:34:42 +01:00
Alexander Bayandin
84e3e0a6b8
audit_spec: add tests for audit_conflicts 2021-06-18 17:34:42 +01:00
Alexander Bayandin
4c14675021
audit: add more checks for conflics_with audit 2021-06-18 17:34:42 +01:00
Rylan Polster
60203afdd5
Merge env variables into HOMEBREW_JSON_CORE 2021-06-18 12:10:26 -04:00
Rylan Polster
1d516b628b
Use #present? and #blank? to check env variable 2021-06-18 12:07:34 -04:00
Rylan Polster
b096bf1fed
dependency::expand: only prune missing deps with flag 2021-06-18 12:03:22 -04:00
Mike McQuaid
72c59c816f
Merge pull request #11548 from MikeMcQuaid/3_2_deprecate_disable_remove
Deprecate, disable, delete code for Homebrew 3.2.0
2021-06-18 14:34:10 +01:00
Nanda H Krishna
35e5c8a612
formula_installer: add fallback to use tap formula
The keg formula isn't present in some old bottles. Use the tap
formula as a fallback when this is the case.
2021-06-18 14:25:34 +05:30
Misty De Meo
c0a02442d9
Revert "language/java: use shortened brew paths"
This reverts commits 318175cfe2b23328f1b5f13812fd59cfd45fe1dc,
e7ab760392b9691a6c730b7e0d660b7874969e70 and
3b35af63f608438b1882756feca94a6ebdd0d6a3 (PR #11537).
2021-06-17 20:29:43 -07:00
Maxim Belkin
d533017d38 github.rb: correct one dry-run message 2021-06-17 19:32:10 +00:00
Rylan Polster
2760d981d3
Allow for homebrew/core to be untapped 2021-06-17 14:18:43 -04:00
Rylan Polster
1cb0f0fbf2
Merge pull request #11534 from Rylan12/formulary-map
Formulary: map formula names to local bottle paths
2021-06-17 12:26:05 -04:00
Sam Ford
e4ad1a3f3f
Merge pull request #11491 from samford/update-version-parsers-for-luajit-openresty
Version: Add parser for additional hyphenated filenames
2021-06-17 08:25:31 -04:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Nanda H Krishna
e71a0edf6f
Merge pull request #11552 from Homebrew/dependabot/bundler/Library/Homebrew/bindata-2.4.10
build(deps): bump bindata from 2.4.8 to 2.4.10 in /Library/Homebrew
2021-06-17 02:56:50 +05:30
Nanda H Krishna
cfcb4761fd
Merge pull request #11551 from Homebrew/dependabot/bundler/Library/Homebrew/simplecov_json_formatter-0.1.3
build(deps): bump simplecov_json_formatter from 0.1.2 to 0.1.3 in /Library/Homebrew
2021-06-17 02:56:21 +05:30
Nanda H Krishna
2d888c350a
Merge pull request #11549 from Homebrew/dependabot/bundler/Library/Homebrew/docile-1.4.0
build(deps): bump docile from 1.3.5 to 1.4.0 in /Library/Homebrew
2021-06-17 02:55:50 +05:30
BrewTestBot
b9e183c1f5
Update RBI files for bindata. 2021-06-16 18:43:26 +00:00
BrewTestBot
06dfe53e49
brew vendor-gems: commit updates. 2021-06-16 18:42:36 +00:00
BrewTestBot
2a9aaf6da8
Update RBI files for simplecov_json_formatter. 2021-06-16 18:36:52 +00:00
BrewTestBot
5429be2b90
brew vendor-gems: commit updates. 2021-06-16 18:35:59 +00:00
BrewTestBot
070dcd085f
Update RBI files for docile. 2021-06-16 18:34:47 +00:00
BrewTestBot
d3a7430dbd
brew vendor-gems: commit updates. 2021-06-16 18:33:57 +00:00
BrewTestBot
6ebadd9d14
Update RBI files for http-cookie. 2021-06-16 18:33:29 +00:00
BrewTestBot
b7a9595c87
brew vendor-gems: commit updates. 2021-06-16 18:32:31 +00:00
dependabot[bot]
72eff9fbdf
build(deps): bump bindata from 2.4.8 to 2.4.10 in /Library/Homebrew
Bumps [bindata](https://github.com/dmendel/bindata) from 2.4.8 to 2.4.10.
- [Release notes](https://github.com/dmendel/bindata/releases)
- [Changelog](https://github.com/dmendel/bindata/blob/master/ChangeLog.rdoc)
- [Commits](https://github.com/dmendel/bindata/compare/v2.4.8...v2.4.10)

---
updated-dependencies:
- dependency-name: bindata
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 18:31:27 +00:00
dependabot[bot]
549603debf
build(deps): bump simplecov_json_formatter in /Library/Homebrew
Bumps [simplecov_json_formatter](https://github.com/fede-moya/simplecov_json_formatter) from 0.1.2 to 0.1.3.
- [Release notes](https://github.com/fede-moya/simplecov_json_formatter/releases)
- [Changelog](https://github.com/codeclimate-community/simplecov_json_formatter/blob/master/CHANGELOG.md)
- [Commits](https://github.com/fede-moya/simplecov_json_formatter/commits)

---
updated-dependencies:
- dependency-name: simplecov_json_formatter
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 18:29:16 +00:00
dependabot[bot]
3a1e758a2b
build(deps): bump http-cookie from 1.0.3 to 1.0.4 in /Library/Homebrew
Bumps [http-cookie](https://github.com/sparklemotion/http-cookie) from 1.0.3 to 1.0.4.
- [Release notes](https://github.com/sparklemotion/http-cookie/releases)
- [Changelog](https://github.com/sparklemotion/http-cookie/blob/master/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/http-cookie/compare/v1.0.3...v1.0.4)

---
updated-dependencies:
- dependency-name: http-cookie
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 18:28:38 +00:00
dependabot[bot]
f25ef42746
build(deps): bump docile from 1.3.5 to 1.4.0 in /Library/Homebrew
Bumps [docile](https://github.com/ms-ati/docile) from 1.3.5 to 1.4.0.
- [Release notes](https://github.com/ms-ati/docile/releases)
- [Changelog](https://github.com/ms-ati/docile/blob/main/HISTORY.md)
- [Commits](https://github.com/ms-ati/docile/compare/v1.3.5...v1.4.0)

---
updated-dependencies:
- dependency-name: docile
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-16 18:28:21 +00:00
Sam Ford
d4c15a6d9d
Version: Add parser for hyphenated filenames 2021-06-16 14:16:57 -04:00
Sam Ford
a1cf581118
ResourceAuditor: Allow only/except options 2021-06-16 10:30:52 -04:00
Rylan Polster
8b04bcb994
Only allow mapping with environment variable
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-16 10:27:15 -04:00
Mike McQuaid
01cd65d09b
Merge pull request #11525 from cnnrmnn/install-upgrade-outdated
Automatically upgrade installed but out of date formulae with `brew install`
2021-06-16 11:18:22 +01:00
Misty De Meo
3cf5c3239f
Merge pull request #11544 from mistydemeo/fix_tests
Fix a pair of tests on Apple silicon
2021-06-16 03:15:06 -07:00
Mike McQuaid
6a5891f1d8
Merge pull request #11537 from alebcay/short-brew-path
Utils: shortened brew paths
2021-06-16 11:13:59 +01:00
Nanda H Krishna
479c5e7eb8
Merge pull request #11545 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.17.0
build(deps): bump rubocop from 1.16.1 to 1.17.0 in /Library/Homebrew
2021-06-16 14:40:57 +05:30