36296 Commits

Author SHA1 Message Date
Rylan Polster
9c68b548e9
Include aliases and renames in FormulaStub 2025-08-26 17:02:57 -04:00
Patrick Linnane
81b79b93f3
Merge pull request #20584 from Homebrew/livecheck-rename
unversioned_cask_checker: process rename operations
2025-08-26 15:07:02 +00:00
Bevan Kay
9416ca1551
unversioned_cask_checker: process rename operations 2025-08-26 21:23:07 +08:00
Issy Long
fee0e1543f
Merge pull request #20583 from Homebrew/encourage-adding-to-head-branch-allowlist
Encourage using a default branch for HEAD core formulae
2025-08-26 13:02:02 +00:00
Issy Long
577aec3f60
Encourage using a default branch for HEAD core formulae
- We don't mind if third-party taps have non-default HEAD branches - they have their reasons.
- But we want -core to be consistent, hence why there's the allowlist file.
- https://github.com/Homebrew/brew/pull/20402#discussion_r2292366323
2025-08-26 14:26:11 +02:00
Mike McQuaid
12a31a1f6a
Merge pull request #20578 from Homebrew/dug/t-must-cleanup
Remove unnecessary use of `T.must`
2025-08-26 07:33:04 +00:00
Rylan Polster
1ebeb64196
Merge pull request #20580 from Homebrew/fix-write-mkpath-extension-tests
Fix `WriteMkpathExtension` tests
2025-08-26 07:32:53 +00:00
Mike McQuaid
29518275d1
Merge pull request #20569 from Homebrew/bump-handle-skipped
bump: respect livecheck skipped status
2025-08-26 07:32:12 +00:00
Rylan Polster
9a93b15a7a
Fix WriteMkpathExtension tests 2025-08-26 03:12:40 -04:00
Carlo Cabrera
97650da7ec
Merge pull request #20579 from Homebrew/test-WriteMkpathExtension
test, postinstall: use `WriteMkpathExtension`
2025-08-26 06:16:24 +00:00
Carlo Cabrera
515c4bd287
test, postinstall: use WriteMkpathExtension
See https://github.com/Homebrew/brew/pull/20566/files#r2299770459.
2025-08-26 13:10:04 +08:00
Douglas Eichelberger
4d11307d41
Refactor T.must called on .last 2025-08-25 20:30:31 -07:00
Douglas Eichelberger
d97933b38c
Refactor T.must called on .first 2025-08-25 20:27:47 -07:00
Ruoyu Zhong
1f55f0c01a
Merge pull request #20574 from Homebrew/pr-publish-main
dev-cmd/pr-publish: default to `main` branch
2025-08-26 02:55:16 +00:00
Douglas Eichelberger
af6f648f00
Merge pull request #20570 from Homebrew/dug/enable-refinement-cop
Enable Sorbet/Refinement
2025-08-25 18:48:53 +00:00
Rylan Polster
0e49c24705
Merge pull request #20573 from Homebrew/add-download-queue-helper
Create `DownloadQueue` helper to check concurrency and initialize
2025-08-25 18:10:49 +00:00
Michael Cho
8b3b832e03
dev-cmd/pr-publish: default to main branch 2025-08-25 14:01:58 -04:00
Rylan Polster
3dff8dfb62
Create DownloadQueue helper to check concurrency and initialize 2025-08-25 13:39:35 -04:00
Rylan Polster
7802a80613
Remove redundant T.bind(self, Pathname) 2025-08-25 12:57:48 -04:00
Michael Cho
5adc8f75a8
formula_cellar_checks: avoid changing name 2025-08-25 12:00:33 -04:00
Douglas Eichelberger
5ed25c4329
Enable Sorbet/Refinement 2025-08-25 07:40:22 -07:00
Sam Ford
1d47038b12
bump: respect livecheck skipped status
`brew bump` understands that some formulae/casks are skipped by
livecheck but it doesn't use this information to avoid doing
unnecessary or inappropriate work. This modifies related logic to not
fetch PR information or try to open a version bump PR if livecheck is
skipped. livecheck is our only source of version information these
days, so we can't try to version bump a package if we don't have
upstream version information.

This has been leading to an "Invalid usage: `--version` must not be
empty" error and this _should_ fix the issue under these particular
circumstances. There's still plenty of room for improvement in how
all of this is handled in bump but this is just a quick bug fix.
2025-08-25 10:07:17 -04: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
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
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
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
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
Ruoyu Zhong
454fc6e745
diagnostic: fix undefined ohai method
Fixes #20555.
2025-08-23 20:52:31 +08: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