31307 Commits

Author SHA1 Message Date
Patrick Linnane
0bd23979cb
Merge pull request #17684 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11481 2024-07-12 12:58:23 -07:00
BrewTestBot
d8fb35e075
brew vendor-gems: commit updates. 2024-07-12 18:56:54 +00:00
BrewTestBot
18d614ecc7
brew vendor-gems: commit updates. 2024-07-12 18:56:12 +00:00
dependabot[bot]
f22dc0c47d
build(deps-dev): bump rubocop-rspec in /Library/Homebrew
Bumps [rubocop-rspec](https://github.com/rubocop/rubocop-rspec) from 3.0.2 to 3.0.3.
- [Release notes](https://github.com/rubocop/rubocop-rspec/releases)
- [Changelog](https://github.com/rubocop/rubocop-rspec/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-rspec/compare/v3.0.2...v3.0.3)

---
updated-dependencies:
- dependency-name: rubocop-rspec
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 18:55:56 +00:00
dependabot[bot]
1b40b3791a
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11480 to 0.5.11481.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-12 18:55:22 +00:00
Issy Long
868c3dc9cd
Merge pull request #17680 from Homebrew/building-bottles-needs-network-for-sboms 2024-07-12 17:28:37 +01:00
Issy Long
1479013710
Merge pull request #17636 from Homebrew/sorbet-strict-public-apis 2024-07-12 17:25:41 +01:00
Bo Anderson
ae9d5f9f14
cli/named_args: raise priority of core casks 2024-07-12 05:27:57 +01:00
Issy Long
edb8055c76
unpack_strategy/*: Convert to Sorbet typed: strict 2024-07-11 21:18:27 -04:00
Issy Long
d7123d43c7
test/dev-cmd/bottle: Mark the bottling test as needs_network
- I was on a plane and this failed with:

```
expected block to not output to stderr, but output
"curl: (6) Could not resolve host: spdx.github.io\nWarning: Failed to fetch SBOM schema, cannot perform SBOM validation!
Warning: Could not fetch JSON schema to validate SBOM!\nWarning: SBOM is not valid, not writing to disk!"
```
2024-07-11 21:16:14 -04:00
Issy Long
bffb470c57
unpack_strategy: Fix ref_type type (Symbol, not String)
- I put a debugger call in the test that was failing.
- Running the install command at that debug prompt and lo,
  the typing bug was staring me in the face:

```
Error: An exception occurred within a child process:
  TypeError: Parameter 'ref_type': Expected type T.nilable(String), got type Symbol with value :branch
Caller: /opt/homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11471/lib/types/private/methods/call_validation.rb:215
Definition: /opt/homebrew/Library/Homebrew/unpack_strategy.rb:102 (UnpackStrategy.detect)
```
2024-07-11 19:37:46 +01:00
BrewTestBot
f5c509dd40
Update RBI files for spoom.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-07-11 18:23:45 +00:00
BrewTestBot
8a932820b2
brew vendor-gems: commit updates. 2024-07-11 18:23:30 +00:00
dependabot[bot]
5869a622cf
build(deps-dev): bump spoom from 1.3.2 to 1.3.3 in /Library/Homebrew
Bumps [spoom](https://github.com/Shopify/spoom) from 1.3.2 to 1.3.3.
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.3.2...v1.3.3)

---
updated-dependencies:
- dependency-name: spoom
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 18:22:40 +00:00
Patrick Linnane
35d28c18f0
Merge pull request #17677 from Homebrew/dependabot/bundler/Library/Homebrew/tapioca-0.15.1 2024-07-11 11:21:21 -07:00
BrewTestBot
616f2d4e30
brew vendor-gems: commit updates. 2024-07-11 18:08:52 +00:00
BrewTestBot
6fa8235738
Update RBI files for tapioca.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-07-11 18:08:51 +00:00
BrewTestBot
b6e7d1e36e
brew vendor-gems: commit updates. 2024-07-11 18:08:30 +00:00
dependabot[bot]
6a65495b23
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11478 to 0.5.11480.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 18:07:58 +00:00
dependabot[bot]
2fff69bec6
build(deps-dev): bump tapioca from 0.15.0 to 0.15.1 in /Library/Homebrew
Bumps [tapioca](https://github.com/Shopify/tapioca) from 0.15.0 to 0.15.1.
- [Release notes](https://github.com/Shopify/tapioca/releases)
- [Commits](https://github.com/Shopify/tapioca/compare/v0.15.0...v0.15.1)

---
updated-dependencies:
- dependency-name: tapioca
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-11 18:07:38 +00:00
Mike McQuaid
2aa86d8fd5
Merge pull request #17674 from Homebrew/shellenv_eu 2024-07-11 12:13:00 +01:00
Issy Long
9c6430954b
All the extract_to_dirs return void now 2024-07-11 11:05:47 +01:00
Mike McQuaid
4bd3b938c3
Merge pull request #17668 from andrewbraxton/greedy-outdated 2024-07-11 08:20:19 +01:00
Mike McQuaid
d187f2d6cc
cmd/shellenv.sh: handle undefined MANPATH and set -eu.
See https://github.com/Homebrew/brew/pull/17633#issuecomment-2218657931
2024-07-11 08:17:11 +01:00
Andrew Braxton
0e0e3a4d0a Use env argument to switch() 2024-07-10 23:41:18 -07:00
Patrick Linnane
5466d6a57a
Replace deprecated Cop.registry with Registry.global
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2024-07-10 13:07:02 -07:00
BrewTestBot
603b896131
Update RBI files for rubocop.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-07-10 13:07:02 -07:00
BrewTestBot
682d148e50
brew vendor-gems: commit updates. 2024-07-10 13:07:02 -07:00
dependabot[bot]
4d619b9dac
build(deps-dev): bump rubocop from 1.64.1 to 1.65.0 in /Library/Homebrew
Bumps [rubocop](https://github.com/rubocop/rubocop) from 1.64.1 to 1.65.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.64.1...v1.65.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 13:07:02 -07:00
Patrick Linnane
302a2b3aae
Merge pull request #17670 from Homebrew/dependabot/bundler/Library/Homebrew/parser-3.3.4.0 2024-07-10 12:57:05 -07:00
BrewTestBot
1f5e939670
Update RBI files for parser.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-07-10 18:58:15 +00:00
BrewTestBot
85618beb16
brew vendor-gems: commit updates. 2024-07-10 18:55:07 +00:00
BrewTestBot
e34c4badbc
brew vendor-gems: commit updates. 2024-07-10 18:54:32 +00:00
dependabot[bot]
04fb3f41b1
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11475 to 0.5.11478.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 18:54:18 +00:00
dependabot[bot]
bec3ef8695
build(deps-dev): bump parser in /Library/Homebrew
Bumps [parser](https://github.com/whitequark/parser) from 3.3.3.0 to 3.3.4.0.
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.3.0...v3.3.4.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-10 18:53:34 +00:00
Andrew Braxton
23dd14d1c4 greedy outdated 2024-07-09 20:59:12 -07:00
BrewTestBot
140ce6bd32
brew vendor-gems: commit updates. 2024-07-09 18:04:11 +00:00
dependabot[bot]
8094413063
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11473 to 0.5.11475.
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 18:03:23 +00:00
Bevan Kay
a77a8ca564
cask/dsl/caveats: allow for simulated system checks in rosetta caveat 2024-07-09 15:42:38 +10:00
BrewTestBot
62617c9ada
Update RBI files for vernier.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2024-07-08 18:27:18 +00:00
BrewTestBot
793ee36c3d
brew vendor-gems: commit updates. 2024-07-08 18:27:03 +00:00
dependabot[bot]
f95b502504
build(deps-dev): bump vernier from 1.1.0 to 1.1.1 in /Library/Homebrew
Bumps [vernier](https://github.com/jhawthorn/vernier) from 1.1.0 to 1.1.1.
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.1.0...v1.1.1)

---
updated-dependencies:
- dependency-name: vernier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-08 18:26:09 +00:00
Mike McQuaid
e12d25dc5c
Merge pull request #17654 from Homebrew/context-restore-fix 2024-07-08 19:15:16 +01:00
Mike McQuaid
7b66004d2c
Merge pull request #17655 from Homebrew/fix-bump-formula-pr-types-for-kwargs 2024-07-08 19:07:04 +01:00
Issy Long
517d3c9bcf
dev-cmd/bump-formula-pr: Fix types for fetch_resource_and_forced_version
- This should fix https://github.com/Homebrew/homebrew-core/actions/runs/9839505520, that is:

```
Parameter 'tag': Expected type Float, got type String with value "2024-07-05"
Caller: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/vendor/bundle/ruby/3.3.0/gems/sorbet-runtime-0.5.11473/lib/types/private/methods/call_validation.rb:215
Definition: /home/linuxbrew/.linuxbrew/Homebrew/Library/Homebrew/dev-cmd/bump-formula-pr.rb:445 (Homebrew::DevCmd::BumpFormulaPr#fetch_resource_and_forced_version)
```

- I think I read https://sorbet.org/docs/sigs#rest-parameters too literally,
  yes Sorbet expands the kwargs into a hash type, but it's the value type that
  needs specifying in the sig (which for us is `String`).
2024-07-08 18:46:21 +01:00
Eric Knibbe
e81e811d56
context: fix original context not being restored 2024-07-08 13:18:18 -04:00
Sam Ford
17b0493e18
Use struct for #audit_formula args
Adding type signatures to `#audit_formula` methods in formula cops
would lead to verbose, repetitive signatures across the existing ~63
instances. This reworks `#audit_formula` to use a `T::Struct` for its
arguments, which allows us to use a one-line signature for these
methods.
2024-07-08 12:22:25 -04:00
Mike McQuaid
341130fa78
Merge pull request #17643 from samford/livecheck/expand-typed-strict-2 2024-07-08 13:07:52 +01:00
Douglas Eichelberger
0076a88541 Apply suggested changes 2024-07-08 12:56:19 +01:00
Douglas Eichelberger
4ebf1116d7 Introduce UnpackStrategyImpl 2024-07-08 12:56:19 +01:00