36418 Commits

Author SHA1 Message Date
Osama Albahrani
69673221d4 resource_auditor.rb: Skip https audit for curl dependencies
The error message to be fixed:

```console
% brew audit --strict --online xz
xz
  * Stable: The source URL http://downloads.sourceforge.net/project/lzmautils/xz-5.8.1.tar.gz should use HTTPS rather than HTTP
Error: 1 problem in 1 formula detected.

% brew edit xz # change it to https

% brew audit --strict --online xz
xz
  * Stable: should always include at least one HTTP mirror
Error: 1 problem in 1 formula detected.
```

- Fixes https://github.com/Homebrew/brew/issues/15728
2025-08-01 18:01:09 +03:00
Mike McQuaid
ea53fdc096
extend/pathname: fix type signature for write_env_script.
It needs to be more permissive.
2025-08-01 15:28:53 +01:00
Mike McQuaid
53b900663a
Merge pull request #20349 from Homebrew/odisabled_fix
extend/kernel: fix odisabled call.
2025-08-01 11:36:21 +00:00
Carlo Cabrera
f5bddacf0c
Merge pull request #20345 from Homebrew/assertions-typecheck
formula_assertions: fix typechecking error in `{shell,pipe}_output`
2025-08-01 10:09:39 +00:00
Mike McQuaid
f405f7316c
extend/kernel: fix odisabled call.
This must set `disable` to `true` to have correct behaviour.
Also, don't allow setting it to `false` to avoid confusion as
that's what `odeprecated` is for.
2025-08-01 08:47:38 +01:00
BrewTestBot
d62bb61c7f
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml) workflow.
2025-08-01 00:37:45 +00:00
Carlo Cabrera
4c024adba6
formula_assertions: fix typechecking error in {shell,pipe}_output
`cmd` can be a `Pathname` (see the type signature), but `ohai` seems to
expect only `String`s now.

While we're here, let's assert that `cmd` exists whenever it is a
`Pathname`, to avoid passing arguments like `bin/"cmd --version"` (which
is not a valid `Pathname`).

