Mike McQuaid
faafc6636d
mcp_server: add missing style changed argument.
...
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2025-08-23 20:40:20 +01:00
Mike McQuaid
5e3a8d96c6
Merge pull request #20557 from Homebrew/dug/typed-yard
...
Enable strict typing in yard extensions
2025-08-23 19:39:23 +00:00
Branch Vincent
859dbb074c
Deprecate Language::Python.setup_install_args
...
This method predates Python's standardized `pyproject.toml` build system,
introduced in PEP 517 to allow for more build backends than just
`setuptools`: https://peps.python.org/pep-0517/ . Directly executing
`setup.py` has since been deprecated in favor of using PEP 517 compliant
installers, such as `pip`: https://packaging.python.org/en/latest/discussions/setup-py-deprecated/
In homebrew/core, our last remaining use is a single disabled formula.
For third party taps, simply migrate to `std_pip_args`:
```ruby
# Old
system python3, *Language::Python.setup_install_args(libexec, python3)
# New
system python3, "-m", "pip", "install", *std_pip_args, "."
```
2025-08-23 12:33:53 -07:00
Rylan Polster
5d13ce9280
Remove unused cask url do
code
2025-08-23 15:02:23 -04:00
Douglas Eichelberger
73bb781d1d
Enable strict typing in yard extensions
2025-08-23 09:23:30 -07:00
Rylan Polster
78beba5440
Merge pull request #20556 from Homebrew/diagnostic-ohai
...
diagnostic: fix undefined `ohai` method
2025-08-23 16:08:06 +00:00
Ruoyu Zhong
454fc6e745
diagnostic: fix undefined ohai
method
...
Fixes #20555 .
2025-08-23 20:52:31 +08:00
Branch Vincent
176720f75e
Merge pull request #20550 from branchvincent/doctor
...
diagnostic: fix missing string interpolation
2025-08-23 03:44:15 +00:00
Bevan Kay
2b151d30e7
rubocop: replace :unsigned
automatically
2025-08-23 13:13:48 +10:00
Branch Vincent
680596b71a
cmd/search: add --alpine
2025-08-22 20:06:23 -07:00
Branch Vincent
c142a75eea
diagnostic: fix missing string interpolation
2025-08-22 19:39:31 -07:00
Mike McQuaid
b6976f3515
Merge pull request #20548 from Homebrew/bump_exit_code
...
dev-cmd/bump: adjust `system` call.
2025-08-22 15:33:43 +00:00
Mike McQuaid
c760afc66e
dev-cmd/bump: adjust system
call.
...
Instead of immediately failing let's set `Homebrew.failed` to `true` to
set a non-zero exit code but continue with the rest of formulae/casks.
2025-08-22 15:54:51 +01:00
Mike McQuaid
addff82ff4
Improve MCP server with development commands.
...
Add these extra commands, better argument handling, progress reporting
(for long-running commands), some basic refactoring and mention these
commands and flags in the Copilot instructions.
2025-08-22 15:51:14 +01:00
Mike McQuaid
53494592e3
Merge pull request #20545 from Homebrew/brew_style_changed
...
Add `brew style --changed`
2025-08-22 13:51:56 +00:00
Mike McQuaid
7f57984eec
Merge pull request #20544 from Homebrew/fix_manpages
...
manpages: fix type.
2025-08-22 13:47:17 +00:00
Mike McQuaid
621114488e
Add brew style --changed
...
This emulates `brew tests --changed` but for style checks. Should make
things a bit quicker for the case of wanting to quickly fix up
local files.
2025-08-22 14:33:20 +01:00
Mike McQuaid
d7a5f061ab
manpages: fix type.
...
Otherwise `brew generate-man-completions` fails.
2025-08-22 14:31:59 +01:00
Mike McQuaid
7878c73b85
Merge pull request #20537 from Homebrew/dependabot/all-de17bcb037
...
Bump the "all" group with 2 updates across multiple ecosystems
4.6.6
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
Mike McQuaid
eacbff25f3
Merge pull request #20539 from Homebrew/style_all_taps
...
workflows/tests: run `brew style` on all taps at once.
2025-08-22 10:58:35 +00:00
Carlo Cabrera
ed0011f40f
Merge pull request #20538 from Homebrew/unversioned-universal_binary_allowlist
...
formula_cellar_checks: check unversioned name in `universal_binary_allowlist`
4.6.5
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
Mike McQuaid
3a3572449a
workflows/tests: run brew style
on all taps at once.
...
It's nicer and faster to not split these up and avoids needing to
repeatedly rerun this workflow in order to get all the results.
2025-08-22 10:55:50 +01: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
Mike McQuaid
4774f08862
Merge pull request #20535 from Homebrew/use-rubocop-internal-formatter
...
Use `rubocop_internal` formatter for Ruby LSP
2025-08-22 09:02:02 +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
Rylan Polster
604698c501
Use rubocop_internal
formatter for Ruby LSP
2025-08-21 21:11:18 -04:00
Ruoyu Zhong
aeb42b2614
Merge pull request #20532 from Homebrew/cli-parser-switch-env
...
cli/parser: convert switch env values to boolean
2025-08-21 18:22:20 +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
e910f91124
Merge pull request #20528 from Homebrew/more-typed-strict
...
More `typed: strict`
2025-08-21 12:45:01 +00: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
Mike McQuaid
ae76de7859
Merge pull request #20526 from Homebrew/typed-strict
...
Miscellaneous `typed: strict`
2025-08-21 06:34:47 +00: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