28579 Commits

Author SHA1 Message Date
Nanda H Krishna
49781b2c6c
Merge pull request #11596 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2021-06-25 12:53:11 +05:30
Adrian Ho
0ec4357ea1 cleaner: recursively delete info dirs
Arch-specific build tool formulae (https://github.com/Homebrew/homebrew-core/pull/79874) install their info files in `#{info}/<arch>` to avoid conflicts with the main tool formulae.

However, the info cleaner only removes `#{info}/dir`, so each tool's bottle includes `#{info}/<arch>/dir`, which causes install-time conflicts.

This PR fixes that by deleting all `dir`s under `#{info}`.

Before:
```
==> Cleaning
[...]
==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
==> Finishing up
```

After:
```
==> Cleaning
[...]
==> Fixing /usr/local/Cellar/i686-elf-binutils/2.36.1_1/lib/i686-elf/bfd-plugins/libdep.so permissions from 755 to 444
rm /usr/local/Cellar/i686-elf-binutils/2.36.1_1/share/info/i686-elf/dir
==> Finishing up
```
2021-06-25 13:30:24 +08:00
BrewTestBot
f0cdf61e78
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2021-06-25 00:14:00 +00:00
Carlo Cabrera
294afc20f8
formula: capture logs more comprehensively
Currently, we copy `config.log` and `CMakeCache.txt` from the root of
the source tree into the the logs generated by the build. This has three
shortcomings:

1. These files are not necessarily found where we look. This is often
   the case with a CMake build, but can occur with an Autotools build
   as well (e.g. GCC, or any other out-of-tree build).
2. There may be several of these files scattered throughout the build
   tree. This occurs, for example, when the build itself invokes
   `configure` or `cmake` as part of the build process.
3. We don't copy `CMakeOutput.log` or `CMakeError.log`, which are
   usually more informative about what happened during the CMake
   invocation. It is not sufficient to add them to the array of log
   files that we copy because these are never found at the source root,
   even when building in-tree.

Let's rectify this by copying all instances of these files that can be
found in the source tree. Since there will inevitably be duplicate file
names, we also store them in the log directory using the same relative
paths from the source root. [1] This has the added benefit of providing
context for these log files.

[1] For example, if `CMakeOutput.log` can be found in `build/CMakeFiles`
relative to the source root, then that will also be where it will be
stored in the log directory.
2021-06-24 19:12:40 +01:00
Mike McQuaid
dc2c0ec8cf
Merge pull request #11591 from bayandin/fix-typecheck-update
typecheck: do not generate RBI file for did_you_mean
2021-06-24 16:14:27 +01:00
Alexander Bayandin
27772ab57a
typecheck: do not generate RBI file for did_you_mean 2021-06-24 15:45:03 +01:00
Mike McQuaid
ff48561df1
Merge pull request #11592 from bayandin/fix-github-test
github_spec: Fix failed test due to expired artifacts
2021-06-24 15:30:12 +01:00
Alexander Bayandin
d55cbeac78
github_spec: Update PR number with unexpired artifacts 2021-06-24 13:29:44 +01:00
Sam Ford
47d5150c33
Merge pull request #11581 from samford/MacOS-move-version-methods
OS::Mac: Move version methods into ::Version
2021-06-23 17:03:21 -04:00
Maxim Belkin
f1c5ea7cea
Merge pull request #11576 from maxim-belkin/github-fix
utils/github.rb: fix dry-run message
2021-06-23 13:20:28 -05:00
Alexander Bayandin
1595a908df
Merge pull request #11565 from bayandin/fuzzy-search-and-did-you-mean
Formula fuzzy search and did you mean
2021-06-23 18:27:10 +01:00
Mike McQuaid
b0d43c7e25
Merge pull request #11586 from jasonrudolph/detect-flaky-tests-on-pushes-to-default-branch
Upload test results to BuildPulse for non-PR pushes
2021-06-23 17:35:46 +01:00
Sam Ford
0752d25125
OS::Mac: Move version methods into ::Version 2021-06-23 09:03:46 -04:00
Jason Rudolph
ee17ab0ee9
Upload results to BuildPulse for non-PR pushes 2021-06-23 09:01:29 -04:00
Sam Ford
41e875a676
Merge pull request #11395 from hyuraku/repair_pub-date_in_livecheck
repair pubDate statement in livecheck
2021-06-23 08:22:36 -04:00
Mike McQuaid
41803ebf93
Merge pull request #11578 from jasonrudolph/flaky-test-detection
Automatically detect and track flaky tests
2021-06-23 11:00:38 +01:00
Mike McQuaid
5379ff15b8
workflows/tests: use buildpulse-test-reporter formula. 2021-06-23 10:38:12 +01:00
Alexander Bayandin
35288995bc
cmd/install: do not print similar error messages 2021-06-22 18:06:53 +01:00
Alexander Bayandin
4a81d10161
brew vendor-gems: commit updates. 2021-06-22 18:06:53 +01:00
Alexander Bayandin
4c57b9d8f8
Gemfile: add did_you_mean gem 2021-06-22 18:06:53 +01:00
Alexander Bayandin
d455ca9377
search: add fuzzy search results 2021-06-22 18:06:52 +01:00
Alexander Bayandin
ce4410fd8d
exceptions: add "Did you mean ..." for FormulaOrCaskUnavailableError 2021-06-22 18:06:52 +01:00
Alexander Bayandin
7aacda1754
formula: add fuzzy_search method 2021-06-22 18:06:52 +01:00
Jason Rudolph
0eec1d5e57
Only send to BuildPulse when we have access to secrets
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 10:31:25 -04:00
Maxim Belkin
370ef0ac1e
Fix Homebrew style issue
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 09:22:36 -05:00
Maxim Belkin
e967fffdfb
Apply Mike's suggestions
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-06-22 09:16:08 -05:00
Mike McQuaid
4f33c2cbb4
Merge pull request #11569 from MikeMcQuaid/cleanup_release_notes
release_notes: refactor/cleanup.
2021-06-22 15:04:59 +01:00
Mike McQuaid
f04e5d6700
Merge pull request #11579 from hyuraku/repair_Diagnostic_Checks_all
repair Diagnostic::Checks#all
2021-06-22 15:04:39 +01:00
Sam Ford
23f8cb9f4a
Sparkle: Handle ArgumentError from Time#parse 2021-06-22 10:02:57 -04:00
Mike McQuaid
3e08d41477
Merge pull request #11571 from Homebrew/dependabot/bundler/docs/nokogiri-1.11.7
build(deps): bump nokogiri from 1.11.6 to 1.11.7 in /docs
2021-06-22 14:44:10 +01:00
Mike McQuaid
173b959289
Merge pull request #11572 from Homebrew/dependabot/bundler/docs/concurrent-ruby-1.1.9
build(deps): bump concurrent-ruby from 1.1.8 to 1.1.9 in /docs
2021-06-22 14:43:39 +01:00
Sam Ford
a5768de0c3
Sparkle: Account for empty pubDate 2021-06-22 09:23:56 -04:00
Sam Ford
e7d3b2cb31
Sparkle: Move default pub_date value 2021-06-22 09:14:56 -04:00
hyuraku
6720f8bd1e
repair pub-date in livecheck 2021-06-22 09:14:55 -04:00
hyuraku
af68ceff88 repair Diagnostic::Checks#all 2021-06-22 20:57:09 +09:00
dependabot[bot]
51739565f0
build(deps): bump nokogiri from 1.11.6 to 1.11.7 in /docs
Bumps [nokogiri](https://github.com/sparklemotion/nokogiri) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/sparklemotion/nokogiri/releases)
- [Changelog](https://github.com/sparklemotion/nokogiri/blob/main/CHANGELOG.md)
- [Commits](https://github.com/sparklemotion/nokogiri/compare/v1.11.6...v1.11.7)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 11:37:02 +00:00
dependabot[bot]
8f88ac6c63
build(deps): bump concurrent-ruby from 1.1.8 to 1.1.9 in /docs
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.1.8 to 1.1.9.
- [Release notes](https://github.com/ruby-concurrency/concurrent-ruby/releases)
- [Changelog](https://github.com/ruby-concurrency/concurrent-ruby/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby-concurrency/concurrent-ruby/compare/v1.1.8...v1.1.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-22 11:36:45 +00:00
Mike McQuaid
05c5f6a6d4
Merge pull request #11573 from Homebrew/dependabot/bundler/docs/dnsruby-1.61.6
build(deps): bump dnsruby from 1.61.5 to 1.61.6 in /docs
2021-06-22 12:36:07 +01:00
Mike McQuaid
b96c9b4a31
Merge pull request #11574 from Homebrew/dependabot/bundler/docs/ffi-1.15.3
build(deps): bump ffi from 1.15.1 to 1.15.3 in /docs
2021-06-22 12:35:55 +01:00
Mike McQuaid
604cd8c040
Merge pull request #11575 from Homebrew/dependabot/bundler/docs/net-protocol-0.1.1
build(deps): bump net-protocol from 0.1.0 to 0.1.1 in /docs
2021-06-22 12:35:42 +01:00
Nanda H Krishna
b273a63325
Merge pull request #11570 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-rails-2.11.0
build(deps): bump rubocop-rails from 2.10.1 to 2.11.0 in /Library/Homebrew
2021-06-22 01:56:28 +05:30
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]
7d87e0ac69
build(deps): bump net-protocol from 0.1.0 to 0.1.1 in /docs
Bumps [net-protocol](https://github.com/ruby/net-protocol) from 0.1.0 to 0.1.1.
- [Release notes](https://github.com/ruby/net-protocol/releases)
- [Commits](https://github.com/ruby/net-protocol/compare/v0.1.0...v0.1.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 18:04:37 +00:00
dependabot[bot]
ff3fd945b9
build(deps): bump ffi from 1.15.1 to 1.15.3 in /docs
Bumps [ffi](https://github.com/ffi/ffi) from 1.15.1 to 1.15.3.
- [Release notes](https://github.com/ffi/ffi/releases)
- [Changelog](https://github.com/ffi/ffi/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ffi/ffi/compare/v1.15.1...v1.15.3)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 18:03:34 +00:00
dependabot[bot]
b4000eed8f
build(deps): bump dnsruby from 1.61.5 to 1.61.6 in /docs
Bumps [dnsruby](https://github.com/alexdalitz/dnsruby) from 1.61.5 to 1.61.6.
- [Release notes](https://github.com/alexdalitz/dnsruby/releases)
- [Changelog](https://github.com/alexdalitz/dnsruby/blob/master/RELEASE_NOTES.md)
- [Commits](https://github.com/alexdalitz/dnsruby/compare/v1.61.5...v1.61.6)

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

Signed-off-by: dependabot[bot] <support@github.com>
2021-06-21 18:03:15 +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
006299dcc1
Update job to send macOS test results to BuildPulse for analysis 2021-06-21 13:55:09 -04: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