35804 Commits

Author SHA1 Message Date
BrewTestBot
5fc23e3066
Update RBI files for rack.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-03 19:12:26 +00:00
BrewTestBot
b2fc6d9a3c
Update RBI files for msgpack.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-03 19:08:30 +00:00
BrewTestBot
873fbd3759
brew vendor-gems: commit updates. 2023-03-03 19:05:40 +00:00
BrewTestBot
008aac8463
brew vendor-gems: commit updates. 2023-03-03 19:01:15 +00:00
dependabot[bot]
704406cd01
build(deps): bump rack from 3.0.4.1 to 3.0.4.2 in /Library/Homebrew
Bumps [rack](https://github.com/rack/rack) from 3.0.4.1 to 3.0.4.2.
- [Release notes](https://github.com/rack/rack/releases)
- [Changelog](https://github.com/rack/rack/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rack/rack/compare/v3.0.4.1...v3.0.4.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 18:58:17 +00:00
dependabot[bot]
1635e4d633
build(deps): bump msgpack from 1.6.0 to 1.6.1 in /Library/Homebrew
Bumps [msgpack](https://github.com/msgpack/msgpack-ruby) from 1.6.0 to 1.6.1.
- [Release notes](https://github.com/msgpack/msgpack-ruby/releases)
- [Changelog](https://github.com/msgpack/msgpack-ruby/blob/master/ChangeLog)
- [Commits](https://github.com/msgpack/msgpack-ruby/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 18:57:27 +00:00
Issy Long
42c9ad1447
Merge pull request #14860 from issyl0/contributions-commits-committed
dev-cmd/contributions: Count the number of commits a user committed
2023-03-03 17:37:35 +00:00
Mike McQuaid
c8b5e6879f
Merge pull request #14827 from dduugg/suppress-splat-errors
Suppress unsupported splat errors when typechecking
2023-03-03 16:50:05 +00:00
Douglas Eichelberger
e4e20fc78f Revert changes to cask/cmd specs 2023-03-03 08:30:57 -08:00
Douglas Eichelberger
eb23a2c44a Enable typing in a couple more files 2023-03-03 08:30:15 -08:00
Douglas Eichelberger
0d200944c8 Move nostdout to lone calling class 2023-03-03 08:30:15 -08:00
Douglas Eichelberger
ccabd3318e Undo changes to cask/cmd 2023-03-03 08:30:13 -08:00
Douglas Eichelberger
0c533f27ba Enable typing in Cask::Cmd 2023-03-03 08:29:50 -08:00
Douglas Eichelberger
6611a03cc6 Enable typing in Cask::Cmd::AbstractCommand 2023-03-03 08:29:26 -08:00
Douglas Eichelberger
d98b7845d3 Enable typing in misc files 2023-03-03 08:29:26 -08:00
Douglas Eichelberger
3a02894d0b Suppress unsupported splat sorbet errors 2023-03-03 08:29:26 -08:00
Carlo Cabrera
1b12d74945
Pass -no_fixup_chains to linker when required
Invoking `ld` with `-undefined dynamic_lookup` emits a warning starting
Xcode 14:

    ld: warning: -undefined dynamic_lookup may not work with chained fixups

Chained fixups is a linker optimisation that results in faster binary
load times, and is enabled by default starting Xcode 13 when the target
is macOS 12 or newer.

However, this interacts poorly with `-undefined dynamic_lookup`, and
Xcode will disable chained fixups when it is invoked with this flag
starting Xcode 14.3. Until then, we may be shipping binaries that are
broken in subtle ways, so let's disable chained fixups when necessary
instead.

I patterned the changes here after the handling of `-no_weak_imports`.
The only difference is that we need to check the flags that were passed
to the linker first to see if we do need to disable chained fixups.

For additional context, see:

https://developer.apple.com/documentation/xcode-release-notes/xcode-13-release-notes
https://www.wwdcnotes.com/notes/wwdc22/110362/
https://www.emergetools.com/blog/posts/iOS15LaunchTime
https://github.com/python/cpython/issues/97524
https://github.com/pybind/pybind11/pull/4301
2023-03-04 00:19:13 +08:00
Mike McQuaid
41d0265543
Merge pull request #14854 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-1.47.0
build(deps): bump rubocop from 1.46.0 to 1.47.0 in /Library/Homebrew
2023-03-03 13:29:08 +00:00
Issy Long
693d609730
dev-cmd/contributions: Fix authored vs. committed commit uniqueness
- For a situation where `authored = 3`, `committed = 4`, the previous
  calculation was `3 - 4` which meant that `committed = -1` in the end.
- This was incorrect, since a user can't have negative contributions!
- Instead, only do the subtraction to get the deduplicated `committed`
  count if the number of authored commits is higher than the number of
  committed commits. This approach should achieve the desired "don't
  double count things that the user authored and committed, but do count
  things that another person authored that the user committed".
2023-03-03 13:15:13 +00:00
Issy Long
61cb843cbb
Merge pull request #14871 from issyl0/rubocop-inline-disables
rubocop: Alphabetise, remove config that's default, in-line some disables
2023-03-03 12:10:14 +00:00
Mike McQuaid
d20abb4863
brew style --fix 2023-03-03 10:45:08 +00:00
BrewTestBot
6c39dad788
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-03 09:41:59 +00:00
BrewTestBot
a441999ea3
brew vendor-gems: commit updates. 2023-03-03 09:34:01 +00:00
Mike McQuaid
fa09365b3d
Merge pull request #14865 from maxim-belkin/wslview-fix
os.rb: fix for WSL systems without wslview
2023-03-03 09:32:10 +00:00
dependabot[bot]
ad45209dbe
build(deps): bump rubocop from 1.46.0 to 1.47.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.46.0 to 1.47.0.
- [Release notes](https://github.com/rubocop/rubocop/releases)
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop/compare/v1.46.0...v1.47.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 09:29:05 +00:00
Mike McQuaid
1ad215d9ea
Merge pull request #14869 from issyl0/rubocop-rspec-metrics
rubocop: Disable RSpec metrics cops
2023-03-03 09:28:35 +00:00
Mike McQuaid
8c333f4ec6
Merge pull request #14851 from hyuraku/move-cask/cmd/list-to-cask/list
Move `cask/cmd/list` to `cask/list`
2023-03-03 09:26:01 +00:00
Mike McQuaid
c2cf0e6f65
Merge pull request #14862 from carlocab/fsmonitor
cmd/update.sh: limit setting `core.fsmonitor` to `false`
2023-03-03 09:11:51 +00:00
Mike McQuaid
26182fd67a
Note that brew update will only report all without API.
It's not worth supporting this option any longer given the API
constraints.
2023-03-03 08:51:58 +00:00
Sam Ford
4a41f01e8b
Merge pull request #14858 from samford/livecheck/json-rework-after-xml-strategy
Json: Add #parse_json method and tidy up tests
2023-03-02 23:27:01 -05:00
Bo Anderson
9227a88c80
Merge pull request #14855 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-progressbar-1.12.0
build(deps): bump ruby-progressbar from 1.11.0 to 1.12.0 in /Library/Homebrew
2023-03-03 03:32:09 +00:00
BrewTestBot
3dc2547ce5
Update RBI files for ruby-progressbar.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-03 03:01:48 +00:00
BrewTestBot
b9695b2dfe
brew vendor-gems: commit updates. 2023-03-03 02:56:28 +00:00
dependabot[bot]
4d9ea265e5
build(deps): bump ruby-progressbar in /Library/Homebrew
Bumps [ruby-progressbar](https://github.com/jfelchner/ruby-progressbar) from 1.11.0 to 1.12.0.
- [Release notes](https://github.com/jfelchner/ruby-progressbar/releases)
- [Changelog](https://github.com/jfelchner/ruby-progressbar/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jfelchner/ruby-progressbar/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-03 02:51:13 +00:00
Mike McQuaid
2028588400
Merge pull request #14844 from Homebrew/dependabot/bundler/Library/Homebrew/concurrent-ruby-1.2.2 2023-03-02 22:42:32 +00:00
Mike McQuaid
ab44c9544a
Merge pull request #14843 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-ast-1.27.0 2023-03-02 22:37:38 +00:00
Issy Long
2091ef61fd
rubocop: The default Style/FormatStringToken style is "annotated" 2023-03-02 22:33:28 +00:00
BrewTestBot
eb75a1b788
Update RBI files for concurrent-ruby.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-02 22:22:56 +00:00
BrewTestBot
74d8017626
Update RBI files for rubocop-ast.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2023-03-02 22:21:13 +00:00
BrewTestBot
7d4991cd9e
brew vendor-gems: commit updates. 2023-03-02 22:16:14 +00:00
BrewTestBot
de302ab829
brew vendor-gems: commit updates. 2023-03-02 22:15:30 +00:00
Issy Long
81b0e41183
rubocop: Alphabetize list of cops, put Bundler/GemFilename first 2023-03-02 22:13:55 +00:00
dependabot[bot]
65972b53e2
build(deps): bump concurrent-ruby in /Library/Homebrew
Bumps [concurrent-ruby](https://github.com/ruby-concurrency/concurrent-ruby) from 1.2.1 to 1.2.2.
- [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.2.1...v1.2.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 22:12:07 +00:00
dependabot[bot]
f079b8528f
build(deps): bump rubocop-ast from 1.26.0 to 1.27.0 in /Library/Homebrew
Bumps [rubocop-ast](https://github.com/rubocop/rubocop-ast) from 1.26.0 to 1.27.0.
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.26.0...v1.27.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2023-03-02 22:12:01 +00:00
Issy Long
e05cd2c542
rubocop: In-line Style/HashAsLastArrayItem disablement
- We want to move away from `Excludes:` in the main `.rubocop.yml` config file
  containing full file paths, because it's hard to track whether they're still
  necessary or not (and other occurrences in the files that you might
  legitimately want to improve are unaccounted for).
2023-03-02 22:11:05 +00:00
Issy Long
46b946fd35
rubocop: Disable RSpec metrics cops
- We've disabled metrics cops for method length and complexity since we were
  fighting them a lot and the numbers were arbitrary and growing. It feels like
  these RSpec metrics numbers are arbitrary too.
2023-03-02 21:58:31 +00:00
Bo Anderson
9e37786ffc
Merge pull request #14867 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2023-03-02 21:43:27 +00:00
Sam Ford
74370fe604
ElectronBuilder: Update to use Yaml#find_versions
This updates `ElectronBuilder` to use `Yaml#find_versions`, as the
only code unique to that strategy is to restrict regex usage and
use default version-finding logic when a `strategy` block isn't
provided. This is similar to how we have various strategies that
use `PageMatch#find_versions` internally.

This allows us to remove `ElectronBuilder#versions_from_content`
entirely, along with the related tests. I've added support for
`provided_content` to `ElectronBuilder#find_versions` as a way of
adding tests and maintaining code coverage.
2023-03-02 16:23:32 -05:00
Sam Ford
33268e4fb0
livecheck: Add Yaml strategy
This adds a generic `Yaml` strategy to livecheck that requires a
`strategy` block to operate. The YAML-parsing code is taken from the
existing approach in the `ElectronBuilder` strategy.

We don't currently have any `strategy` blocks in first-party taps
that manually parse YAML. However, creating a generic `Yaml` strategy
allows us to simplify `ElectronBuilder` (and any future strategy
that works with YAML) while making it easy to create custom `Yaml`
`strategy` blocks in formulae/casks as needed.
2023-03-02 16:20:39 -05:00
BrewTestBot
72ca844a92
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow.
2023-03-02 21:10:00 +00:00