Rafael Gallani
ef13b69b03
dev-cmd/create: handle nil stdin
2025-04-11 08:48:54 +01:00
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
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
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
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
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
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
Patrick Linnane
98e78bc79a
Merge branch 'master' into formula_php_shebang
2025-04-09 12:54:30 -07: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
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
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
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
BrewTestBot
5d30fe5573
brew vendor-gems: commit updates.
2025-04-07 16:32:50 +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
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
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
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
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
dependabot[bot]
535dc372f6
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.11984 to 0.5.11987
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.11984 to 0.5.11987
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet` from 0.5.11984 to 0.5.11987
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.11984 to 0.5.11987
- [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.11987
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-runtime
dependency-version: 0.5.11987
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet
dependency-version: 0.5.11987
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
- dependency-name: sorbet-static
dependency-version: 0.5.11987
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: sorbet
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 15:15:41 +00:00
Mike McQuaid
0d6de643f8
Merge pull request #19706 from Homebrew/revert-19703-bundle-exec-simultaneous-services
...
Revert "bundle: handle simultaneous `exec --services` better"
2025-04-04 14:47:04 +00:00
Mike McQuaid
94db0b2f34
Revert "bundle: handle simultaneous exec --services
better"
2025-04-04 15:30:47 +01:00