Osama Albahrani
de8ff312e6
config: Remove use of /etc/redhat-release
2025-09-02 23:24:07 +03:00
Osama Albahrani
ce8ae46054
config: prioritize ::OS_VERSION
...
On the [beta Bluefin LTS](https://docs.projectbluefin.io/lts ), `brew config` reports:
```console
OS: CentOS Stream release 10 (Coughlan)
```
This is due to the `/etc/redhat-release` file being prioritized over `::OS_VERSION` (`PRETTY_NAME` from `/etc/os-release`).
On Bluefin LTS, `PRETTY_NAME` is `Bluefin LTS`.
This commit reverses the order so `brew config` has better detection:
```
OS: Bluefin LTS
```
I tested on RHEL 10 and the OS line only changed in that the word
"release" was omitted:
```
$ cat /etc/redhat-release
Red Hat Enterprise Linux release 10.0 (Coughlan)
$ grep PRETTY_NAME /etc/os-release
PRETTY_NAME="Red Hat Enterprise Linux 10.0 (Coughlan)"
```
- This is an improvement on my previous PR https://github.com/Homebrew/brew/pull/15788
2025-09-02 22:50:36 +03: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
dea25ec0c0
Merge pull request #20288 from Homebrew/retry_bottle_manifest
...
retryable_download: retry on bottle manifest errors.
2025-07-21 14:24:03 +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
6261551636
Merge pull request #20285 from Homebrew/download_queue_tweaks
...
Improve Download Queue behaviour
4.5.11
2025-07-21 08:24:09 +00: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
Carlo Cabrera
6a8502809a
Merge pull request #20284 from Homebrew/dispatch-built-bottle-ref
...
dispatch-build-bottle: use `main` branch
2025-07-21 02:52:54 +00:00
Carlo Cabrera
99807510f0
dispatch-build-bottle: use main
branch
...
This is really only used in Homebrew/core, so it should be safe to just
change `ref` here to `main`. Without this, `dispatch-build-bottle`
creates PRs that mistakenly target the `master` branch instead of the
`main` branch.
2025-07-21 10:24:23 +08:00
Rylan Polster
d436381616
Fix tests with concurrent set
2025-07-20 17:13:07 -04:00
Rylan Polster
df3b3ce19c
Skip concurrent fetch with fewer than 2 downloads
2025-07-20 17:12:43 -04:00
Bo Anderson
d0959bbd02
Merge pull request #20282 from Homebrew/bottle_tab_runtime_dependencies-fix
...
formula_installer: ignore bottle_tab_runtime_dependencies errors
2025-07-20 16:58:48 +00:00
Bo Anderson
65853d9bab
formula_installer: ignore bottle_tab_runtime_dependencies errors
2025-07-20 16:02:43 +01:00
Carlo Cabrera
e8048606d1
Merge pull request #20279 from Homebrew/sorbet-files-update
...
sorbet: Update RBI files.
2025-07-19 02:19:03 +00:00
BrewTestBot
81d58a89be
sorbet: Update RBI files.
...
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml ) workflow.
2025-07-19 00:31:02 +00:00
Patrick Linnane
e68b1495f9
Merge pull request #20275 from Homebrew/dependabot/all-bef4732fe0
...
Bump the "all" group with 3 updates across multiple ecosystems
2025-07-18 17:08:33 +00:00
BrewTestBot
db8bff7a5c
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-18 16:14:56 +00:00
BrewTestBot
2a1819fe09
brew vendor-gems: commit updates.
2025-07-18 16:14:28 +00:00
Douglas Eichelberger
8390465d19
Try updating platforms
2025-07-18 09:05:02 -07:00
Mike McQuaid
6c8b49ec81
Merge pull request #20277 from Homebrew/mcp_server_docs
...
docs: add Homebrew's MCP server documentation.
2025-07-18 15:43:16 +00:00
Carlo Cabrera
bdaaef9e5d
Merge pull request #20278 from Homebrew/sponsors-maintainers-man-completions
...
Update manpage and completions.
2025-07-18 14:56:33 +00:00
Mike McQuaid
7bbc0a0aed
Merge pull request #20273 from Homebrew/api_download_queue
...
Optionally parallelise API file downloads
2025-07-18 14:43:53 +00:00
BrewTestBot
c07d9c1bfc
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-07-18 14:33:15 +00:00
Mike McQuaid
ceeaeffc51
docs: add Homebrew's MCP server documentation.
...
Provide some basic instructions on how to use and configure it.
2025-07-18 15:27:11 +01:00
Mike McQuaid
0a4a29946a
Merge pull request #20245 from Homebrew/download_queue_install
...
Optionally use `download_queue` for `brew install`
2025-07-18 14:15:27 +00:00
Mike McQuaid
21e9db69c8
Merge pull request #20276 from gromgit/bundle/local-global
...
bundle: --file and --global should conflict
2025-07-18 14:15:00 +00:00
Mike McQuaid
f5f64ce84c
Merge pull request #20270 from botantony/formulary_no_autobump
...
formulary: make `no_autobump!` reason a symbol when needed
2025-07-18 14:13:19 +00:00
Mike McQuaid
36c7f4950c
Optionally parallelise API file downloads
...
This assumes that all should be downloaded (at least once) on `brew`
commands being run.
Requires a certain amount of cleanup and refactoring around our API
handling and Tap migration methods (which were both weirdly placed and
in some cases broken).
Behaviour without `HOMEBREW_DOWNLOAD_CONCURRENCY` set should
be unchanged.
2025-07-18 15:01:34 +01:00
Mike McQuaid
5cc6722372
Optionally use DownloadQueue for brew install
...
Allowing using `HOMEBREW_DOWNLOAD_CONCURRENCY` to use the
`DownloadQueue` for `brew install` by downloading and extracting
bottles in parallel.
This requires some fixes in e.g. `Dependency` and `FormulaInstaller`
to be able to front-load all downloads and handle parallelisation of
bottle pouring.
Behaviour without `HOMEBREW_DOWNLOAD_CONCURRENCY` set should be
unchanged.
Attestations are not handled for now and the UI should be improved
before we roll this out to users.
Post-install upgrades are not yet parallelised.
Co-authored-by: Carlo Cabrera <github@carlo.cab>
2025-07-18 15:00:23 +01:00
Mike McQuaid
042c79e7ec
Merge pull request #20272 from Homebrew/refactor_download_queue
...
Refactor DownloadQueue handling
2025-07-18 13:38:29 +00:00
Adrian Ho
464e857344
bundle: --file and --global should conflict
...
Addresses https://github.com/orgs/Homebrew/discussions/6292 .
2025-07-18 18:47:56 +08:00
dependabot[bot]
66d11f23f1
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.6.15 to 2025.7.9
- [Commits](https://github.com/certifi/python-certifi/compare/2025.06.15...2025.07.09 )
build(deps): bump ruby/setup-ruby in the all group
Bumps the all group with 1 update: [ruby/setup-ruby](https://github.com/ruby/setup-ruby ).
Updates `ruby/setup-ruby` from 1.246.0 to 1.247.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](a4f8389190...4727905401
)
build(deps): bump the all group across 1 directory with 9 updates
Bumps the all group with 5 updates in the /Library/Homebrew directory:
| Package | From | To |
| --- | --- | --- |
| [rubocop](https://github.com/rubocop/rubocop ) | `1.77.0` | `1.78.0` |
| [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) | `0.5.12222` | `0.5.12230` |
| [tapioca](https://github.com/Shopify/tapioca ) | `0.17.6` | `0.17.7` |
| [ruby-lsp](https://github.com/Shopify/ruby-lsp ) | `0.24.2` | `0.25.0` |
| [simplecov-html](https://github.com/simplecov-ruby/simplecov-html ) | `0.13.1` | `0.13.2` |
Updates `rubocop` from 1.77.0 to 1.78.0
- [Release notes](https://github.com/rubocop/rubocop/releases )
- [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop/compare/v1.77.0...v1.78.0 )
Updates `sorbet-static-and-runtime` from 0.5.12222 to 0.5.12230
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `tapioca` from 0.17.6 to 0.17.7
- [Release notes](https://github.com/Shopify/tapioca/releases )
- [Commits](https://github.com/Shopify/tapioca/compare/v0.17.6...v0.17.7 )
Updates `ruby-lsp` from 0.24.2 to 0.25.0
- [Release notes](https://github.com/Shopify/ruby-lsp/releases )
- [Commits](https://github.com/Shopify/ruby-lsp/compare/v0.24.2...v0.25.0 )
Updates `sorbet-runtime` from 0.5.12222 to 0.5.12230
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `json` from 2.12.2 to 2.13.0
- [Release notes](https://github.com/ruby/json/releases )
- [Changelog](https://github.com/ruby/json/blob/master/CHANGES.md )
- [Commits](https://github.com/ruby/json/compare/v2.12.2...v2.13.0 )
Updates `simplecov-html` from 0.13.1 to 0.13.2
- [Release notes](https://github.com/simplecov-ruby/simplecov-html/releases )
- [Changelog](https://github.com/simplecov-ruby/simplecov-html/blob/main/CHANGELOG.md )
- [Commits](https://github.com/simplecov-ruby/simplecov-html/compare/v0.13.1...v0.13.2 )
Updates `sorbet` from 0.5.12222 to 0.5.12230
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.12222 to 0.5.12230
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
---
updated-dependencies:
- dependency-name: certifi
dependency-version: 2025.7.9
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: ruby/setup-ruby
dependency-version: 1.247.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: rubocop
dependency-version: 1.78.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: sorbet-static-and-runtime
dependency-version: 0.5.12230
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: tapioca
dependency-version: 0.17.7
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: ruby-lsp
dependency-version: 0.25.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: sorbet-runtime
dependency-version: 0.5.12230
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: json
dependency-version: 2.13.0
dependency-type: indirect
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: simplecov-html
dependency-version: 0.13.2
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet
dependency-version: 0.5.12230
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-static
dependency-version: 0.5.12230
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-07-18 08:53:29 +00:00
Carlo Cabrera
38d4b1e1d1
Merge pull request #20274 from tyuwags/ask-option-refactoring
...
ask option refactoring
2025-07-18 06:28:18 +00:00
thibhero
4e4617fd37
reject installed before to not print already up to date
2025-07-17 19:29:56 -04:00
Mike McQuaid
a3d6ee1d2a
Refactor DownloadQueue handling
...
- Use undocumented (for now) `HOMEBREW_DOWNLOAD_CONCURRENCY` instead
of `--concurrency` flag and avoid passing around `concurrency`
- Create and use `Formula#enqueue_resources_and_patches` helper method
- Rename some method calls to be more obvious
- Use `Downloadable` type to simplify type checks
- General refactoring
2025-07-17 17:49:53 +01:00
Mike McQuaid
cf8d654708
Merge pull request #20267 from botantony/audit_no_autobump
...
Audit `no_autobump!` reason for new packages
2025-07-17 15:30:31 +00:00
botantony
5a50a0f232
formulary: make no_autobump!
reason a symbol when needed
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-07-17 17:16:37 +02:00
botantony
5450e730ed
Audit no_autobump!
reason for new packages
...
Signed-off-by: botantony <antonsm21@gmail.com>
2025-07-17 17:12:33 +02:00
Patrick Linnane
0dbefc9272
Merge pull request #20262 from Homebrew/mp4-test-fixture
...
test/fixtures: add minimal mp4
2025-07-16 17:34:40 +00:00
Patrick Linnane
e2746fd864
Merge pull request #20266 from Homebrew/github_runner_matrix_os_tags
...
github_runner_matrix: note about adding OS tags.
2025-07-16 16:37:04 +00:00
Patrick Linnane
f19dc4556e
Merge pull request #20265 from Homebrew/portable-ruby-3.4.5
...
Portable Ruby 3.4.5
2025-07-16 16:23:11 +00:00
Mike McQuaid
adc83d2d4b
github_runner_matrix: note about adding OS tags.
...
This helps people running old macOS versions to jump to specific commits
before their version was unsupported.
2025-07-16 17:22:33 +01:00
William Woodruff
46314291ab
Merge pull request #19984 from dtrodrigues/py3-whl
...
utils/pypi: ensure pure Python wheels support py3
2025-07-16 16:10:58 +00:00
Patrick Linnane
feebf94dd3
setup-ruby v1.246.0
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-07-16 09:09:46 -07:00
Patrick Linnane
af304da633
Portable Ruby 3.4.5
...
Signed-off-by: Patrick Linnane <patrick@linnane.io>
2025-07-16 08:58:14 -07:00
William Woodruff
78f3fdeed9
Merge branch 'main' into py3-whl
2025-07-16 11:32:22 -04:00