44875 Commits

Author SHA1 Message Date
Patrick Linnane
2faeb169c0
Merge pull request #19730 from Homebrew/dependabot/bundler/Library/Homebrew/ruby-lsp-0.23.14
build(deps-dev): bump ruby-lsp from 0.23.13 to 0.23.14 in /Library/Homebrew
2025-04-09 19:37:30 +00:00
dependabot[bot]
c5a0be7e75
build(deps): bump github/codeql-action from 3.28.14 to 3.28.15
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.14 to 3.28.15.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](fc7e4a0fa0...45775bd823)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.15
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:31:21 -07:00
Jacob Ford
b7c9214b81
docs: fix Formula Cookbook build command 2025-04-09 15:22:32 -04:00
BrewTestBot
ad07a0f355
Update RBI files for ruby-lsp.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-09 12:15:43 -07:00
BrewTestBot
6e93200765
brew vendor-gems: commit updates. 2025-04-09 12:15:43 -07:00
dependabot[bot]
b513f8561d
build(deps-dev): bump ruby-lsp in /Library/Homebrew
Bumps [ruby-lsp](https://github.com/Shopify/ruby-lsp) from 0.23.13 to 0.23.14.
- [Release notes](https://github.com/Shopify/ruby-lsp/releases)
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.23.13...v0.23.14)

---
updated-dependencies:
- dependency-name: ruby-lsp
  dependency-version: 0.23.14
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 12:15:43 -07:00
Patrick Linnane
eb847470b0
Merge pull request #19729 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-242e723c03
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-09 19:14:20 +00:00
Patrick Linnane
f365f70381
Merge pull request #19731 from Homebrew/vendor-gems-bundler-fix
dev-cmd/vendor-gems: fix incorrect Bundler version being used
2025-04-09 19:04:32 +00:00
BrewTestBot
c47da2b393
brew vendor-gems: commit updates. 2025-04-09 18:51:27 +00:00
Patrick Linnane
addd57f963
Merge pull request #19726 from Homebrew/upgrade-fix-test-regex
cmd/upgrade: fix output regex in test
2025-04-09 18:49:26 +00:00
Patrick Linnane
a272310c37
utils/gems: update Bundler version
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-09 11:43:19 -07:00
Bo Anderson
5ff37113ff
dev-cmd/vendor-gems: fix incorrect Bundler version being used 2025-04-09 19:35:13 +01:00
dependabot[bot]
70089c6d53
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.11993 to 0.5.11998
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11993 to 0.5.11998
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.11993 to 0.5.11998
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.11993 to 0.5.11998
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.11998
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.11998
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.11998
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.11998
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-09 18:19:08 +00:00
Sam Ford
7b2d84337e
cmd/upgrade: fix output regex in test
The "upgrades with asking for user prompts with dependants checks"
test for `cmd/upgrade` has been failing on CI. The regex in the test
doesn't match expected output because the negative lookaheads aren't
working as expected. The intention is to make sure that the names
aren't repeated (i.e., second shouldn't match first, third shouldn't
match first or second) but the negative lookaheads should be
_inside_ the second/third capture group for this to work as intended.

