5321 Commits

Author SHA1 Message Date
Eric Knibbe
c5ec1fa61b
cask/installer: pass more options to cask dependencies 2025-03-06 14:10:37 -05:00
thibhero
f0f2e59fb7 Merge branch 'master' into ask-test
# Conflicts:
#	Library/Homebrew/vendor/bundle/bundler/setup.rb
2025-03-06 00:12:32 -05:00
thibhero
0b53e54bfa Moving ask input to Install.ask 2025-03-05 17:38:18 -05:00
Adrian Ho
7fe2f3b045 cmd/tap: don't stacktrace on user error
Resolves #19427.
2025-03-05 17:32:35 +08:00
thibhero
7b3e469650 wrong array of formulae in compute sized 2025-02-25 14:28:44 -05:00
Douglas Eichelberger
a81239ec2d
Enable strict typing in Formula 2025-02-24 10:23:42 -08:00
thibhero
1a43a9d258 extracting method to Homebrew/install.rb 2025-02-18 22:41:40 -05:00
Douglas Eichelberger
cf635bc28a
Merge pull request #19314 from Homebrew/typed-dep-helpers
Enable strict typing in DependenciesHelpers
2025-02-18 18:47:06 +00:00
Mike McQuaid
156ce5b9dc
Revert "cmd/info: only display keg info if tap matches" 2025-02-18 08:35:04 +00:00
Douglas Eichelberger
8763fb6d29 Resolve rubocop violations 2025-02-17 18:56:31 -08:00
Douglas Eichelberger
6b56c2ee5f Revert to_formulae_and_casks sig change 2025-02-16 15:41:57 -08:00
Douglas Eichelberger
ff7f70d8b6 Fix select_includes sig 2025-02-16 13:26:10 -08:00
Douglas Eichelberger
0037b1f626 Enable strict typing in DependenciesHelpers 2025-02-16 12:24:22 -08:00
thibhero
b457b764c9 Merge branch 'upgrade-reinstall-size' into install-size 2025-02-16 00:07:31 -05:00
thibhero
bb7dcc9384 updating comments 2025-02-16 00:06:57 -05:00
thibhero
8299c59801 pass brew typecheck, brew style and brew tests 2025-02-16 00:06:23 -05:00
thibhero
5c2bbe5911 pass brew typecheck, brew style and brew tests 2025-02-15 23:20:07 -05:00
thibhero
624e960cd5 refactoring lambda as upgrade.RB 2025-02-15 23:02:14 -05:00
thibhero
b821446b6f description of lambda 2025-02-15 23:01:53 -05:00
thibhero
5886b51df7 refactoring and updating functions to correctly print formula to upgrade 2025-02-15 23:00:35 -05:00
Ruoyu Zhong
59445c7961
cmd/info: handle when tab tap is nil 2025-02-13 15:33:45 +08:00
thibhero
97678708db removing useless statements 2025-02-12 16:05:11 -05:00
thibhero
f1906c1682 adding exit status if declined 2025-02-12 15:59:35 -05:00
thibhero
cb947b9cf4 erratum on variable 2025-02-12 15:57:12 -05:00
Ruoyu Zhong
7aa1725aff
cmd/info: only display keg info if tap matches
Fixes #19294.
2025-02-13 01:39:21 +08:00
thibhero
1ba3f32026 Adding upgrade arguments in lambda 2025-02-11 20:15:19 -05:00
thibhero
081db50196 Copying function from branch upgrade-reinstall-size into install.rb and adding parameter 2025-02-11 19:46:38 -05:00
thibhero
9891653aa8 corrected code with brew typecheck 2025-02-11 18:53:10 -05:00
thibhero
a111139682 moving to lambda expressions to respect brew style 2025-02-11 11:06:16 -05:00
thibhero
478035ed90 Copying function from upgrade.rb and implementing with check_dep: false 2025-02-10 23:18:47 -05:00
thibhero
4854113cf9 Add parameter to unify function arguments with reinstall.rb 2025-02-10 23:17:24 -05:00
thibhero
d9846ceda5 refactoring the code to make it clearer 2025-02-10 20:59:27 -05:00
thibhero
3ed1d6ccfb option --ask implementation for formulae dependency and dependant 2025-02-10 20:56:58 -05:00
thibhero
92470e0028 adding the --ask option for the upgrade command 2025-02-09 20:47:35 -05:00
Thibaut Hérault
fc91ddc518
Merge branch 'master' into install-size 2025-02-07 17:45:21 -05:00
thibhero
403887deb6 moving back to --ask option 2025-02-07 15:23:36 -05:00
thibhero
bebbd6274e corrected version for brew style 2025-02-07 15:10:27 -05:00
thibhero
354849895a changing ask_input function to lambda 2025-02-07 14:39:22 -05:00
thibhero
73758398e1 resolving typecheck error 2025-02-07 14:14:52 -05:00
thibhero
be1a4c03af optimising the code, removing begin block 2025-02-07 14:02:53 -05:00
thibhero
bbd8aeb80f Applying the changes discussed 2025-02-07 11:49:38 -05:00
Mike McQuaid
8adc188992
Import brew alias and brew unalias commands
Import these from the homebrew/aliases tap and deprecate that tap.

This required a little messing around with class/module/constant names
to get `brew tests` and `brew typecheck` to play nicely.

I added also added Sorbet type signatures and integration tests.
2025-02-07 14:31:50 +00:00
Thibaut Hérault
c575566928
Merge branch 'master' into install-size 2025-02-06 13:22:26 -05:00
thibhero
0cc688f843 resolving typecheck and final tests 2025-02-06 12:37:19 -05:00
thibhero
0d2afcffe6 Erratum on environment variable if condition 2025-02-06 09:53:57 -05:00
thibhero
c8a9cfa4d0 Add support for the HOMEBREW_ASK environment variable 2025-02-06 09:07:55 -05:00
thibhero
f989e9a674 rearranging code to work with many formula and not only with last one 2025-02-05 21:58:31 -05:00
thibhero
e47bdd9ad0 Getting input of user and proceeding the different output 2025-02-05 21:20:17 -05:00
thibhero
87492f8fbe fetching dependencies and calculating bottle and install size 2025-02-05 20:50:05 -05:00
Eric Knibbe
99de228fc2
docs: various manpage grammar fixes 2025-02-05 13:38:39 +01:00