239 Commits

Author SHA1 Message Date
Mike McQuaid
bf7b043392
Merge pull request #11977 from Moisan/bump_revision_write
bump-revision: add --write switch
2021-09-14 10:16:41 +01:00
hyuraku
2347bfdb92 use default_kegs 2021-09-09 22:16:45 +09:00
Thierry Moisan
58ddea028b
cli/args.rbi: add write_only? 2021-09-08 11:14:31 -04:00
Mike McQuaid
7c37a34cca
Merge pull request #11927 from FnControlOption/fetch
fetch: fix `--bottle-tag` when unbottled on host system
2021-09-01 16:08:05 +01:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API 2021-08-27 00:24:15 -04:00
Rylan Polster
8690d661fd
Merge pull request #11859 from Rylan12/cask-json
Allow casks to be installed using the `cask-source` API
2021-08-26 23:58:51 -04:00
FnControlOption
b9fc4e36f0 fetch: fix --bottle-tag when unbottled on host system 2021-08-26 14:44:53 -07:00
FnControlOption
326321c1fd cli/parser: allow commands that look like options 2021-08-25 14:34:57 -07:00
Rylan Polster
99635bf3ae
Remove need for homebrew/cask to be tapped 2021-08-14 16:17:26 -04:00
Bo Anderson
e8b82bbe1e
Fix brew style 2021-08-13 13:49:52 +01:00
Connor Mann
92717b6f6f
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-08-12 09:16:23 -04:00
Connor Mann
a566c53db8
Add resolve_latest_keg revision secondary sort 2021-08-11 20:07:28 -04:00
Mike McQuaid
3b13cf9797
Merge branch 'master' into dependabot/bundler/Library/Homebrew/sorbet-0.5.6519 2021-08-11 09:30:51 +01:00
Rylan Polster
90bbe8bb03
Merge pull request #11831 from Rylan12/api-cleanup
Refactor API methods
2021-08-09 12:32:55 -04:00
Connor Mann
363bcbd72a
Sort head kegs by tab modification time 2021-08-06 21:27:21 -04:00
Bo Anderson
cee86846ce
Fix Sorbet violations. 2021-08-06 14:03:00 +01:00
Rylan Polster
737dd1654b
Refactor API methods 2021-08-06 04:31:27 -04:00
Connor Mann
3dde12c634
Handle only HEAD kegs in to_latest_kegs 2021-08-04 18:51:39 -04:00
Rylan Polster
e344cb6aff
Merge pull request #11648 from Rylan12/homebrew-json
Install formulae from JSON files
2021-07-13 02:54:49 -04:00
Rylan Polster
1e34b69cd4
Prioritize installing from JSON if env var is set 2021-07-12 03:23:42 -04:00
Dawid Dziurla
c676aee842
dispatch-build-bottle: rename --wheezy to --linux-wheezy 2021-07-05 18:24:43 +02:00
Rylan Polster
e316c4f013
Rename Utils::BottleAPI to BottleAPI 2021-07-05 11:45:15 -04:00
Rylan Polster
36dd69dd60
Rename download_bottles to fetch_bottles 2021-07-05 10:55:34 -04:00
Rylan Polster
22f986b89a
Install formulae from JSON files 2021-07-04 12:38:59 -04:00
Dawid Dziurla
7971411372
dispatch-build-bottle: support self-hosted Linux and unified workflow 2021-06-25 21:34:32 +02:00
Mike McQuaid
30a65342e8
Deprecate, disable, delete code for Homebrew 3.2.0
Do the usual deprecation, disable, delete dance for Homebrew 3.2.0.
2021-06-17 11:34:32 +01:00
Bo Anderson
a06d136d2c
Move Sorbet gems into an optional group 2021-06-11 08:10:30 +01:00
Rylan Polster
08b44afcdf
cli/parser: allow options to be hidden 2021-06-08 22:02:32 -04:00
Connor Mann
0a1614286d Fix style 2021-05-24 08:44:36 -04:00
Connor Mann
73ef297dd5
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-21 11:55:30 -04:00
Connor Mann
3b0243900f
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2021-05-21 11:55:11 -04:00
Connor Mann
6f005caf07 Rename memoized variable 2021-05-20 15:10:20 -04:00
Connor Mann
fa9a525d32 Add to_latest_kegs 2021-05-20 12:58:23 -04:00
Connor Mann
b1ce7ef647
Update Library/Homebrew/cli/named_args.rb
Co-authored-by: Rylan Polster <rslpolster@gmail.com>
2021-05-20 11:30:22 -04:00
Connor Mann
26a3218fb0 Deprecate method: :keg 2021-05-20 09:53:31 -04:00
Connor Mann
49aa057188 Rename resolve_keg to resolve_default_keg 2021-05-19 10:29:40 -04:00
Connor Mann
137914d50c Rename method :keg to :default_kegs 2021-05-19 10:07:03 -04:00
Connor Mann
fe9a9bb24c Rename to_keg to to_default_kegs 2021-05-19 09:34:18 -04:00
Connor Mann
15dcc6f496 Add to_kegs 2021-05-18 10:07:35 -04:00
Connor Mann
d46881c5e2 Rename to_kegs to to_keg 2021-05-18 09:52:19 -04:00
Mike McQuaid
02a344d432
Merge pull request #11368 from cnnrmnn/add-leaves-flags
Add leaves --installed-on-request and --installed-as-dependency flags
2021-05-13 13:33:29 +01:00
Rylan Polster
04ac61924b
cli/args: add new brew leaves args to rbi file
Also update the manpages with the new `brew leaves` options.
2021-05-12 11:49:46 -04:00
Mike McQuaid
b914411ac8
Delete Bintray code
Remove all code related to Bintray. It no longer works so there's no
point keeping it around.

Some of this could arguably be deprecated/disabled first/instead but:
I'm not sure I see the sense in keeping stuff around that's known to be
broken.
2021-05-12 13:37:18 +01:00
Mike McQuaid
d73351251c
Deprecate, disable, delete code for next major/minor version.
Do the usual dance for bumping our major/minor version.
2021-04-09 09:30:36 +01:00
Bo Anderson
2f041abf2b
dev-cmd/bottle: don't take uniq of arguments 2021-04-08 22:07:47 +01:00
Markus Reiter
c5d4716e2e Ignore FormulaOrCaskUnavailableError. 2021-03-25 19:34:34 +01:00
Markus Reiter
507db5256f Revert "Merge pull request #10934 from dawidd6/revert-uninstall"
This reverts commit 5b1ad8418413f84a2cc11a33da39f467f3756a64, reversing
changes made to e1385b075408cca153a59a960b52c44508df1e1b.
2021-03-25 19:11:52 +01:00
Dawid Dziurla
8fa557ea02
Revert "Fix uninstall --force for casks."
This reverts commit 45066f91444730141c2262d761afee35af753a1b.
2021-03-25 18:46:50 +01:00
Markus Reiter
45066f9144 Fix uninstall --force for casks. 2021-03-24 13:32:58 +01:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args 2021-03-18 16:41:57 +00:00