44395 Commits

Author SHA1 Message Date
Mike McQuaid
2dbce6bac5
Merge pull request #19579 from Homebrew/bundle_version_file
Add `version_file:` DSL to `Brewfile`
2025-03-25 10:11:52 +00:00
Mike McQuaid
8a3050a624
Merge pull request #19598 from Homebrew/bundle_missing_requires
test/bundle: add more missing requires.
2025-03-25 10:06:57 +00:00
Mike McQuaid
949aaa78e6
test/bundle: add more missing requires.
See https://github.com/Homebrew/brew/actions/runs/14055694149/job/39354629119?pr=19597
2025-03-25 09:32:56 +00:00
Mike McQuaid
1ce12ae6e5
Merge pull request #19575 from Homebrew/brew_bundle_filtering
Don't filter the environment for `brew bundle (exec|env|sh)`
2025-03-25 09:07:39 +00:00
Carlo Cabrera
6c49462b41
Merge pull request #19593 from Homebrew/dispatch-arm64-linux
dev-cmd/dispatch-build-bottle: support arm64 Linux
2025-03-25 08:52:12 +00:00
Ruoyu Zhong
358af263b4
Merge pull request #19595 from gromgit/popen/fix-err-msg
popen: get correct cmd name on error
2025-03-25 06:03:13 +00:00
Patrick Linnane
63bc00ebcd
Merge pull request #19584 from Homebrew/dependabot/github_actions/artifacts-aeec8888df
build(deps): bump the artifacts group with 2 updates
2025-03-25 05:09:38 +00:00
Patrick Linnane
89b392dd5f
Merge pull request #19585 from Homebrew/dependabot/github_actions/actions/create-github-app-token-1.11.7
build(deps): bump actions/create-github-app-token from 1.11.6 to 1.11.7
2025-03-25 05:09:16 +00:00
Adrian Ho
0efa6aab32 popen: get correct cmd name on error
Blindly using args[0] misleads users when an env is passed.