See, for example, Homebrew/homebrew-core#231882.
2025-08-01 05:58:46 +08:00
Rylan Polster
46b8ef4b96
Merge pull request #20344 from Homebrew/extend_sorbet_typing_pathname_cleanup
Cleanup some `extend/*` types/locations
2025-07-31 18:56:36 +00:00
Mike McQuaid
ec56bbf289
Improve extend/* Sorbet typing 2025-07-31 17:31:27 +01:00
Mike McQuaid
bcdb1d3af6
Merge pull request #20343 from Homebrew/fix_uri_parser_warning
Fix URI parser warning
2025-07-31 13:38:39 +00:00
Mike McQuaid
0df52b91de
Merge pull request #20342 from Homebrew/document_homebrew_download_concurrency
Document `HOMEBREW_DOWNLOAD_CONCURRENCY` environment variable
2025-07-31 12:06:32 +00:00
Mike McQuaid
34bc30d639
Fix URI parser warning 2025-07-31 12:21:19 +01:00
Mike McQuaid
0af23e9dc9
Document HOMEBREW_DOWNLOAD_CONCURRENCY environment variable
We're going to be ready in 4.6.0 for users to try this out (but not
yet for it to be the default).
2025-07-31 12:18:08 +01:00
Mike McQuaid
e3c3f5a356
Deprecate/disable/remove code for Homebrew 4.6
The next minor release will be Homebrew 4.6.0 so let's do the usual
deprecation/disable/remove code cycle.
2025-07-31 12:13:01 +01:00
Carlo Cabrera
70bb266d91
Merge pull request #20340 from Homebrew/test-bot-style-fix
utils/gems: use Homebrew-specific gem spec cache
2025-07-31 06:46:37 +00:00
Bo Anderson
888746ef54
utils/gems: use Homebrew-specific gem spec cache 2025-07-31 05:42:40 +01:00
Bo Anderson
c1c58741d6
api: fix handling of source downloads 2025-07-31 05:40:40 +01:00
Patrick Linnane
0162cdeffe
Merge pull request #20333 from agowa/patch-1
`brew upgrade --help` missing HOMEBREW_UPGRADE_GREEDY
2025-07-30 21:58:47 +00:00
Klaus Frank
a7da303481 fix: Add missing env var mention on upgrade help page
Add missing env defaults note for `--greedy` to `brew upgrade --help` output
2025-07-30 21:37:23 +00:00
Douglas Eichelberger
7fb928ccf4
Merge pull request #20325 from Homebrew/dug/typed-cask-audit
Enable strict typing in Cask::Audit
2025-07-30 20:23:18 +00:00
Douglas Eichelberger
157992be17
Enable strict typing in Cask::Audit 2025-07-30 12:43:32 -07:00
Mike McQuaid
bafc57cfe1
Add Cask install/upgrade/reinstall support for download queue
This will allow installing/upgrading/reinstalling casks and all their
dependencies in parallel.
2025-07-30 08:18:35 +01:00
Mike McQuaid
cb1fe9ac0c
Merge pull request #20330 from Homebrew/empty_caveats
cmd/info: don't print empty caveats.
2025-07-30 06:45:05 +00:00
Rylan Polster
fe0a9c4a3d
Merge pull request #20327 from Homebrew/download_queue_source_download
formula*: add source download support for download queue.
2025-07-30 03:26:40 +00:00
Mike McQuaid
10eb5491dc
cmd/info: don't print empty caveats.
The existing logic was insufficient so let's check the actual string.
2025-07-29 15:18:24 +01:00
Mike McQuaid
d15a0cd9eb
env_config: add auto option for download_concurrency
This will allow the user to set `HOMEBREW_DOWNLOAD_CONCURRENCY` to
`auto` to have Homebrew use the number of cores on the machine * 2.
2025-07-29 15:15:37 +01:00
Mike McQuaid
5d01b22d38
formula*: add source download support for download queue.
This should allow downloading the formula files from GitHub in
parallel too.
2025-07-29 13:48:43 +01:00
Mike McQuaid
b63669c92b
download_queue: fix bottle manifest handling.
These should be ignored upon failures.
2025-07-29 12:42:13 +01:00
Mike McQuaid
0c09ed71d4
formula_installer: fix fetch deps and local pour for download queue. 2025-07-29 12:19:39 +01:00
Mike McQuaid
d3a9525fd7
retryable_download: ensure HOMEBREW_CELLAR exists. 2025-07-29 12:19:38 +01:00
Douglas Eichelberger
0a4b064059
Fix specs 2025-07-28 21:14:23 -07:00
Douglas Eichelberger
5177db7dc9
Remove redundant yard tags 2025-07-28 17:14:03 -07:00
Douglas Eichelberger
c4b02465f5
Reduce shape variations in Homebrew::Service 2025-07-28 17:03:43 -07:00
Douglas Eichelberger
c738d5c007
Fix type error in Readall 2025-07-27 10:07:34 -07:00
Bo Anderson
4d14be89e9
Merge pull request #20309 from Homebrew/dependabot/all-f8dbd9efe6
Bump the "all" group with 3 updates across multiple ecosystems
2025-07-25 16:37:43 +00:00
Mike McQuaid
4d58e746da
Merge pull request #20313 from Homebrew/download_queue_no_tty
download_queue: improve non-TTY output.
2025-07-25 16:29:51 +00:00
Mike McQuaid
bd3461d4b0
Merge pull request #20312 from Homebrew/development_tools_env
linux/development_tools: add undocumented environment variables.
2025-07-25 16:29:33 +00:00
Mike McQuaid
0c969c2f82
Merge pull request #20311 from Homebrew/quieter_debug
Make `--debug` output a bit quieter by default
2025-07-25 16:28:33 +00:00
Mike McQuaid
312f046302
Make --debug output a bit quieter by default
The `Formulary` and `system_command` debug output is incredibly verbose
by default and this is pretty annoying when all you want is to get
better backtraces when there's an error.

Instead, let's require `--verbose` and `--debug` for the noisiest output
message types.
2025-07-25 17:14:46 +01:00
BrewTestBot
bd24e11313
Update RBI files for all.
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml) workflow.
2025-07-25 16:11:08 +00:00
BrewTestBot
8d9e31de0b
brew vendor-gems: commit updates. 2025-07-25 16:10:50 +00:00
Bo Anderson
1974b8c24c
Downgrade to Bundler 2.6.8 2025-07-25 17:06:11 +01:00
Mike McQuaid
332527f16f
download_queue: improve non-TTY output.
Print simpler output when not running in a TTY.
2025-07-25 16:00:45 +00:00
Mike McQuaid
e75d54cbff
linux/development_tools: add undocumented environment variables.
This makes it easier to test the automatic installation of the libc and
compiler formulae without having to change the code.

This is particularly useful now we don't have any official Docker images
for this.
2025-07-25 15:56:33 +00:00
Mike McQuaid
4ee1015d94
attestation: improve debug message.
Let's reference a bottle filename here rather than a class instance ID.
2025-07-25 15:45:20 +00:00
Bevan Kay
02c643cdd3
Merge pull request #20307 from Homebrew/signing-change
cask/audit: skip signing audit without gktool
2025-07-25 09:13:28 +00:00
dependabot[bot]
c945c8056b
build(deps): bump certifi
Bumps the all group with 1 update in the /Library/Homebrew/formula-analytics directory: [certifi](https://github.com/certifi/python-certifi).


Updates `certifi` from 2025.7.9 to 2025.7.14
- [Commits](https://github.com/certifi/python-certifi/compare/2025.07.09...2025.07.14)
build(deps): bump github/codeql-action in the all group

Bumps the all group with 1 update: [github/codeql-action](https://github.com/github/codeql-action).


Updates `github/codeql-action` from 3.29.2 to 3.29.4
- [Release notes](https://github.com/github/codeql-action/releases)
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md)
- [Commits](181d5eefc2...4e828ff8d4)
build(deps): bump the all group across 1 directory with 8 updates

Bumps the all group with 4 updates in the /Library/Homebrew directory: [rubocop-ast](https://github.com/rubocop/rubocop-ast), [parallel_tests](https://github.com/grosser/parallel_tests), [sorbet-static-and-runtime](https://github.com/sorbet/sorbet) and [spoom](https://github.com/Shopify/spoom).


Updates `rubocop-ast` from 1.45.1 to 1.46.0
- [Release notes](https://github.com/rubocop/rubocop-ast/releases)
- [Changelog](https://github.com/rubocop/rubocop-ast/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rubocop/rubocop-ast/compare/v1.45.1...v1.46.0)

Updates `parallel_tests` from 5.3.0 to 5.3.1
- [Changelog](https://github.com/grosser/parallel_tests/blob/master/CHANGELOG.md)
- [Commits](https://github.com/grosser/parallel_tests/compare/v5.3.0...v5.3.1)

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

Updates `spoom` from 1.7.4 to 1.7.5
- [Release notes](https://github.com/Shopify/spoom/releases)
- [Commits](https://github.com/Shopify/spoom/compare/v1.7.4...v1.7.5)

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

Updates `parser` from 3.3.8.0 to 3.3.9.0
- [Changelog](https://github.com/whitequark/parser/blob/master/CHANGELOG.md)
- [Commits](https://github.com/whitequark/parser/compare/v3.3.8.0...v3.3.9.0)

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

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

---
updated-dependencies:
- dependency-name: certifi
  dependency-version: 2025.7.14
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: github/codeql-action
  dependency-version: 3.29.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: rubocop-ast
  dependency-version: 1.46.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
  dependency-group: all
- dependency-name: parallel_tests
  dependency-version: 5.3.1
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-static-and-runtime
  dependency-version: 0.5.12357
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: spoom
  dependency-version: 1.7.5
  dependency-type: direct:development
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-runtime
  dependency-version: 0.5.12357
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: parser
  dependency-version: 3.3.9.0
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet
  dependency-version: 0.5.12357
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
- dependency-name: sorbet-static
  dependency-version: 0.5.12357
  dependency-type: indirect
  update-type: version-update:semver-patch
  dependency-group: all
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-25 09:12:24 +00:00
copilot-swe-agent[bot]
ebb71682ab
Improve error message for tap conflicts in brew install
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
Co-authored-by: carlocab <30379873+carlocab@users.noreply.github.com>
2025-07-25 09:39:19 +01:00
Bevan Kay
b1a74330d7
cask/audit: skip signing audit without gktool
replace `odebug` with `opoo`

Co-authored-by: Carlo Cabrera <github@carlo.cab>

cask/audit: fix style
2025-07-25 14:40:46 +10:00
Bo Anderson
fec86a9488
Merge pull request #20306 from Homebrew/license-symbol-fix
Fix forbidding special license refs
2025-07-25 00:02:11 +00:00