35948 Commits

Author SHA1 Message Date
Sean Molenaar
caba75ac25 feat: add appimage support for linux 2025-07-30 22:40:29 +02: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
Bo Anderson
406b9c029b
Fix forbidding special license refs 2025-07-24 23:37:31 +01:00
Issy Long
e524b7dd47
cmd/search: --desc depends on --eval-all, not the other way around
- When the user tried `brew search foo` with `--eval-all` or its
  envvar, it would fail with
  `Error: Invalid usage: `--eval-all` cannot be passed without `--desc`.`
- This was the wrong way around: `--desc` depends on `--eval-all`.
2025-07-24 22:58:16 +01:00
Patrick Linnane
a190b1fd42
Merge pull request #20303 from Homebrew/signing-audit
cask/audit: use `gktool` for signing audit
2025-07-24 17:02:05 +00:00
Mike McQuaid
e10d4c43c2
Optionally use DownloadQueue for reinstall, upgrade.
Follow up on `DownloadQueue` for download concurrency on `brew fetch`
and `brew install` to also add support for `brew reinstall` and
`brew upgrade`.

This required a fair bit of refactoring to make this work so I've also
made `install.rb`, `reinstall.rb` and `upgrade.rb` `typed: strict` to
add some extra guardrails from Sorbet here.

Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-07-24 15:41:03 +01:00
Bevan Kay
b7247de7cd
cask/audit: use gktool for signing audit 2025-07-24 23:02:06 +10:00
Mike McQuaid
c46a6b947d
Merge pull request #20299 from Homebrew/allow-deprecated-unsigned-autobump
tap: continue to autobump deprecated unsigned casks
2025-07-24 08:04:16 +00:00
Bevan Kay
68be276a11
cask/audit: refine codesign audits 2025-07-24 17:32:00 +10:00
Bevan Kay
5a04b55e56
tap: continue to autobump deprecated unsigned casks 2025-07-24 10:10:01 +10:00
Bo Anderson
b2ffe7b060
Fix handling of formula install blocks 2025-07-23 21:19:22 +01:00
Carlo Cabrera
48459b29c3
Merge pull request #20293 from Homebrew/dug/upgrade-thor
Bump thor from 1.3.2 to 1.4.0 to resolve dependabot alert
2025-07-23 04:16:45 +00:00
Douglas Eichelberger
48462a3c2d
Bump thor from 1.3.2 to 1.4.0 to resolve dependabot alert 2025-07-22 19:41:16 -07:00
Bevan Kay
cd8c0d88fc
cask/audit: skip signing audit for shell scripts 2025-07-23 12:21:59 +10:00
Mike McQuaid
ed5805e50c
Add JSON API download strategy for download queue
This fixes the weird/broken existing behaviour which was incorrectly
creating symlinks at download time. It also defers much more logic to
the original code.

For clarity, rename the existing `API::Download` class to
`API::SourceDownload`.

While we're here:
- add a/improve the `download_type` method on all `Downloadable`
  subclasses to improve download queue output format
- move some logic to `RetryDownload`
2025-07-22 17:48:32 +01:00
Bevan Kay
3bec1171ce
Merge pull request #20286 from Homebrew/enable_signing_audit
cask/audit: always enable codesign audit
2025-07-22 07:27:10 +00:00
Mike McQuaid
2a5c37cfdd
retryable_download: retry on bottle manifest errors.
This is needed in case these files are e.g. corrupt.
2025-07-21 15:07:19 +01:00
Bevan Kay
9dc5929ad8
cask/audit: always enable codesign audit 2025-07-22 00:04:54 +10:00
Mike McQuaid
e5d940fdaa
Improve Download Queue behaviour
- ensure that the `brew.rb` downloads of the API files only happens
  when they are more stale (>1 day) and using the API is not disabled
- default `brew fetch` and `brew install` to a single download retry

Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-07-21 09:10:06 +01:00
Mike McQuaid
0f92fd7037
Merge pull request #20283 from Homebrew/skip-concurrent-fetch-fix-tests
Fix some stdout issues with concurrence
2025-07-21 07:41:13 +00:00
Carlo Cabrera
89f510a0d4
Merge pull request #20281 from gromgit/env_script_all_files/no-overwrite
env_script_all_files: don't overwrite existing stuff
2025-07-21 05:24:23 +00:00
Adrian Ho
8a0a887056 env_script_all_files: don't overwrite existing stuff
Overwriting upstream content potentially causes major confusion at best, major breakage at worst.
2025-07-21 12:41:42 +08:00