45345 Commits

Author SHA1 Message Date
Patrick Linnane
fab8865b26
Merge pull request #19740 from Homebrew/dependabot/bundler/Library/Homebrew/rbi-0.3.2
build(deps-dev): bump rbi from 0.3.1 to 0.3.2 in /Library/Homebrew
2025-04-11 07:45:28 +00:00
Mike McQuaid
37eff7bc52
Merge pull request #19736 from Homebrew/drop_tests_macos_13
workflows/tests: drop macOS 13 tests.
2025-04-11 07:43:38 +00:00
BrewTestBot
93ddb1e6b9
Update RBI files for rbi.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-04-11 07:31:16 +00:00
BrewTestBot
f320358a86
brew vendor-gems: commit updates. 2025-04-11 07:31:08 +00:00
Patrick Linnane
cd57dbabb1
Merge pull request #19737 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/typing-extensions-4.13.2
build(deps): bump typing-extensions from 4.13.1 to 4.13.2 in /Library/Homebrew/formula-analytics
2025-04-11 07:29:53 +00:00
Patrick Linnane
6a32009951
Merge pull request #19738 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/urllib3-2.4.0
build(deps): bump urllib3 from 2.3.0 to 2.4.0 in /Library/Homebrew/formula-analytics
2025-04-11 07:29:30 +00:00
dependabot[bot]
0cbecb8598
build(deps-dev): bump rbi from 0.3.1 to 0.3.2 in /Library/Homebrew
Bumps [rbi](https://github.com/Shopify/rbi) from 0.3.1 to 0.3.2.
- [Release notes](https://github.com/Shopify/rbi/releases)
- [Commits](https://github.com/Shopify/rbi/compare/v0.3.1...v0.3.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 18:27:32 +00:00
dependabot[bot]
0503a074dd
build(deps): bump urllib3 in /Library/Homebrew/formula-analytics
Bumps [urllib3](https://github.com/urllib3/urllib3) from 2.3.0 to 2.4.0.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/2.3.0...2.4.0)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-version: 2.4.0
  dependency-type: indirect
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 18:16:52 +00:00
dependabot[bot]
1dcc4e03a1
build(deps): bump typing-extensions
Bumps [typing-extensions](https://github.com/python/typing_extensions) from 4.13.1 to 4.13.2.
- [Release notes](https://github.com/python/typing_extensions/releases)
- [Changelog](https://github.com/python/typing_extensions/blob/main/CHANGELOG.md)
- [Commits](https://github.com/python/typing_extensions/compare/4.13.1...4.13.2)

---
updated-dependencies:
- dependency-name: typing-extensions
  dependency-version: 4.13.2
  dependency-type: indirect
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-10 18:16:41 +00:00
Mike McQuaid
8aeaefe629
Merge pull request #19735 from Homebrew/brew_bundle_exec_env
bundle/commands/exec: adjust environment variable handling (again)
2025-04-10 15:40:44 +00:00
Mike McQuaid
2b92fc18fe
workflows/tests: drop macOS 13 tests.
These are almost 2x as slow as the next slowest tests and we'll be
dropping them around September this year at the latest anyway.

There's still some basic coverage from the "default formula" tests
which are much quicker to run on macOS 13.
2025-04-10 16:32:36 +01:00
Mike McQuaid
1a1aac9715
bundle/commands/exec: adjust environment variable handling (again)
We need to ensure that we keep around some `HOMEBREW_` variables so that
the e.g. `git` shim still works in `brew bundle exec`.
2025-04-10 16:16:53 +01:00
Mike McQuaid
1fb3bf8a14
Merge pull request #19733 from Homebrew/improve_brew_bundle_env
Improve `brew bundle exec`/`env`/`sh` environment handling
2025-04-10 14:43:27 +00:00
Mike McQuaid
359b68f827
Improve brew bundle exec/env/sh environment handling
- Rather than maintaining a list of Homebrew environment variables to
  delete, delete all Homebrew (and Portable Ruby) internal variables
  that won't be used by other tools.
- When exporting variables, only export variables that have changed.
- When exporting PATH-like variables, ensure the PATH is appending to
  the existing path rather than replacing it and ensure we only include
  newly added paths.
2025-04-10 15:23:02 +01:00
Mike McQuaid
8d62e7650d
Merge pull request #19734 from Homebrew/commands_exec_test_fix
bundle/commands/exec: add missing require.
2025-04-10 12:19:04 +00:00
Mike McQuaid
a1343c94d0
bundle/commands/exec: add missing require.
This should fix the flaky test failures in `exec_spec.rb`.
2025-04-10 13:04:01 +01:00
Patrick Linnane
9709c4f30f
Merge pull request #19732 from Moisan/formula_php_shebang
shebang: include php language in formula
2025-04-10 08:38:33 +00:00
Mike McQuaid
eb786171ae
Merge pull request #19725 from unitof/fix-docs
docs: fix Formula Cookbook build command
2025-04-10 08:29:58 +00:00
Patrick Linnane
98e78bc79a
Merge branch 'master' into formula_php_shebang 2025-04-09 12:54:30 -07:00
Patrick Linnane
a3d508f3f9
Merge pull request #19728 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.15
build(deps): bump github/codeql-action from 3.28.14 to 3.28.15
2025-04-09 19:46:29 +00:00
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