46299 Commits

Author SHA1 Message Date
Michael Cho
5adc8f75a8
formula_cellar_checks: avoid changing name 2025-08-25 12:00:33 -04:00
Rylan Polster
dd7e3e0142
Merge pull request #20566 from Homebrew/extract-pathname-refinement
Extract `Pathname` refinement from `Formulary`
2025-08-25 10:02:06 +00:00
Rylan Polster
763531e821
Extract Pathname refinement from Formulary 2025-08-25 04:08:42 -04:00
Mike McQuaid
82fabab8aa
Merge pull request #20560 from Homebrew/dug/typed-kernel
Enable strict typing in Kernel extensions + utils.rb
2025-08-25 07:31:58 +00:00
Mike McQuaid
0eb0c11dc3
Merge pull request #20563 from Homebrew/dug/formula-support-rename
Rename formula_support to keg_only reason, refactor slightly
2025-08-25 07:31:51 +00:00
Mike McQuaid
a0b6d12d30
Merge pull request #20490 from Homebrew/parser-formula-stubs
Load formulae from stubs in argument parser
2025-08-25 07:28:29 +00:00
Rylan Polster
9153a22fc9
Fix utils/autoremove tests 2025-08-25 01:07:53 -04:00
Rylan Polster
f724e00830
Extract map_to_fully_loaded 2025-08-25 01:07:40 -04:00
Rylan Polster
a6031cb323
Set warn to false by default in named arg parsing 2025-08-25 00:34:09 -04:00
Rylan Polster
9ea567f561
Use formula stubs for some dependency checking 2025-08-25 00:34:09 -04:00
Rylan Polster
c0df920660
Parse named args from formula stubs 2025-08-25 00:34:09 -04:00
Douglas Eichelberger
6a25de5daf
Rename formula_support to keg_only reason, refactor slightly 2025-08-24 14:57:19 -07:00
Douglas Eichelberger
2dc4c7a4d2
Rename Volumes.which to avoid incompatible override 2025-08-24 14:34:31 -07:00
Rylan Polster
02947ea4ed
Merge pull request #20553 from Homebrew/formulary-types
Enable strict typing in `Formulary`
4.6.7
2025-08-24 18:23:35 +00:00
Rylan Polster
879b7a5dd8
Work around PathnameWriteMkpath refinement recursion error 2025-08-24 14:08:01 -04:00
Rylan Polster
9a7fdd988c
Handle false case for @factory_cache_enabled in Formulary 2025-08-24 14:07:17 -04:00
Rylan Polster
4410388043
Enable strict typing in Formulary 2025-08-24 12:58:48 -04:00
Douglas Eichelberger
566290dcbc
Merge pull request #20561 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2025-08-24 01:46:12 +00:00
Douglas Eichelberger
ceb2291be1
Enable strict typing in Kernel extensions + utils.rb 2025-08-23 18:44:36 -07:00
BrewTestBot
dc687d7160
sorbet: Update RBI files.
Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/HEAD/.github/workflows/sorbet.yml) workflow.
2025-08-24 00:32:31 +00:00
Rylan Polster
7434f3512b
Merge pull request #20559 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-08-23 20:18:23 +00:00
BrewTestBot
74249658b5
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-08-23 20:03:03 +00:00
Mike McQuaid
74ec33d3d2
Merge pull request #20547 from Homebrew/mcp_dev_cmds
Improve MCP server with development commands.
2025-08-23 19:57:46 +00:00
Mike McQuaid
a7b852014a
Merge pull request #20554 from branchvincent/setup_install_args
Deprecate `Language::Python.setup_install_args`
2025-08-23 19:48:50 +00:00
Mike McQuaid
a042699d33
Merge pull request #20551 from Homebrew/unsigned-to-fails-gatekeeper-rubocop
rubocop: replace `:unsigned` automatically
2025-08-23 19:47:23 +00:00
Mike McQuaid
bc3c3606a3
Merge pull request #20558 from Homebrew/remove-cask-url-block
Remove unused cask `url do` code
2025-08-23 19:46:27 +00:00
Mike McQuaid
22d67da642
Merge pull request #20552 from branchvincent/alpine
cmd/search: add `--alpine`
2025-08-23 19:44:30 +00:00
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