Mike McQuaid
7878c73b85
Merge pull request #20537 from Homebrew/dependabot/all-de17bcb037
...
Bump the "all" group with 2 updates across multiple ecosystems
2025-08-22 12:47:27 +00:00
Ruoyu Zhong
c1e02b6807
Merge pull request #20543 from Homebrew/bump_safe_system
...
dev-cmd/bump: fix `system` call.
2025-08-22 12:24:00 +00:00
Mike McQuaid
7bd0458c71
Merge pull request #20542 from Homebrew/upgrade_ofail_opoo
...
cmd/upgrade: fix ofail/opoo call.
2025-08-22 12:13:00 +00:00
Mike McQuaid
96230dc22b
dev-cmd/bump: fix system call.
...
This was using `system` instead of `safe_system` which ignores failures.
2025-08-22 13:06:31 +01:00
Mike McQuaid
5718e87e5e
cmd/upgrade: fix ofail/opoo call.
...
This method doesn't exist on `Kernel` any more. While we're here, let's
avoid `public_send` and use `if` instead for a bit more safety.
2025-08-22 12:54:26 +01:00
Carlo Cabrera
ed0011f40f
Merge pull request #20538 from Homebrew/unversioned-universal_binary_allowlist
...
formula_cellar_checks: check unversioned name in `universal_binary_allowlist`
2025-08-22 10:38:57 +00:00
Mike McQuaid
3998a4fe85
Merge pull request #20530 from Homebrew/typed-strict
...
bundle: some more `typed: strict`
2025-08-22 10:29:25 +00:00
Carlo Cabrera
4a681717ce
formula_cellar_checks: check unversioned name in universal_binary_allowlist
...
This will allow us to avoid having to list multiple formula versions in
the universal binary allowlist (e.g. for `llvm`).
2025-08-22 17:55:21 +08:00
Mike McQuaid
02c2a348c4
brew style --fix
2025-08-22 10:41:43 +01:00
BrewTestBot
a881e4365a
Update RBI files for all.
...
Autogenerated by the [vendor-gems](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/vendor-gems.yml ) workflow.
2025-08-22 09:12:31 +00:00
BrewTestBot
1d518b6cb8
brew vendor-gems: commit updates.
2025-08-22 09:11:39 +00:00
Mike McQuaid
3bbff84ff1
Merge pull request #20525 from Homebrew/utils_output
...
Move `o*` output methods to `Utils::Output`
2025-08-22 09:10:29 +00:00
dependabot[bot]
746be9bd73
build(deps): bump the all group with 3 updates
...
Bumps the all group with 3 updates: [github/codeql-action](https://github.com/github/codeql-action ), [ruby/setup-ruby](https://github.com/ruby/setup-ruby ) and [codecov/codecov-action](https://github.com/codecov/codecov-action ).
Updates `github/codeql-action` from 3.29.9 to 3.29.11
- [Release notes](https://github.com/github/codeql-action/releases )
- [Changelog](https://github.com/github/codeql-action/blob/main/CHANGELOG.md )
- [Commits](df559355d5...3c3833e0f8 )
Updates `ruby/setup-ruby` from 1.255.0 to 1.256.0
- [Release notes](https://github.com/ruby/setup-ruby/releases )
- [Changelog](https://github.com/ruby/setup-ruby/blob/master/release.rb )
- [Commits](829114fc20...efbf473cab )
Updates `codecov/codecov-action` from 5.4.3 to 5.5.0
- [Release notes](https://github.com/codecov/codecov-action/releases )
- [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md )
- [Commits](18283e04ce...fdcc847654 )
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](https://github.com/rubocop/rubocop ), [rubocop-md](https://github.com/rubocop/rubocop-md ), [sorbet-static-and-runtime](https://github.com/sorbet/sorbet ) and [rspec-support](https://github.com/rspec/rspec ).
Updates `rubocop` from 1.79.2 to 1.80.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.79.2...v1.80.0 )
Updates `rubocop-md` from 2.0.1 to 2.0.2
- [Release notes](https://github.com/rubocop/rubocop-md/releases )
- [Changelog](https://github.com/rubocop/rubocop-md/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rubocop/rubocop-md/compare/v2.0.1...v2.0.2 )
Updates `sorbet-static-and-runtime` from 0.5.12401 to 0.5.12434
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-runtime` from 0.5.12401 to 0.5.12434
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `rspec-support` from 3.13.4 to 3.13.5
- [Changelog](https://github.com/rspec/rspec/blob/rspec-support-v3.13.5/rspec-support/Changelog.md )
- [Commits](https://github.com/rspec/rspec/compare/rspec-support-v3.13.4...rspec-support-v3.13.5 )
Updates `sorbet` from 0.5.12401 to 0.5.12434
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `sorbet-static` from 0.5.12401 to 0.5.12434
- [Release notes](https://github.com/sorbet/sorbet/releases )
- [Commits](https://github.com/sorbet/sorbet/commits )
Updates `unicode-display_width` from 3.1.4 to 3.1.5
- [Changelog](https://github.com/janlelis/unicode-display_width/blob/main/CHANGELOG.md )
- [Commits](https://github.com/janlelis/unicode-display_width/compare/v3.1.4...v3.1.5 )
---
updated-dependencies:
- dependency-name: github/codeql-action
dependency-version: 3.29.11
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: ruby/setup-ruby
dependency-version: 1.256.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: codecov/codecov-action
dependency-version: 5.5.0
dependency-type: direct:production
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: rubocop
dependency-version: 1.80.0
dependency-type: direct:development
update-type: version-update:semver-minor
dependency-group: all
- dependency-name: rubocop-md
dependency-version: 2.0.2
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-static-and-runtime
dependency-version: 0.5.12434
dependency-type: direct:development
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-runtime
dependency-version: 0.5.12434
dependency-type: direct:production
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: rspec-support
dependency-version: 3.13.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet
dependency-version: 0.5.12434
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: sorbet-static
dependency-version: 0.5.12434
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
- dependency-name: unicode-display_width
dependency-version: 3.1.5
dependency-type: indirect
update-type: version-update:semver-patch
dependency-group: all
...
Signed-off-by: dependabot[bot] <support@github.com>
2025-08-22 08:56:07 +00:00
Ruoyu Zhong
625a6c08eb
test/cli/parser: add one more test
2025-08-22 02:04:55 +08:00
Ruoyu Zhong
33a2f410af
cli/parser: convert switch env values to boolean
...
Since switch values are boolean, we should be returning the environment
variable's presence instead of its string value.
Fixes #20531 .
2025-08-22 01:59:54 +08:00
Ruoyu Zhong
bcf3de5807
bundle/skipper: typed: strict
2025-08-21 22:41:17 +08:00
Ruoyu Zhong
13af517121
bundle/brewfile: typed: strict
2025-08-21 22:33:39 +08:00
Ruoyu Zhong
12366f9c5b
bundle/commands/install: typed: strict
2025-08-21 22:33:29 +08:00
Ruoyu Zhong
6c663837c7
manpages: typed: strict
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2025-08-21 17:27:42 +08:00
Ruoyu Zhong
a03aaef339
bundle/dumper: typed: strict
2025-08-21 17:27:36 +08:00
Ruoyu Zhong
579c31f001
bundle/mac_app_store_dumper: typed: strict
2025-08-21 17:27:36 +08:00
Ruoyu Zhong
1a45660194
bundle/vscode_extension_dumper: typed: strict
2025-08-21 17:27:36 +08:00
Ruoyu Zhong
19d160bfc2
bundle/tap_dumper: typed: strict
2025-08-21 17:27:36 +08:00
Ruoyu Zhong
16bc592e08
settings: typed: strict
2025-08-21 14:19:34 +08:00
Mike McQuaid
a1f112f3fe
Move o* output methods to Utils::Output
...
This reduces the surface area of our `Kernel` monkeypatch and removes
the need to `include Kernel` in a bunch of modules.
While we're here, also move `Kernel#require?` to `Homebrew` and fully
scope the calls to it.
2025-08-20 19:20:19 +01:00
Ruoyu Zhong
dde6703237
services/formulae: typed strict
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-08-21 01:52:56 +08:00
Ruoyu Zhong
214a88e434
os/mac: typed: strict
...
Co-authored-by: Bo Anderson <mail@boanderson.me>
2025-08-21 01:52:51 +08:00
Ruoyu Zhong
c98505baf7
os/linux/glibc: typed: strict
2025-08-21 01:28:16 +08:00
Mike McQuaid
e4e6185272
Merge pull request #20524 from Homebrew/fetch_api_files_refactoring
...
Refactor Homebrew::API.fetch_api_files! to not take arguments.
2025-08-20 15:26:44 +00:00
Mike McQuaid
d2de1d5b7d
Refactor Homebrew::API.fetch_api_files! to not take arguments.
...
Was thinking about this a bit and feels a bit nicer to DRY this up.
2025-08-20 08:51:11 +01:00
Justin Krehel
1f0ddcc791
formula-analytics: reduce noise from Linux builds
...
Frequent Linux builds add a number of low count unique OS variations to
analytics, so compress into a major version for displaying
2025-08-19 21:42:19 -04:00
Mike McQuaid
88d2b74ee5
dev-cmd/tests: fetch JSON API files if needed.
...
If HOMEBREW_NO_INSTALL_FROM_API was set, we hadn't fetched JSON API
files so will need to fetch them for a valid test environment.
2025-08-19 19:18:31 +01:00
Bo Anderson
5decda29b8
Merge pull request #20518 from Homebrew/doctor-verbose-fix
...
diagnostic: fix error on verbose
2025-08-19 16:45:42 +00:00
Bo Anderson
1ae7394b2c
diagnostic: fix error on verbose
2025-08-19 17:29:44 +01:00
copilot-swe-agent[bot]
8b10231085
Fix conflicts_with stanza odeprecated method call issue
...
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-19 17:07:37 +01:00
copilot-swe-agent[bot]
7f6b4bee93
Implement SHA256 architecture audit as RuboCop rule
...
Co-authored-by: p-linnane <105994585+p-linnane@users.noreply.github.com>
Co-authored-by: MikeMcQuaid <125011+MikeMcQuaid@users.noreply.github.com>
2025-08-19 14:45:01 +01:00
Eric Knibbe
b33443d655
Formula-Cookbook: document stable path variables
2025-08-19 09:04:12 -04:00
Mike McQuaid
a71d5e835f
More Sorbet typed: strict files
...
Add the necessary changes for Sorbet `typed: strict` in more files.
Co-authored-by: Ruoyu Zhong <zhongruoyu@outlook.com>
2025-08-19 13:03:08 +01:00
Ruoyu Zhong
1eb070e257
diagnostic: don't expand tildes in cask env vars
...
We double quote them so they don't get expanded. Also, use `sh_quote` to
quote the variable values properly.
2025-08-19 16:42:06 +08:00
Ruoyu Zhong
31598ca8ef
diagnostic: improve tilde expansion logic
...
This is a bit pedantic, but the tilde expansion only occurs if the tilde
is at the beginning of the string (if we only take the current user into
account) [1].
[1]: https://pubs.opengroup.org/onlinepubs/9799919799/utilities/V3_chap02.html#tag_19_06_01
2025-08-19 16:42:06 +08:00
Ruoyu Zhong
b749cbcffd
diagnostic: fix cask env var output
...
With `each`, we don't actually output the processed values. We should
therefore be using `filter_map` instead.
2025-08-19 16:42:06 +08:00
Mike McQuaid
6db1f6a052
**/diagnostic.rb: add Sorbet strict sigil.
...
Making more files `typed: strict` slowly but surely.
2025-08-19 09:10:24 +01:00
Mike McQuaid
df589f47cb
Merge pull request #20511 from Homebrew/check_for_symlinked_home_doctor_only
...
os/linux/diagnostic: make check_for_symlinked_home doctor-only.
2025-08-19 07:45:58 +00:00
Mike McQuaid
dc8d920d37
Merge pull request #20510 from Homebrew/cask-env-var-diagnostic-fix
...
diagnostic: fix `check_cask_environment_variables` check
2025-08-19 07:42:27 +00:00
Rylan Polster
f4445d2fba
Merge pull request #20509 from Homebrew/formula-analytics-os-names
...
Fix `formula-analytics` pretty OS name logic
2025-08-19 07:30:46 +00:00
Mike McQuaid
59f0197450
os/linux/diagnostic: make check_for_symlinked_home doctor-only.
...
This avoids printing it every time a `brew install` is run.
2025-08-19 08:30:06 +01:00
Mike McQuaid
e29749fcc2
Merge pull request #20496 from Homebrew/update-report-desc-non-api
...
cmd/update-report: show new formula/cask desc for non-API users too
2025-08-19 07:25:39 +00:00
Ruoyu Zhong
10ec91cdeb
diagnostic: fix check_cask_environment_variables check
...
Fixes #20505 .
2025-08-19 15:22:58 +08:00
Rylan Polster
4b4378943a
Fix formula-analytics pretty OS name logic
2025-08-19 03:12:32 -04:00
Ruoyu Zhong
b45f0ecd2e
test/cmd/update-report: fix test
2025-08-19 14:59:40 +08:00