41367 Commits

Author SHA1 Message Date
Patrick Linnane
edc827f981
Merge pull request #17673 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11478 2024-07-10 12:56:23 -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
Rylan Polster
fec84544a9
Remove arch and macos dependencies from cask tab 2024-07-10 11:25:05 -04:00
Andrew Braxton
23dd14d1c4 greedy outdated 2024-07-09 20:59:12 -07:00
Rylan Polster
fbe422b768
Fix test 2024-07-09 20:01:43 -04:00
Andrei Neculau
bc8c7a2a16
docker: revert back linuxbrew's UID to 1000
In https://github.com/Homebrew/brew/pull/17584 we have changed "linuxbrew" user's UID/GID to 1001 in order to mitigate for Ubuntu 23.04 and higher, which started creating a default "ubuntu" user taking over UID/GID 1000 .

While we may desire a deterministic UID in the homebrew docker image, the change effectively modified the behaviour for all current 3 images based on Ubuntu 18.04 20.04 and 22.04 by changing the linuxbrew's user UID/GID from 1000 to 1001. As per https://hub.docker.com/u/homebrew, we do not currently publish an image for 24.04 which the change is mitigating for.

Rather than mitigating for indeterministic behaviour of upstream changes, this commit implements the workaround in https://bugs.launchpad.net/cloud-images/+bug/2005129 to delete the default "ubuntu" user.
2024-07-09 21:29:49 +02:00
Rylan Polster
d17da89382
Include recursive dependencies in cask tabs 2024-07-09 15:25:57 -04:00
Patrick Linnane
53e8d4024f
Merge pull request #17667 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.186.0 2024-07-09 12:18:32 -07:00
dependabot[bot]
afbc5af745
build(deps): bump ruby/setup-ruby from 1.185.0 to 1.186.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.185.0 to 1.186.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](3a77c29278...2a9a743e19)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-09 18:54:50 +00:00
Patrick Linnane
4343f2fa20
Merge pull request #17665 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11475 2024-07-09 11:51:02 -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
Rylan Polster
119e02ceb0
Cleanup tap_git_head and uninstall_flight_blocks?
Co-authored-by: Kevin <apainintheneck@gmail.com>
2024-07-09 13:22:00 -04:00
Mike McQuaid
b098b4c3a0
Merge pull request #17659 from bevanjkay/rosetta 2024-07-09 08:35:34 +01:00
Bevan Kay
a77a8ca564
cask/dsl/caveats: allow for simulated system checks in rosetta caveat 2024-07-09 15:42:38 +10:00
Douglas Eichelberger
216ae9d0a1
Merge pull request #17656 from Homebrew/dependabot/bundler/Library/Homebrew/vernier-1.1.1
build(deps-dev): bump vernier from 1.1.0 to 1.1.1 in /Library/Homebrew
2024-07-08 12:09:31 -07: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
Mike McQuaid
d31150adf3
Merge pull request #17651 from samford/audit_formula-struct-arg 2024-07-08 17:35:32 +01: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
Mike McQuaid
07b6b71340
Merge pull request #17633 from gromgit/shellenv/fix_manpath 2024-07-08 08:42:47 +01:00
Sam Ford
17d15615d8
livecheck: finish expanding typed: strict
I previously expanded use of `typed: strict` in livecheck files but
the exception was `livecheck/strategy.rb`. This addresses the
`@strategies` type errors in that file and upgrades it to
`typed: strict`.

Co-authored-by: apainintheneck <apainintheneck@gmail.com>
2024-07-07 22:04:25 -04:00
Patrick Linnane
1c98a33a37
Merge pull request #17650 from Homebrew/sponsors-maintainers-man-completions 4.3.9 2024-07-07 18:12:43 -07:00
Patrick Linnane
6d48fa7b9b
Merge pull request #17647 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0.5.11473 2024-07-07 17:48:35 -07:00
Patrick Linnane
16a53ebd99
Merge pull request #17646 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.185.0 2024-07-07 17:48:15 -07:00
BrewTestBot
4fc3bb59c0
Update manpage and completions.
Autogenerated by the [sponsors-maintainers-man-completions](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sponsors-maintainers-man-completions.yml) workflow.
2024-07-07 19:09:27 +00:00
Mike McQuaid
2e2dc59e8d
Merge pull request #17638 from Kentzo/extract-git-version-typo 2024-07-07 20:08:39 +01:00
BrewTestBot
cbf576c49a
brew vendor-gems: commit updates. 2024-07-07 17:57:18 +00:00
dependabot[bot]
23f011b786
build(deps-dev): bump sorbet in /Library/Homebrew
Bumps [sorbet](https://github.com/sorbet/sorbet) from 0.5.11471 to 0.5.11473.
- [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-07 17:56:29 +00:00
dependabot[bot]
7978d1056b
build(deps): bump ruby/setup-ruby from 1.184.0 to 1.185.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.184.0 to 1.185.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](97e35c5302...3a77c29278)

---
updated-dependencies:
- dependency-name: ruby/setup-ruby
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-07-07 17:56:28 +00:00
Ilya Kulakov
1a6f6f0c5e
Update Library/Homebrew/dev-cmd/extract.rb
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2024-07-06 10:57:51 -07:00
Issy Long
0a18f77de4
Apply suggestions from code review 2024-07-06 15:22:08 +01:00
Ilya Kulakov
a1f9f501e2 extract: Fix missing '--git-revision' in the usage banner 2024-07-05 17:27:22 -07:00
Issy Long
cd1869437d
unpack_strategy: Convert to Sorbet typed: strict 2024-07-05 18:48:02 +01:00
Adrian Ho
4ff36552f6 shellenv: prepend colon to MANPATH if set
The current appended colon means system man pages always shadow
Homebrew's. There's also no point adding Homebrew's man dir, nor
filling out an empty MANPATH, since `man` and friends will add the
necessary dirs according to PATH.

Closes https://github.com/Homebrew/homebrew-core/issues/176037.

Also fixed a syntax error in the `*csh` INFOPATH setting.
2024-07-06 01:46:22 +08:00
Issy Long
ed4b6d4246
development_tools: Convert to Sorbet typed: strict 2024-07-05 18:17:31 +01:00
Rylan Polster
dd510a5606
Improve test coverage 2024-07-05 10:47:05 -04:00
Issy Long
fdd7fdd2f6
formula_assertions: Convert to Sorbet typed: strict 2024-07-05 15:37:59 +01:00