This updated regex should work as expected. I manually tested it
using the output from CI to make sure that it matches when no formula
names are repeated (e.g., `Formulae (3): testball, testball4,
testball5`) and does not match if formula names are repeated (e.g.,
`Formulae (3): testball5, testball4, testball5`).
2025-04-09 12:56:06 -04:00
Patrick Linnane
304cf64d2d
Portable Ruby 3.3.8
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-04-09 09:48:25 -07:00
Thierry Moisan
8211e0de85
shebang: include php language in formula 2025-04-09 12:32:08 -04:00
Mike McQuaid
35897fe49c
Merge pull request #19723 from boblail/lail/dont-invalidate-cached-location-if-redirect
fix: Don't invalidate the cached location if the response is a redirect
2025-04-09 13:19:14 +00:00
Patrick Linnane
c370200dba
Merge pull request #19724 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-a6e2b33930
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-08 19:57:23 +00:00
BrewTestBot
63bc52413e
brew vendor-gems: commit updates. 2025-04-08 19:29:50 +00:00
dependabot[bot]
4de0689ff6
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.11989 to 0.5.11993
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11989 to 0.5.11993
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.11989 to 0.5.11993
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.11989 to 0.5.11993
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.11993
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.11993
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.11993
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.11993
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-08 18:48:49 +00:00
Bob Lail
a6a8306c46 fix: Don't invalidate the cached location if the response is a redirect
A bug introduced with #19460 is that if a redirection has a file size (for example, if it is a 302 that also has HTML content), Homebrew will invalidate the cached location.
2025-04-08 11:14:56 -07:00
Mike McQuaid
96d32774b9
Merge pull request #19722 from Homebrew/moar_brew_bundle_services_tests
workflows/tests: add more brew bundle/services tests.
2025-04-08 10:09:22 +00:00
Mike McQuaid
7081129767
workflows/tests: add more brew bundle/services tests.
Add a few more commands for integration testing
2025-04-08 10:26:35 +01:00
Patrick Linnane
bf5bfd5a22
Merge pull request #19718 from Homebrew/dependabot/github_actions/actions/create-github-app-token-2.0.2
build(deps): bump actions/create-github-app-token from 1.12.0 to 2.0.2
2025-04-07 20:33:22 +00:00
Mike McQuaid
9bca39d89c
Merge pull request #19712 from Homebrew/brew_bundle_services_integration_tests
Add `brew bundle` and `brew services` integration tests
2025-04-07 18:14:48 +00:00
Patrick Linnane
2eb614a465
Merge pull request #19719 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-a3f059fb94
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
4.4.29
2025-04-07 16:48:00 +00:00
Patrick Linnane
38628a3bf1
Merge pull request #19720 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.14
build(deps): bump github/codeql-action from 3.28.13 to 3.28.14
2025-04-07 16:47:15 +00:00
Mike McQuaid
e6420932bf
Add brew bundle and brew services integration tests
We've had a few regressions in `brew bundle` and `brew services`
recently that would have been caught by actual integration tests.

This is similar to the "default formula" jobs but we want to run outside
of those containers so we can run e.g. systemd.

This will avoid bloating the runtime of already longer-running jobs.
2025-04-07 17:33:50 +01:00
BrewTestBot
5d30fe5573
brew vendor-gems: commit updates. 2025-04-07 16:32:50 +00:00
dependabot[bot]
694f4b3040
build(deps): bump github/codeql-action from 3.28.13 to 3.28.14
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.13 to 3.28.14.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](1b549b9259...fc7e4a0fa0)

---
updated-dependencies:
- dependency-name: github/codeql-action
  dependency-version: 3.28.14
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 16:30:18 +00:00
dependabot[bot]
287e6132c4
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
Bumps the sorbet group in /Library/Homebrew with 4 updates: [sorbet-static-and-runtime](https://github.com/sorbet/sorbet), [sorbet-runtime](https://github.com/sorbet/sorbet), [sorbet](https://github.com/sorbet/sorbet) and [sorbet-static](https://github.com/sorbet/sorbet).


Updates `sorbet-static-and-runtime` from 0.5.11987 to 0.5.11989
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-runtime` from 0.5.11987 to 0.5.11989
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet` from 0.5.11987 to 0.5.11989
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

Updates `sorbet-static` from 0.5.11987 to 0.5.11989
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

---
updated-dependencies:
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.11989
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-runtime
  dependency-version: 0.5.11989
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet
  dependency-version: 0.5.11989
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
- dependency-name: sorbet-static
  dependency-version: 0.5.11989
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: sorbet
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 16:30:14 +00:00
dependabot[bot]
9327644397
build(deps): bump actions/create-github-app-token from 1.12.0 to 2.0.2
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.12.0 to 2.0.2.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](d72941d797...3ff1caaa28)

