Rylan Polster
84af07f152
Merge pull request #10288 from Rylan12/refactor-named-args
...
Add named_args DSL for commands
2021-01-14 21:43:54 -05:00
Mike McQuaid
2f018d1a98
cask/cmd/info_spec: remove skipped test.
...
Unfortunately skipping this test makes it show up in the PR diff every
time. Let's just delete it for now instead.
2021-01-14 16:10:07 +00:00
Rylan Polster
da811373d3
Add named_args DSL for commands
2021-01-13 17:09:42 -05:00
Misty De Meo
79aff82c39
Cask: skip test that is currently broken in master
2021-01-13 10:42:46 -08:00
Markus Reiter
92b58666ef
Improve audit for livecheck
in casks.
2021-01-13 08:12:11 +01:00
Mike McQuaid
50ffa38213
Merge pull request #10247 from iMichka/sha256
...
checksum: simplify, use only sha256
2021-01-08 09:43:23 +00:00
Michka Popoff
5e91802470
checksum: simplify, use only sha256
...
We use only one sha type right now.
Needed for https://github.com/Homebrew/brew/pull/10186
2021-01-07 20:46:13 +01:00
Mike McQuaid
d8a5e467e8
audit: quieten down and make casks audit consistent with formulae.
...
The current casks audit is very noisy in the no-op case (i.e. no errors)
https://github.com/Homebrew/brew/pull/10234/checks?check_run_id=1655630568#step:15:7
This means when there are errors and you're querying all casks it's
pretty hard to quickly identify the problems.
This commit silences the `passing`, `warning` and header/summary output
when you're querying all casks (rather than a specific cask or tap).
This is more consistent with `brew audit` for formulae which is silent
unless there are audit failures.
2021-01-07 13:31:14 +00:00
Mike McQuaid
74fb058c7e
More deprecations
...
More deprecations, disabling and removal for Homebrew 2.7.0.
2020-12-18 14:17:37 +00:00
Mike McQuaid
010ae37420
Merge pull request #9403 from MikeMcQuaid/deprecate-cask-requirements
...
Deprecate cask requirements.
2020-12-18 12:15:35 +00:00
Markus Reiter
0ae8f0edc8
Merge pull request #9493 from reitermarkus/url-unversioned
...
Add audit for unversioned URLs with checksum.
2020-12-16 10:19:48 +01:00
Markus Reiter
44cf1041ac
Fix tests.
2020-12-16 09:45:58 +01:00
Markus Reiter
e194c86a2b
Fix audit for verified
parameter.
2020-12-16 09:29:45 +01:00
Mike McQuaid
87dd13aea6
Deprecate cask requirements.
...
This probably has to wait until 2.7.0 now and will require a bunch of
formula changes/deprecations but we should probably start moving in this
direction given we're not installing any of these on our CI any more.
2020-12-15 14:19:45 +00:00
Markus Reiter
287dfee35f
Properly handle ~
artifact targets.
2020-12-13 03:31:34 +01:00
linzichao
058a1c3645
add verified parameter in url
2020-12-01 01:17:21 +01:00
Markus Reiter
2552ecb1e7
Add missing require
s for style
spec.
2020-11-30 17:01:10 +01:00
Mike McQuaid
f364f0c841
Merge remote-tracking branch 'origin/master' into deprecate-cask-commands
2020-11-25 09:39:00 +00:00
Markus Reiter
d5b184d17a
Add types for SystemCommand
.
2020-11-23 05:48:43 +01:00
Markus Reiter
3c2ec1c60f
Deprecate remaining cask commands.
2020-11-21 19:56:12 +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
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
f4b4fdac98
Add brew zap
command.
2020-11-19 13:42:02 +01:00
Markus Reiter
24ae318a3d
Move type annotations into files.
2020-10-10 14:59:39 +02:00
Markus Reiter
5f005f67cf
Refactor global Cask::Config
.
2020-10-01 00:57:10 +02:00
Andrew Zhou
1c1ffc1f19
cask/exceptions: Actually print actual hash
2020-09-16 18:12:51 -05:00
Mike McQuaid
3923d331de
Fix brew style
2020-09-15 13:39:06 +01:00
Markus Reiter
c098ce5d16
Fix tests for cask audit
.
2020-09-14 13:12:38 +02:00
Markus Reiter
f1bf6c03c3
Add tests for implications.
2020-09-04 05:29:56 +02:00
Markus Reiter
e5b56e485f
Move cask audit implications into Audit
.
2020-09-04 04:47:31 +02:00
Markus Reiter
b9f3589ab7
Test casks are already tested covered brew style
.
2020-09-01 19:26:46 +02:00
Markus Reiter
b4d14c193f
Use Homebrew::Style
for brew cask style
.
2020-09-01 18:34:26 +02:00
Mike McQuaid
667c2b8804
Merge pull request #8382 from Bo98/startup-speedup
...
Lazily require some heavy files
2020-08-21 17:11:39 +01:00
Markus Reiter
15279d78b7
Merge pull request #8370 from miccal/cask_symlinked
...
cask/artifact/symlinked: do not overwrite files or symbolic links
2020-08-20 21:03:19 +02:00
Bo Anderson
e3372e2a14
Lazily require some heavy files
2020-08-20 02:05:17 +01:00
Mike McQuaid
3a91c37e66
Fix RuboCop checks.
2020-08-19 17:12:32 +01:00
William Ma
3918e13070
cask --cache: Deprecate command
2020-08-18 10:37:29 -04:00
miccal
5a74f1d971
binary_spec: fix test
2020-08-18 04:19:48 +08:00
Sean Molenaar
5d38cd7296
cask/list: fix artifact list
2020-08-14 23:12:17 +02:00
William Ma
2f68aad417
home: Deprecate brew cask home
2020-08-14 11:02:30 -04:00
Markus Reiter
3b2a9c3b55
Merge pull request #8335 from waldyrious/show-cask-descs-in-info-command
...
Show cask description in `brew cask info` command
2020-08-14 00:52:27 +02:00
Waldir Pimenta
53932185e6
Show cask description as None if not present
2020-08-13 22:21:10 +01:00
Waldir Pimenta
619af6a723
Show cask description in brew cask info
command
2020-08-13 22:21:10 +01:00
Waldir Pimenta
efbfb90c42
Use cask with name for basic info command test
...
Also add non-dummy URL in the test fixture, to match the name, version, etc.
2020-08-13 22:21:10 +01:00
Markus Reiter
b48bc316e0
Use CLI::Parser
for cask
commands.
2020-08-13 05:15:15 +02:00
Markus Reiter
9ea1dcf4ca
Fix auditing of cask languages.
2020-08-12 00:45:01 +02:00
Markus Reiter
0d9e28d305
Don't warn about version designation in cask-versions
tap.
2020-08-11 21:42:21 +02:00
Markus Reiter
549cd5b471
Ensure new casks have a description.
2020-08-10 19:51:03 +02:00
Markus Reiter
8a32954940
Move cask/all
to just cask
.
2020-08-09 01:34:07 +02:00