1350 Commits

Author SHA1 Message Date
Markus Reiter
9649ef975c Only install default cask tap automatically on macOS. 2020-12-05 03:39:01 +01:00
Markus Reiter
e0aa934219 Ensure default cask tap is installed on CaskUnavailableError. 2020-12-05 03:25:58 +01:00
Mike McQuaid
9216d8abe6
rubocop-rails: make fixes. 2020-12-02 10:43:04 +00:00
linzichao
058a1c3645 add verified parameter in url 2020-12-01 01:17:21 +01:00
Markus Reiter
6750448d95 Fix some auto-correctable type errors. 2020-11-29 21:23:54 +01:00
Markus Reiter
79d6c059fc
Merge pull request #9297 from reitermarkus/brew-typecheck
Refactor `brew typecheck` and upgrade `typed` sigils.
2020-11-27 00:01:47 +01:00
Mike McQuaid
6936f56b13
Merge pull request #9298 from MikeMcQuaid/deprecation-fixes
Deprecation fixes
2020-11-25 17:04:09 +00:00
Markus Reiter
e354a4f2d6
Merge pull request #9274 from carlossg/nil
fix: launchctl list can return empty id
2020-11-25 17:58:31 +01:00
Mike McQuaid
311c10636b
Deprecation fixes
- `brew uninstall --zap` replaces `brew cask zap`
- clarify how `--json` should behave

Fixes https://github.com/Homebrew/brew/issues/9296
2020-11-25 16:33:16 +00:00
Markus Reiter
5be4c9b5e0 Upgrade typed sigils. 2020-11-25 17:04:19 +01:00
Mike McQuaid
b484f70572
Remove cask from man brew. 2020-11-25 09:37:21 +00:00
Carlos Sanchez
278bc77f2d fix: launchctl list can return empty id
causing

Error: undefined method `match?' for nil:NilClass

Seen in macOS Big Sur
2020-11-24 18:12:10 +01:00
Markus Reiter
3c2ec1c60f Deprecate remaining cask commands. 2020-11-21 19:56:12 +01:00
Markus Reiter
b6492094d0 Allow creating casks with brew create --cask. 2020-11-21 18:52:26 +01:00
Markus Reiter
7dd7d69cd8
Merge pull request #9207 from reitermarkus/brew-zap
Add `--zap` flag for `brew uninstall`.
2020-11-20 09:42:13 +01:00
Markus Reiter
bf486c5397
Merge pull request #9212 from reitermarkus/brew-cask-fetch
Support casks in `brew fetch`.
2020-11-20 09:32:13 +01:00
Markus Reiter
6d850a97a1
Merge pull request #9182 from reitermarkus/formula-installer
Refactor `FormulaInstaller`.
2020-11-19 20:18:57 +01:00
Markus Reiter
c54a9937e7 Remove cask-specific checksum errors. 2020-11-19 19:46:59 +01:00
Markus Reiter
7a83f34dd1 Support casks in brew fetch. 2020-11-19 19:46:59 +01:00
Markus Reiter
a42cc9499e Add type signatures to Cask::Cache. 2020-11-19 16:07:50 +01:00
Markus Reiter
0b6c31fc70 Add type signatures to Cask::Pkg. 2020-11-19 16:07:50 +01:00
Markus Reiter
845887914e Mark TopologicalHash # typed: true. 2020-11-19 16:07:50 +01:00
Markus Reiter
66bf1314a1 Add type signatures for Cask::Staged. 2020-11-19 16:07:50 +01:00
Markus Reiter
64a0e9a721 Add type signatures for Caskroom. 2020-11-19 16:07:50 +01:00
Markus Reiter
f4b4fdac98 Add brew zap command. 2020-11-19 13:42:02 +01:00
Markus Reiter
24cef5c2ce Support casks in brew audit. 2020-11-18 13:21:49 +01:00
Markus Reiter
e54e719e38 Add Cask::Cmd::Audit.audit_casks method. 2020-11-18 10:25:32 +01:00
Markus Reiter
7c5d8a5288 Refactor FormulaInstaller. 2020-11-18 09:30:11 +01:00
Mike McQuaid
07b8304468
Merge pull request #8899 from hyuraku/hide_deprecated_cask_command
hide deprecated cask command
2020-11-17 13:35:05 +00:00
hyuraku
faf7aab6dd remove deprecated cask command from man page 2020-11-17 13:04:00 +01:00
Markus Reiter
0184e271d8 Fix RuboCop offenses. 2020-11-17 11:09:55 +01:00
Markus Reiter
9f458142b7
Merge pull request #9146 from reitermarkus/upgrade
Mention `--greedy` when no casks were upgraded.
2020-11-16 22:03:10 +01:00
Markus Reiter
3ee66d8c0d Add type annotations related to upgrade. 2020-11-16 19:45:15 +01:00
EricFromCanada
f784b7107f manpage: fixes for grammar 2020-11-16 07:56:50 -05:00
EricFromCanada
eb16624c5f manpage: reformat lists of subcommands & env vars
Modify parser.rb to add a colon between each term and the line break, which `ronn` converts into a definition list.
The <br> that follows ensures each term description is on a new line in the manpage output, and also replaces the
double trailing space for generating the hard return that follows each term in the HTML output.
Also modify man.rb to print environment variables with list markup matching the cask commands, and then drop
trailing colons from both lists of terms (cask commands, env vars) and non-list terms (analytics, bundle, services;
a <br> is added here because it would prevent the term description from being indented in the manpage output).
https://docs.brew.sh/Manpage#cask-command-options-cask
2020-11-16 07:56:50 -05:00
Markus Reiter
7893d316ab Mention --greedy when no casks were upgraded. 2020-11-16 04:35:55 +01:00
Markus Reiter
1b732ec7b2 Fix RuboCop offenses. 2020-11-16 02:05:29 +01:00
Rylan Polster
20ee7e8881 add Lint/DuplicateBranch cop exceptions 2020-11-16 02:02:52 +01:00
Rylan Polster
50890ebd51 fix Lint/DuplicateBranch style 2020-11-16 02:02:52 +01:00
Markus Reiter
da9289eff0 Add more type signatures. 2020-11-13 12:26:36 +01:00
Jonathan Chang
5ce561c4d1 rubocop: fix Naming/MemoizedInstanceVariableName 2020-11-10 23:28:31 +11:00
Markus Reiter
d66ca60cdb Only warn if repo of discontinued cask is archived. 2020-11-08 18:08:02 +01:00
FX Coudert
60afa5f584
Merge pull request #9068 from fxcoudert/bs2
Allow casks to depend on ARM
2020-11-06 15:59:03 +01:00
FX Coudert
28525c16d7
Style fix
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2020-11-06 15:29:15 +01:00
Francois-Xavier Coudert
50807c81b0 Allow casks to depend on ARM 2020-11-06 15:16:47 +01:00
EricFromCanada
3768b7a6e9 apidoc: update comment wording, punctuation, formatting 2020-11-06 00:21:02 -05:00
EricFromCanada
dddfbf80fc apidoc: add/update yard tags 2020-11-06 00:16:35 -05:00
Tie
aa979f0e31 add missing param header to url class 2020-10-27 16:47:07 -04:00
Markus Reiter
24ae318a3d Move type annotations into files. 2020-10-10 14:59:39 +02:00
Markus Reiter
d36df37099 Replace custom stubs with sorbet-runtime-stub. 2020-10-09 16:45:13 +02:00