34987 Commits

Author SHA1 Message Date
dependabot[bot]
50b10f47fd
build(deps): bump setuptools in /Library/Homebrew/formula-analytics
Bumps [setuptools](https://github.com/pypa/setuptools) from 78.0.1 to 78.0.2.
- [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/v78.0.1...v78.0.2)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 19:08:23 +00:00
Mike McQuaid
3289196603
Merge pull request #19605 from Homebrew/bottle_manifest_cleanup
cleanup: fix handling of bottle manifest rebuilds.
2025-03-25 18:47:07 +00:00
Mike McQuaid
38fc1afacc
cleanup: fix handling of bottle manifest rebuilds.
We need to handle these slightly different as otherwise they can be
cleaned up incorrectly.
2025-03-25 17:48:26 +00:00
Patrick Linnane
dd46e6cf0d
Merge pull request #19589 from Homebrew/dependabot/bundler/Library/Homebrew/rbs-3.9.1
build(deps-dev): bump rbs from 3.9.0 to 3.9.1 in /Library/Homebrew
2025-03-25 16:36:53 +00:00
Mike McQuaid
5105b7077b
Merge pull request #19603 from Homebrew/more_bundle_missing_requires
test/bundle/commands/check_spec: add missing requires.
2025-03-25 15:15:39 +00:00
Mike McQuaid
29d852c012
Merge pull request #19602 from Homebrew/service_list_domain_target
services: use domain target in `launchctl list` command.
2025-03-25 15:05:24 +00:00
Mike McQuaid
6910e05163
bundle/mac_app_store_checker: add missing require. 2025-03-25 15:01:50 +00:00
Mike McQuaid
90712429c0
test/bundle/commands/check_spec: add missing requires.
More missing requires that need added.
2025-03-25 14:53:41 +00:00
Mike McQuaid
2dcd8846a3
services: use domain target in launchctl list command.
If a service is somehow duplicated across multiple domains, this ensures
that the correct output is produced.
2025-03-25 14:16:29 +00:00
Mike McQuaid
8a3e6c60e3
Merge pull request #19601 from Homebrew/brew_bundle_improve_env_output
`brew bundle env`: sort and filter output.
2025-03-25 14:03:47 +00:00
Mike McQuaid
4c97a795a9
brew bundle env: sort and filter output.
- Sort output by key so it's more readable.
- Skip exporting empty values because shell scripts treat them as unset.
- Skip exporting non-Homebrew things that were already set in the old
  environment to avoid massive duplication and higher chances of e.g.
  bad escapes breaking things.
2025-03-25 13:47:44 +00:00
Mike McQuaid
8cd59b6345
Merge pull request #19600 from Homebrew/brew_bundle_env_sh_quote
`brew bundle env`: quote values correctly.
2025-03-25 13:40:28 +00:00
BrewTestBot
b31bd7fc3c Update RBI files for rbs.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-03-25 09:16:44 -04:00
BrewTestBot
8b605f2fcc brew vendor-gems: commit updates. 2025-03-25 09:16:44 -04:00
dependabot[bot]
27c1532094 build(deps-dev): bump rbs from 3.9.0 to 3.9.1 in /Library/Homebrew
Bumps [rbs](https://github.com/ruby/rbs) from 3.9.0 to 3.9.1.
- [Release notes](https://github.com/ruby/rbs/releases)
- [Changelog](https://github.com/ruby/rbs/blob/master/CHANGELOG.md)
- [Commits](https://github.com/ruby/rbs/compare/v3.9.0...v3.9.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-03-25 09:16:44 -04:00
Eric Knibbe
d8b5daea14
Merge pull request #19581 from Homebrew/caveats-remove-ansi
cask/api: remove control characters from cask caveats
2025-03-25 12:11:18 +00:00
Mike McQuaid
fcd9b340a8
brew bundle env: quote values correctly.
Otherwise, certain output will break the script when `eval`ed.
2025-03-25 11:55:52 +00:00
Eric Knibbe
ffa83ea341
Merge branch 'master' into caveats-remove-ansi 2025-03-25 07:54:52 -04:00
Mike McQuaid
08a9b44b72
linux/bundle/skipper: add support for Linux casks.
Don't unconditionally skip Linux casks but instead check if they are
supported on Linux.
2025-03-25 11:08:21 +00:00
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
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
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
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
Eric Knibbe
57f764a1d8 cask/api: remove control characters from cask caveats 2025-03-24 15:43:15 -04: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
9033719820
bundle/installer: add missing require. 2025-03-24 16:45:22 +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
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
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