100 Commits
Author SHA1 Message Date
Rylan Polster 9cc9c9165b Rescue MethodDeprecatedError when loading from installed caskfile in installer 2026-06-23 08:47:15 -04:00
Rylan Polster bb7afa3f15 Rescue MethodDeprecatedError when attempting to load installed caskfiles 2026-06-22 22:24:46 -04:00
Rylan PolsterandGitHub f1471df8fa Merge pull request #22855 from Homebrew/sorbet-files-update
sorbet files update
2026-06-23 01:28:23 +00:00
Rylan PolsterandGitHub 259096ec10 Merge pull request #22633 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2026-06-10 01:48:26 +00:00
Rylan PolsterandGitHub b5c24d72f0 Merge pull request #22463 from Homebrew/sorbet-files-update
sorbet files update
2026-05-30 01:18:24 +00:00
Rylan Polster 810430720b Remove internal API files from non-current OS versions 2026-04-26 23:01:02 -04:00
Rylan Polster d3724610d7 Fix brew update with HOMEBREW_USE_INTERNAL_API 2026-04-26 22:30:52 -04:00
Rylan Polster c1c8e33f0f Re-enable HOMEBREW_USE_INTERNAL_API 2026-04-22 01:06:03 -04:00
Rylan PolsterandGitHub 8a940b2b7f Merge pull request #22041 from Homebrew/dependabot/bundler/docs/yard-0.9.42
build(deps): bump yard from 0.9.39 to 0.9.42 in /docs
2026-04-18 01:38:20 +00:00
Rylan Polster 2373d23908 Use joint packages JSON file in Homebrew::API::Internal 2026-04-16 21:35:06 -04:00
Rylan Polster 52311c21e7 Don't compact service_args in FormulaStruct#serialize 2026-04-12 22:10:40 -04:00
Rylan PolsterandGitHub aad0a5c155 Merge pull request #22001 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2026-04-12 22:02:14 +00:00
Rylan PolsterandGitHub aa1e53caef Merge pull request #21973 from Homebrew/generate-internal-api
Add `brew generate-internal-api` command
2026-04-12 17:04:35 +00:00
Rylan Polster c7b7100466 Add brew generate-internal-api command 2026-04-09 21:54:10 -04:00
Rylan PolsterandGitHub 8e29740833 Merge pull request #21971 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2026-04-10 01:38:46 +00:00
Rylan PolsterandPatrick Linnane 2d05a6c343 Add tests 2026-03-26 18:32:53 -07:00
Rylan PolsterandPatrick Linnane 98359c051e Handle installed caskfiles with internal API contents 2026-03-26 18:32:53 -07:00
Rylan PolsterandPatrick Linnane 5cd590f828 Support loading casks from the internal API 2026-03-26 18:32:53 -07:00
Rylan PolsterandPatrick Linnane 0a8c251513 Add Formula#loaded_from_internal_api? 2026-03-26 18:32:53 -07:00
Rylan Polster 57b6cbf420 Don't attempt to use the internal API for Casks
Until the internal API is actually parseable, which will happen soon.
2026-03-05 09:16:56 -05:00
Rylan Polster c2ac70b253 Remove API placeholders in FormulaStruct and CaskStruct 2026-03-02 20:46:59 -05:00
Rylan PolsterandGitHub e7d847dfda Merge pull request #21655 from Homebrew/sorbet-files-update
sorbet: Update RBI files.
2026-03-03 00:45:19 +00:00
Rylan Polster fb68b76467 Fix issue with missing ruby_soruce_checksum in CaskStruct 2026-03-02 10:29:04 -05:00
Rylan Polster a68725a01d Serialize CaskStructs in the internal API 2026-03-01 23:19:20 -05:00
Rylan Polster d149bf633b Move cask struct generator to its own module 2026-03-01 22:56:24 -05:00
Rylan Polster 7e4342acc3 Extract shared formula/cask struct utilities 2026-03-01 22:56:23 -05:00
Rylan PolsterandGitHub 8146f092b2 Merge pull request #21643 from Homebrew/cleanup-test-prof
Cleanup some more residual `test-prof` workarounds
2026-03-01 13:07:48 +00:00
Rylan Polster 23c9fc3da8 Cleanup test-prof workarounds 2026-02-28 15:00:30 -05:00
Rylan PolsterandGitHub 3e682d3855 Merge pull request #21632 from mmatus3/nightshift/api-contract-verify
Add API contract verification tests for FormulaStruct and CaskStruct
2026-02-26 20:32:26 +00:00
Rylan PolsterandGitHub 3a9833ea70 Merge pull request #21631 from Homebrew/fix-services-internal-api
Fix internal API service handling
2026-02-26 19:28:55 +00:00
Rylan Polster 404e8e1fd0 Fix internal API service handling 2026-02-26 14:02:41 -05:00
Rylan Polster 0bd664f16c Respect SimulateSystem in FormulaStructGenerator 2026-02-09 23:28:50 -05:00
Rylan PolsterandGitHub 378df990e3 Merge pull request #21495 from Homebrew/load-from-internal-api
Optionally load formulae from the internal API
2026-02-02 14:15:30 +00:00
Rylan PolsterandGitHub f4748118cc Merge pull request #21492 from Homebrew/add-aliases-and-renames-to-internal-api
Add aliases and renames to internal API
2026-02-02 14:14:51 +00:00
Rylan Polster 67022bc84b Optionally load formulae from the internal API 2026-02-02 14:10:56 +01:00
Rylan PolsterandGitHub 90ed307770 Merge pull request #21493 from Homebrew/remove-formula-stub
Remove most formula stub references
2026-02-02 12:11:40 +00:00
Rylan Polster 308fb1db65 Remove most formula stub references 2026-02-02 00:51:14 +01:00
Rylan Polster f22e1455fe Add aliases and renames to internal API 2026-02-02 00:14:40 +01:00
Rylan PolsterandGitHub c8fbbb7d6a Merge pull request #21456 from Homebrew/serialize-formula-structs
Serialize `FormulaStruct`s in the internal API
2026-02-01 14:23:37 +00:00
Rylan Polster ad57998414 Serialize FormulaStructs in the internal API 2026-02-01 15:08:17 +01:00
Rylan PolsterandGitHub b172481227 Merge pull request #21489 from Homebrew/bump-test-prof
Bump test-prof to 1.5.1
2026-02-01 13:48:55 +00:00
Rylan Polster 8dd769dc18 Bump test-prof to 1.5.1 2026-02-01 14:35:14 +01:00
Rylan PolsterandGitHub 3c02613f7b Merge pull request #21455 from Homebrew/extract-formula-struct-generator
Extract `FormulaStruct` generator
2026-01-26 15:42:01 +00:00
Rylan Polster 7f0c605503 Extract FormulaStruct generator 2026-01-26 10:22:31 -05:00
Rylan Polster abd5e1d0b3 Remove computable elements from FormulaStruct 2026-01-25 21:21:29 -05:00
Rylan PolsterandGitHub dbb36f1e82 Merge pull request #21428 from Homebrew/symbolize-dependency-hash
Symbolize dependency hash in `FormulaStruct`
2026-01-24 17:35:21 +00:00
Rylan Polster c8f6e04a57 Symbolize dependency hash in FormulaStruct 2026-01-24 12:17:43 -05:00
Rylan PolsterandGitHub adc33c993a Merge pull request #21376 from Homebrew/fix-more-cask-struct-issues
Handle more nilable cask struct attributes
2026-01-09 05:04:19 +00:00
Rylan Polster 94c1347800 Ignore types when loading CaskStruct from installed caskfiles 2026-01-08 21:45:58 -05:00
Rylan Polster 64f62f694d Use new instead of from_hash for formula and cask structs 2026-01-08 21:27:41 -05:00
Rylan Polster 971d6576c5 Handle more nilable cask struct attributes 2026-01-08 20:49:26 -05:00
Rylan PolsterandGitHub 2076aa1369 Merge pull request #21364 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2026-01-06 01:51:46 +00:00
Rylan PolsterandGitHub b42f646d1b Merge pull request #21361 from Homebrew/add-generate-man-completions-no-exit-code
Add `--no-exit-code` to `generate-man-completions`
2026-01-06 00:57:42 +00:00
Rylan Polster 875eaa3a12 Add --no-exit-code to generate-man-completions 2026-01-05 13:19:16 -05:00
Rylan PolsterandGitHub 9163f845d3 Merge pull request #21349 from Homebrew/fix-cask-struct-again
Use `#present?` instead of `#empty?` to check presence in `CaskStruct`
2026-01-02 05:44:11 +00:00
Rylan Polster 993a32eda2 Use #present? instead of #empty? to check presence in CaskStruct 2026-01-01 13:47:08 -05:00
Rylan Polster 2a98739692 Ignore missing items when generating CaskStruct 2025-12-30 11:54:17 -05:00
Rylan Polster 965de14256 Use CaskStruct for loading casks from the API 2025-12-29 18:12:09 -05:00
Rylan Polster bb6951fddf Add Utils::convert_to_string_or_symbol 2025-12-29 10:44:34 -05:00
Rylan Polster 5da8d72e07 Add deprecate_args and disable_args to cask API 2025-12-28 22:49:38 -05:00
Rylan PolsterandGitHub b344d16251 Merge pull request #21277 from Homebrew/fix-deprecate-disable-args
Set `FormulaStruct#deprecate?` based on `deprecate_args` (and same for `disable`)
2025-12-19 01:42:10 +00:00
Rylan Polster 174cc9be12 Set FormulaStruct#deprecate? based on deprecate_args (and same for disable) 2025-12-18 20:26:46 -05:00
Rylan PolsterandGitHub 8b8a0b312f Merge pull request #21233 from Homebrew/fix-ruby-lsp-vscode
Add Homebrew's ruby to `PATH` for VSCode Ruby LSP setup
2025-12-13 20:53:21 +00:00
Rylan Polster 591a374dec Add Homebrew's ruby to PATH for VSCode Ruby LSP setup 2025-12-13 15:01:03 -05:00
Rylan PolsterandGitHub 710c27603d Merge pull request #21229 from Homebrew/sponsors-maintainers-man-completions
Update manpage and completions.
2025-12-13 16:23:53 +00:00
Rylan Polster bd3ae9314a Remove oxford comma 2025-12-13 11:02:01 -05:00
Rylan Polster 1aa4d189b0 Fix style issues 2025-12-12 22:46:19 -05:00
Rylan Polster 6650b97c10 Include TestProf plugin fixes in RuboCop tests 2025-12-12 22:40:09 -05:00
Rylan Polster 5b2133a4f5 Add stubs to TestProf's RuboCop plugin, and apply in tests 2025-12-12 22:07:18 -05:00
Rylan Polster 4f1551b145 Add --ruby option to brew sh 2025-12-12 21:23:56 -05:00
Rylan PolsterandGitHub 025ad1f66b Merge pull request #21226 from Homebrew/sponsors-maintainers-man-completions
Update sponsors.
2025-12-13 02:21:23 +00:00
Rylan Polster d3945de30a Fix test_prof RuboCop plugin 2025-12-12 12:29:16 -05:00
Rylan PolsterandGitHub 4f78576763 Merge pull request #21215 from Homebrew/create-formula-struct-from-deprecate-disable-args
Set `deprecate!`/`disable!` args correctly in `FormulaStruct`
2025-12-11 18:50:51 +00:00
Rylan Polster 42eb59901a Set deprecate!/disable! args correctly in FormulaStruct 2025-12-11 13:08:41 -05:00
Rylan Polster 75c9bf7c7a Add all deprecate! and disable! arguments to the formula API 2025-12-11 09:46:00 -05:00
Rylan PolsterandGitHub 9c04f34c93 Merge pull request #21176 from Homebrew/use-formula-struct
Use `FormulaStruct` when loading formulae from the API
2025-12-10 16:10:39 +00:00
Rylan Polster 472cb0ad01 Use FormulaStruct when loading formulae from the API 2025-12-10 10:53:20 -05:00
Rylan PolsterandMike McQuaid e58a6ec9b5 Fix test_prof/RuboCop integration 2025-11-17 09:00:10 +00:00
Rylan PolsterandGitHub 586a4ec09e Merge pull request #21083 from Homebrew/fix-vscode-rubocop
Fix `rubocop` in vscode and simplify `brew install-bundler-gems` calls
2025-11-16 11:21:13 +00:00
Rylan Polster fcf24295e6 Fix rubocop in vscode and simplify brew install-bundler-gems calls 2025-11-15 14:38:20 -05:00
Rylan Polster 808a1fd62d HOMEBREW_NO_INSTALL_FROM_API disables HOMEBREW_USE_INTERNAL_API 2025-11-13 22:32:15 -05:00
Rylan Polster 9a069998a9 Fix uses_from_macos` handling 2025-11-13 00:14:02 -05:00
Rylan PolsterandGitHub e8875f793f Merge pull request #20997 from Homebrew/fix-formula-reporter-duplications
Fix formula reporter inconsistencies
2025-11-08 03:03:00 +00:00
Rylan Polster ff719ba39a Fix formula reporter inconsistencies 2025-11-07 11:53:02 -05:00
Rylan Polster 8a91e4513c Mark HOMEBREW_DOWNLOAD_CONCURRENCY as having a custom implementation 2025-11-06 00:10:18 -05:00
Rylan Polster 906d9a04d7 Fix uses_from_macos checks with unsupported macOS versions and the internal API 2025-11-05 16:49:34 -05:00
Rylan Polster 58a8865358 Fix Formula#latest_formula to maintain active spec and optionally return a stub 2025-11-05 16:16:16 -05:00
Rylan Polster 3c8e3a8b5c Fix tests 2025-10-30 09:23:19 -04:00
Rylan Polster f3a83f7b1f Improvements to HOMEBREW_USE_INTERNAL_API 2025-10-29 13:12:31 -04:00
Rylan Polster a78ad99eee Use formula stubs for shellcheck, shfmt, and actionlint operations in brew style 2025-10-28 00:00:53 -04:00
Rylan Polster a69e5cd219 Don't fail if a formula stub doesn't exist when checking Formula#outdated? 2025-10-27 23:10:25 -04:00
Rylan Polster 6a4415e17b Remove Formula#tap_path 2025-10-24 22:01:51 -04:00
Rylan Polster 2f942deaed Display correct outdated head information 2025-10-24 21:00:42 -04:00
Rylan PolsterandGitHub b987b83d50 Merge pull request #20912 from Homebrew/detect-outdated-with-minimal-api
Detect outdated formulae using only the minimal API
2025-10-21 13:14:24 +00:00
Rylan Polster c9dd3b7d4c Detect outdated formulae using only the minimal API 2025-10-20 23:11:31 -04:00
Rylan Polster 9ec1c90ed6 Download the correct API files in brew update 2025-10-20 22:03:55 -04:00
Rylan PolsterandGitHub b98c58dccd Merge pull request #20897 from Homebrew/load-installed-formulae-from-kegs
Load installed formulae from kegs
2025-10-20 18:43:37 +00:00
Rylan PolsterandGitHub 4c34b6b4a2 Merge pull request #20909 from Homebrew/fix-dependency-expand-cache
Only clear timestamped `Dependency#expand` cache when requested
2025-10-20 18:43:30 +00:00
Rylan Polster 11ada8de3f Only clear timestamped Dependency#expand cache when requested 2025-10-20 12:26:25 -04:00
Rylan PolsterandGitHub 00001bedf8 Merge pull request #20908 from Homebrew/fix-doctor-missing-deps-warning
Fix `brew doctor` warning for missing dependencies
2025-10-20 05:17:32 +00:00