28130 Commits

Author SHA1 Message Date
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
Carlo Cabrera
09f7bc27a9
Merge pull request #11567 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
3.2.0
2021-06-20 18:08:22 -07:00
BrewTestBot
5a006e6fe0
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-06-21 00:05:48 +00:00
Nanda H Krishna
f716af48dc
Merge pull request #11566 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-06-20 07:14:53 +05:30
BrewTestBot
8b8b7d070c
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-06-20 00:07:58 +00:00
Dawid Dziurla
63ed6da2cd
Merge pull request #11564 from cnnrmnn/new-maintainer-checklist-typo
Fix diction and punctuation typos in new maintainer checklist
2021-06-19 08:30:26 +02:00
Nanda H Krishna
d462d4b0b6
Merge pull request #11563 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2021-06-19 11:18:16 +05:30
Connor Mann
5131315a80
Fix diction and punctuation typos 2021-06-18 21:08:04 -04: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
Alexander Bayandin
e77751e4c6
Merge pull request #11541 from bayandin/improve-conflicts-audit
Improve conflicts audit
2021-06-18 20:34:18 +01: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
Nanda H Krishna
736278c020
Merge pull request #11562 from Homebrew/update-man-completions 2021-06-18 19:53:16 +05:30
BrewTestBot
be8bc21083
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-06-18 13:36:18 +00: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
Michka Popoff
06253790ed
Merge pull request #11560 from nandahkrishna/keg-fallback-fix
formula_installer: add fallback to use tap formula
2021-06-18 11:48:00 +02: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
04e09de1d8
Merge pull request #11559 from mistydemeo/rv_pr_11537
Temporarily revert #11537.
2021-06-17 21:43:54 -07:00
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
903b4d44c4
Merge pull request #11553 from Homebrew/update-man-completions
Update maintainers, manpage and completions.
2021-06-17 08:47:07 +05:30
BrewTestBot
9e73682156
Update maintainers, manpage and completions.
Autogenerated by the [update-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/update-man-completions.yml) workflow.
2021-06-17 00:05:14 +00: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
Nanda H Krishna
1db606c5fb
Merge pull request #11550 from Homebrew/dependabot/bundler/Library/Homebrew/http-cookie-1.0.4
build(deps): bump http-cookie from 1.0.3 to 1.0.4 in /Library/Homebrew
2021-06-17 02:55:19 +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