Before:
```
==> go build -ldflags=-s -w -X main.version=1.64.8 -X main.commit=8b37f14 -X main.date=2025-03-17T16:54:02Z ./cmd/golangci-lint
brew: command not found: {"SHELL"=>"bash"}
Error: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/golangci-lint@1/1.64.8/bin/golangci-lint completion bash` exited with 127. Here's the output:
```
After:
```
==> go build -ldflags=-s -w -X main.version=1.64.8 -X main.commit=8b37f14 -X main.date=2025-03-17T16:54:02Z ./cmd/golangci-lint
brew: command not found: /opt/homebrew/Cellar/golangci-lint@1/1.64.8/bin/golangci-lint
Error: Failure while executing; `\{\"SHELL\"=\>\"bash\"\} /opt/homebrew/Cellar/golangci-lint@1/1.64.8/bin/golangci-lint completion bash` exited with 127. Here's the output:
```
2025-03-25 11:36:23 +08:00
Carlo Cabrera
a1df0c9dbe
Merge pull request #19594 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-03-25 03:19:05 +00:00
BrewTestBot
d914539bda
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.
2025-03-25 03:06:12 +00:00
Carlo Cabrera
40588b0ad9
dev-cmd/dispatch-build-bottle: support arm64 Linux
This will make it easier to dispatch bottle builds for arm64 Linux.
2025-03-25 11:03:37 +08:00
Mike McQuaid
07dd04efc4
Merge pull request #19577 from Homebrew/env_sync_strict
cmd/*env-sync: add `HOMEBREW_ENV_SYNC_STRICT` mode.
2025-03-25 02:51:26 +00:00
Mike McQuaid
21ec0dd655
Merge pull request #19576 from Homebrew/tab_bottle_rebuild
tab: add `bottle_rebuild` to `runtime_dependencies`.
2025-03-25 02:50:26 +00:00
Eric Knibbe
cfe6e0407a
Merge pull request #19586 from Homebrew/dependabot/github_actions/github/codeql-action-3.28.13
build(deps): bump github/codeql-action from 3.28.11 to 3.28.13
2025-03-25 02:06:06 +00:00
Eric Knibbe
f83c043930
Merge pull request #19587 from Homebrew/dependabot/github_actions/actions/cache-4.2.3
build(deps): bump actions/cache from 4.2.2 to 4.2.3
2025-03-25 02:05:42 +00:00
Eric Knibbe
9f1cf423a8
Merge pull request #19588 from Homebrew/dependabot/github_actions/ruby/setup-ruby-1.227.0
build(deps): bump ruby/setup-ruby from 1.226.0 to 1.227.0
2025-03-25 02:05:26 +00:00
Eric Knibbe
5f31bed410
Merge pull request #19590 from Homebrew/dependabot/pip/Library/Homebrew/formula-analytics/setuptools-78.0.1
build(deps): bump setuptools from 77.0.3 to 78.0.1 in /Library/Homebrew/formula-analytics
2025-03-25 02:05:10 +00:00
Eric Knibbe
0540a6add4
Merge pull request #19592 from Homebrew/dependabot/bundler/Library/Homebrew/vernier-1.6.0
build(deps-dev): bump vernier from 1.5.0 to 1.6.0 in /Library/Homebrew
2025-03-25 02:03:58 +00:00
Eric Knibbe
3329d71b76
Merge pull request #19591 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-7f967ee0df
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
2025-03-25 02:02:03 +00:00
BrewTestBot
7752d84415
brew vendor-gems: commit updates. 2025-03-24 20:52:05 +00:00
BrewTestBot
148e520829
Update RBI files for vernier.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-03-24 20:52:01 +00:00
BrewTestBot
d99694c4b0
brew vendor-gems: commit updates. 2025-03-24 20:51:55 +00:00
dependabot[bot]
ee6611fd54
build(deps-dev): bump vernier from 1.5.0 to 1.6.0 in /Library/Homebrew
Bumps [vernier](https://github.com/jhawthorn/vernier) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/jhawthorn/vernier/releases)
- [Commits](https://github.com/jhawthorn/vernier/compare/v1.5.0...v1.6.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 20:03:04 +00:00
dependabot[bot]
d6c6534801
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.11952 to 0.5.11953
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 20:02:42 +00:00
dependabot[bot]
fa30ebcb8f
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
Bumps [setuptools](https://github.com/pypa/setuptools) from 77.0.3 to 78.0.1.
- [Release notes](https://github.com/pypa/setuptools/releases)
- [Changelog](https://github.com/pypa/setuptools/blob/main/NEWS.rst)
- [Commits](https://github.com/pypa/setuptools/compare/v77.0.3...v78.0.1)

---
updated-dependencies:
- dependency-name: setuptools
  dependency-type: indirect
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:58:55 +00:00
dependabot[bot]
c55ad5f3bb
build(deps): bump ruby/setup-ruby from 1.226.0 to 1.227.0
Bumps [ruby/setup-ruby](https://github.com/ruby/setup-ruby) from 1.226.0 to 1.227.0.
- [Release notes](https://github.com/ruby/setup-ruby/releases)
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb)
- [Commits](922ebc4c52...1a615958ad)

---
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>
2025-03-24 19:04:34 +00:00
dependabot[bot]
c38595e93b
build(deps): bump actions/cache from 4.2.2 to 4.2.3
Bumps [actions/cache](https://github.com/actions/cache) from 4.2.2 to 4.2.3.
- [Release notes](https://github.com/actions/cache/releases)
- [Changelog](https://github.com/actions/cache/blob/main/RELEASES.md)
- [Commits](d4323d4df1...5a3ec84eff)

---
updated-dependencies:
- dependency-name: actions/cache
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:04:28 +00:00
dependabot[bot]
f77cdb21cf
build(deps): bump actions/create-github-app-token from 1.11.6 to 1.11.7
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 1.11.6 to 1.11.7.
- [Release notes](https://github.com/actions/create-github-app-token/releases)
- [Commits](21cfef2b49...af35edadc0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:04:10 +00:00
dependabot[bot]
f547db6517
build(deps): bump github/codeql-action from 3.28.11 to 3.28.13
Bumps [github/codeql-action](https://github.com/github/codeql-action) from 3.28.11 to 3.28.13.
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](6bb031afdd...1b549b9259)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:04:10 +00:00
dependabot[bot]
b35a796469
build(deps): bump the artifacts group with 2 updates
Bumps the artifacts group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact).


Updates `actions/upload-artifact` from 4.6.1 to 4.6.2
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](4cec3d8aa0...ea165f8d65)

Updates `actions/download-artifact` from 4.1.9 to 4.2.1
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](cc20338598...95815c38cf)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: artifacts
- dependency-name: actions/download-artifact
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: artifacts
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-24 19:03:52 +00:00
Bo Anderson
7d8870401c
Merge pull request #19583 from janosorcsik/add_missing_brew_dumper_require_to_dumper
Add brew_dumper.rb to dumper.rb file
2025-03-24 19:00:39 +00:00
János Orcsik
ef95548be8
Add brew_dumper.rb 2025-03-24 19:38:23 +01:00
Mike McQuaid
9e789279f5
tab: add bottle_rebuild to runtime_dependencies.
It can be useful to know, if a formula's dependencies were installed
from a bottle, what rebuild of the bottle was used for debugging.
2025-03-24 17:37:06 +00:00
Mike McQuaid
df0fe8a802
Add version_file: DSL to Brewfile
This allows writing to e.g. `.ruby-version` files directly from the
`Brewfile`, making it easy to keep these versions in sync.
2025-03-24 17:34:35 +00:00
Mike McQuaid
85a8aba9bc
Merge pull request #19580 from Homebrew/bundle_missing_require
bundle/installer: add missing require.
2025-03-24 17:10:02 +00:00
Mike McQuaid
9033719820
bundle/installer: add missing require. 2025-03-24 16:45:22 +00:00
Carlo Cabrera
09eceba798
Merge pull request #19568 from Homebrew/bundle-lazy-require
bundle: `require` more lazily
2025-03-24 16:24:07 +00:00
Mike McQuaid
61bb2f6225
cmd/*env-sync: add HOMEBREW_ENV_SYNC_STRICT mode.
If this variable is set, `brew *env-sync` will only sync the exact
installed versions of formulae rather than all the patch (or, for node,
minor and patch) versions.
2025-03-24 15:00:16 +00:00
Carlo Cabrera
f7ee1902e4
bundle: require more lazily
This will hopefully make using `brew bundle` a little bit snappier.
2025-03-24 22:48:58 +08:00
Mike McQuaid
6e20cedb67
Don't filter the environment for brew bundle (exec|env|sh)
It's both unexpected and undesirable for `brew bundle (exec|env|sh)` to
filter the environment and makes these tools less useful.

Not filtering the environment, though, causes issues with the
`brew bundle sh` shell. Fix this up and, while we're here, also improve
the formatting for both `zsh` and `bash` (the default) to use nicer and
more consistent prompts and colours.

To simplify this, consolidate some logic in a new
`Utils::Shell.shell_with_prompt` method and add tests for it and a
similar notice for `brew bundle sh`.

Finally, avoid printing out the notice when `HOMEBREW_NO_ENV_HINTS` is
set.
2025-03-24 13:37:25 +00:00
Eric Knibbe
f104184214
Merge pull request #19571 from Homebrew/dependabot/bundler/Library/Homebrew/sorbet-0b5483616e
build(deps): bump the sorbet group in /Library/Homebrew with 4 updates
4.4.26
2025-03-24 02:42:00 +00:00
BrewTestBot
b8fec9624a
brew vendor-gems: commit updates. 2025-03-23 22:22:20 +00:00
dependabot[bot]
f7a0ae0dab
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.11948 to 0.5.11952
- [Release notes](https://github.com/sorbet/sorbet/releases)
- [Commits](https://github.com/sorbet/sorbet/commits)

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

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

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

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-21 18:46:25 +00:00
Mike McQuaid
fa9f8bd781
Merge pull request #19570 from Homebrew/install_as_dependency
Add `brew install --as-dependency`
2025-03-21 16:03:40 +00:00
Mike McQuaid
e41a1f6d8a
Add brew install --as-dependency
This option avoids needing to immediately use
`brew tab --no-installed-on-request` when manually installing a
dependency.
2025-03-21 15:49:22 +00:00
Mike McQuaid
7ddc4b0196
Merge pull request #19569 from Homebrew/homebrew_brew_file_public
Make some global variables part of the public API
2025-03-21 10:26:05 +00:00
Mike McQuaid
f7b9ed11b9
Make some global variables part of the public API
These are all useful to be able to tell users to rely on them and
we've used them long enough for it to make sense as a public API.

Relatedly, these are all used in at least some Homebrew/homebrew-core
or Homebrew/homebrew-cask formulae.

While we're here, update the descriptions to be a bit more user
friendly.
2025-03-21 10:11:58 +00:00
Mike McQuaid
6f04ee4cff
Merge pull request #19563 from botantony/python-shebang
shebangs: fix broken shebangs like `#!python`
2025-03-21 09:22:54 +00:00
Mike McQuaid
81bf90bb70
Merge pull request #19566 from Homebrew/bundle-no-kernel
bundle: remove `include Kernel` references
2025-03-21 09:12:38 +00:00