3989 Commits

Author SHA1 Message Date
Mike McQuaid
dbe427073d
Merge pull request #8399 from MLH-Fellowship/migrate-to-args-named
args: Migrate usage of args loading methods to args.named
2020-08-25 10:07:27 +01:00
Markus Reiter
4937e4bbc3 Refactor and document Upgrade. 2020-08-24 19:42:24 +02:00
William Ma
fa7bd3bff6 args: Migrate usage of args loading methods to args.named 2020-08-23 09:02:20 -04:00
miccal
2ed4196d73 cmd/update-report: fix output of new casks 2020-08-20 20:39:52 +08:00
Mike McQuaid
8041649cac
Merge pull request #8395 from miccal/cask_new
cmd/update-report: consistency across formulae and casks
2020-08-20 08:28:48 +01:00
Markus Reiter
338fe0b6e0
Merge pull request #8397 from reitermarkus/document-options
Refactor and document `Options`.
2020-08-20 05:00:12 +02:00
Dawid Dziurla
dd8e6f42a2
Merge pull request #8401 from cstyles/fix-outdated-command
Switch `greedy` argument to a keyword
2020-08-19 19:41:30 +02:00
Collin Styles
d45701cf9b Switch greedy argument to a keyword
The `greedy` parameter was switched to a keyword parameter in
3a91c37e66661781a236422c4ab8fc597e09a7a1 but this call wasn't updated
accordingly.
2020-08-19 10:05:56 -07:00
Rylan Polster
60ec30d41e formula: update license specification 2020-08-19 12:48:50 -04:00
Mike McQuaid
f6e035ec98
Merge pull request #8297 from Homebrew/dependabot/bundler/Library/Homebrew/rubocop-0.89.1
build(deps): bump rubocop from 0.88.0 to 0.89.1 in /Library/Homebrew
2020-08-19 17:40:32 +01:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks. 2020-08-19 17:12:32 +01:00
Bo Anderson
fc7c3c923a cmd/update-reset: fix handling of multiple relative directories 2020-08-19 12:32:46 +01:00
Markus Reiter
5540eac625 Refactor and document Options. 2020-08-19 10:40:33 +02:00
miccal
73b4ad3647 cmd/update-report: consistency for formulae and casks 2020-08-19 14:31:54 +08:00
Mike McQuaid
b932299222
Merge pull request #8376 from MLH-Fellowship/warn-conflicting-cask
named args: Warn when user references a formula with the same name as a cask
2020-08-18 09:20:00 +01:00
William Ma
b63b56f4c2 home: Remove warning for cask with same name 2020-08-17 13:08:31 -04:00
Markus Reiter
b5363025a6 Refactor and document BuildEnvironment. 2020-08-14 18:41:44 +02:00
William Ma
39c2f8582d home: Add disclaimer for opening formula that shadows cask 2020-08-14 11:02:30 -04:00
Markus Reiter
b48bc316e0 Use CLI::Parser for cask commands. 2020-08-13 05:15:15 +02:00
Maxim Belkin
ac6295491c
cmd/cleanup.rb: fix input handling 2020-08-12 08:22:45 -05:00
Mike McQuaid
3eba477b7c
Merge pull request #8286 from MLH-Fellowship/use-cask-args-cache-home
--cache, home: Use convenience methods to load formulae and casks
2020-08-11 14:04:28 +01:00
William Ma
b05acaaece home: Use convenience methods for loading formulae and casks 2020-08-11 08:40:55 -04:00
William Ma
7d8aad4656 list: Replace Cask::Cmd with class method 2020-08-10 20:35:31 -04:00
William Ma
91a2eb8aad --cache: Use convenience methods for loading formulae and casks 2020-08-10 14:03:37 -04:00
Markus Reiter
8a32954940 Move cask/all to just cask. 2020-08-09 01:34:07 +02:00
Mike McQuaid
863a0964e2
cmd/upgrade: fix cask/formula args (again).
Fixes https://github.com/Homebrew/brew/issues/8228#issuecomment-670161766
2020-08-07 10:25:29 +01:00
Mike McQuaid
3875f16782
Fix --formula and --cask flags.
These were all made `--formulae` and `--casks` for consistency but that
doesn't behave as expected because they have special behaviours in
`args`. Instead, use the singular form everywhere.
2020-08-07 09:53:30 +01:00
Markus Reiter
6524802079 Pass remaining args to Help. 2020-08-06 16:13:14 +02:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter
bace9ecc34 Pass verbose? to Formula#verify_download_integrity. 2020-08-06 16:13:14 +02:00
Markus Reiter
6c964d4a78 Pass verbose? to Keg#link, Keg#unlink and Keg#optlink. 2020-08-06 16:12:52 +02:00
Markus Reiter
e9d8f09da1 Pass debug?, quiet? and verbose? to FormulaInstaller. 2020-08-06 16:12:52 +02:00
Mike McQuaid
99bff13cbb
cmd/tap-info: improve comma usage.
Broken in https://github.com/Homebrew/brew/pull/8230.
2020-08-06 14:00:56 +01:00
Mike McQuaid
fb0a6338b1
Remove more tap pinning code.
This was deprecated and removed a while ago.
2020-08-06 12:24:10 +01:00
Mike McQuaid
ced084bd49
Handle casks in commands more consistently.
- Ensure the usage documentation always mentions casks when appropriate
- Use --formulae or --casks consistently
- Provide --formulae and --casks switches to upgrade
- Mark more switches as conflicting
2020-08-06 09:25:45 +01:00
William Ma
907d4d7f74 Add shared methods for uninstalling, reinstalling casks 2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c Add shared method for upgrading casks. 2020-08-05 13:55:04 +02:00
Mike McQuaid
fb0268da7e
license: handle "Public Domain".
Allow `:public_domain` to be used as a `license` value and ensure that
it's handled correctly by `brew info`, `brew audit` and `brew install`.
2020-08-04 10:47:41 +01:00
Mike McQuaid
9f80629f64
Merge pull request #8203 from MLH-Fellowship/add-caskroom
caskroom: Add --caskroom to match --cellar
2020-08-04 09:05:08 +01:00
Bo Anderson
41ada12b48
Merge pull request #8200 from Rylan12/deps-fix-args
deps: fix args for --installed with no formula
2020-08-03 19:50:36 +01:00
Bo Anderson
0dab255ba3
Merge pull request #8202 from Bo98/log-args
cmd/log: fix args error
2020-08-03 19:49:43 +01:00
Seeker
281a598685 cmd/uses: extract function intersection_of_dependents 2020-08-03 10:19:50 -07:00
William Ma
cf961caa27 caskroom: Add --caskroom command 2020-08-03 12:35:03 -04:00
Bo Anderson
7e47d1be94 cmd/log: fix args error 2020-08-03 17:30:46 +01:00
Rylan Polster
4cfd80451a deps: fix args for --installed with no formula 2020-08-03 10:42:46 -04:00
Bo Anderson
15fba12254
Merge pull request #8197 from Bo98/list-argv
cmd/list: remove ARGV usage
2020-08-03 13:31:54 +01:00
Bo Anderson
25009f94e7 cmd/list: remove ARGV usage 2020-08-03 12:45:16 +01:00
Mike McQuaid
a3efb35b0e
Merge pull request #8145 from MLH-Fellowship/integrate-uses
uses: Print cask uses
2020-08-03 09:07:22 +01:00
Bo Anderson
a38d034c1b
Merge pull request #8184 from Bo98/outdated-sort
cmd/outdated: restore sorting of formulae
2020-08-02 12:34:23 +01:00
Bo Anderson
97e05ae410 cmd/outdated: restore sorting of formulae 2020-08-02 00:51:42 +01:00