---
updated-dependencies:
- dependency-name: actions/create-github-app-token
  dependency-version: 2.0.2
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-07 16:30:10 +00:00
Mike McQuaid
58df019fcc
Merge pull request #19716 from Homebrew/move_homebrew_bootsnap_gem_path
utils/ruby: set HOMEBREW_BOOTSNAP_GEM_PATH after Ruby install.
2025-04-07 16:10:50 +00:00
Mike McQuaid
020a30caa7
utils/ruby: set HOMEBREW_BOOTSNAP_GEM_PATH after Ruby install.
This should ensure it's set to the correct path.
2025-04-07 16:55:20 +01:00
Bo Anderson
25214f1f39
Merge pull request #19714 from Homebrew/bundle-sim-services-2
Reland "bundle: handle simultaneous exec --services better"
2025-04-07 15:46:39 +00:00
Mike McQuaid
568b707bc9
Merge pull request #19713 from Homebrew/services-loaded_file-2
Revert "Revert "services: add loaded_file data""
2025-04-07 14:53:01 +00:00
Bo Anderson
80f5c42f02
bundle/commands/exec: handle no services to start 2025-04-07 14:12:41 +01:00
Bo Anderson
f2513965e8
Revert "Revert "bundle: handle simultaneous exec --services better""
This reverts commit 94db0b2f3408280e20ca3888ed5c91672ab4fca2.
2025-04-07 14:10:42 +01:00
Bo Anderson
52a7b67ba5
Revert "Revert "services: add loaded_file data""
This reverts commit 76901b1352d776a0fb53696b0e61eed420186b0c.
2025-04-07 14:05:39 +01:00
Mike McQuaid
334bf23768
Merge pull request #19709 from Homebrew/bump-cask-pr-respect-os-arch
bump-cask-pr: respect `depends_on arch`
2025-04-07 07:34:05 +00:00
Sam Ford
99681d7fbc
bump-cask-pr: replace "host" naming with "current"
`Homebrew::SimulateSystem.current_os` may be returning the host OS or
a simulated OS and we can't be sure which in this context. At the
moment, this is expected to be the host OS but that may change in the
future. It shouldn't matter on a technical level but using "host" in
these variable names may lead to confusion.

This replaces "host" in names with "current", as it more accurately
describes the information.
2025-04-06 10:58:47 -04:00
Sam Ford
b7065d5fcf
bump-cask-pr: extract system_options generation
This extracts the logic for generating the `system_options` array in
the `replace_version_and_checksum` method into a separate
`generate_system_options` method. This logic is becoming more complex
(after recent changes) and manually testing it is a pain, so this
change is intended to allow us to add tests. The tests added here
provide 100% coverage for the method.
2025-04-06 10:58:46 -04:00
Sam Ford
6f06afbc11
bump-cask-pr: respect depends_on arch
This reworks the `SimulateSystem` args in the `bump-cask-pr`
`replace_version_and_checksum` method to respect `depends_on arch`
values in casks. That is to say, we shouldn't simulate Intel for a
cask using `depends_on arch: :arm64` and we shouldn't simulate ARM if
the cask uses `depends_on arch: :x86_64`.

In the process, this refactors how we collect/combine OS/arch values.
To make this approach work predictably, I removed the logic that
omits OS values matching the host OS (as `SimulateSystem` already
handles this). The `[{ os:, arch: }]` hash format only made sense when
we were omitting values, so this returns to the previous
`[[os, arch]]` array format (to align with the
`OnSystem::ALL_OS_ARCH_COMBINATIONS` array format).
2025-04-06 10:58:46 -04:00
Patrick Linnane
d6da002a6e
Merge pull request #19708 from Homebrew/dependabot/bundler/Library/Homebrew/vernier-1.7.0
build(deps-dev): bump vernier from 1.6.0 to 1.7.0 in /Library/Homebrew
4.4.28
2025-04-04 15:32:31 +00:00
Patrick Linnane
01cc0ee798
Merge pull request #19707 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-633609048a
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-04-04 15:31:16 +00:00
BrewTestBot
b3d14a1b09
Update RBI files for vernier.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-04 15:17:41 +00:00
BrewTestBot
e07d2b334b
brew vendor-gems: commit updates. 2025-04-04 15:17:33 +00:00
BrewTestBot
2911ea1117
Update RBI files for sorbet.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-04 15:17:28 +00:00
BrewTestBot
1435ce56a9
brew vendor-gems: commit updates. 2025-04-04 15:17:24 +00:00
dependabot[bot]
b8434f86fb
build(deps-dev): bump vernier from 1.6.0 to 1.7.0 in /Library/Homebrew
Bumps [vernier](https://github.com/jhawthorn/vernier) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/jhawthorn/vernier/releases)
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.6.0...v1.7.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 15:15:59 +00:00