ylht
75a38b7187
refactor the format
2021-07-19 10:02:19 +08:00
ylht
e5986dba6c
cmd/doctor: repair xattr
not find
2021-07-19 09:55:30 +08:00
Nanda H Krishna
2394a4c4fc
Rename metadata_master_container_path
to metadata_main_container_path
2021-07-08 12:36:40 +05:30
Michael Cho
b44ecaceb7
docs: fix cask doc urls to use docs.brew.sh
2021-06-25 13:20:40 -07:00
Sam Ford
e8f803bc75
Cask::Audit: Handle livecheck skip conditions
2021-06-14 14:28:27 -04:00
Issy Long
155feba8e0
cask/installer: Add Cask caveats to the end-of-operation summary
...
- Both formulae and casks can have caveats, but only formulae caveats
were shown at the end of a bulk install/upgrade/reinstall operation
via `Homebrew.messages.record_caveats`. This fixes that to show Cask
caveats too, for consistency (scrolling up all of the
multi-formulae-and-casks output to see caveats is time-consuming and
users might miss them).
- In doing this I had to change how `Messages#record_caveats` works
since the cask name is just a string, not an object.
2021-06-09 12:11:51 +01:00
Nanda H Krishna
47a549e944
Fix style using brew style --fix
2021-06-02 11:43:16 +05:30
Mike McQuaid
2ce6cd5e81
brew style --fix
2021-05-18 11:58:44 +01:00
hyuraku
45b7e438f1
repair manual_installer_casks block
2021-05-15 21:24:24 +09:00
hyuraku
5f62f417fd
add error message that cask was installed manually
2021-05-14 12:56:57 +09:00
hyuraku
bc476a31b4
remove manual installer casks from upgrage casks
2021-05-12 23:46:50 +09:00
Joe Wicentowski
658352ac1f
Remove hardcoded reference to Java 11
...
Java 11 is no longer the current stable build, so a dependency on “11” should not be treated as a dependency on the latest Java.
2021-04-29 19:00:40 -04:00
Kenneth Chew
af594739dc
audit: specify which URL has a content problem in problem message
2021-04-22 13:52:18 +01:00
EricFromCanada
bb26935344
create: improve cask token & version generation
2021-04-13 15:45:30 -04:00
Mike McQuaid
6f071a06f8
Use JSON.pretty_generate
...
It's dramatically more human readable for very little difference in
space.
2021-04-09 15:44:37 +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
Markus Reiter
c8997a0d8b
Don't forward options if none are given.
2021-04-08 00:12:49 +02:00
Markus Reiter
731e25e0cc
Merge pull request #11041 from xxyzz/man
...
Supports .gz man page
2021-04-07 21:48:28 +02:00
Markus Reiter
ba87bfc4e4
Only suggest adding livecheck
it auto-detection fails.
2021-04-07 19:19:20 +02:00
xxyzz
06d655bf50
match .gz man page files
...
Emacs cask has compressed man pages and they should be supported.
2021-04-06 11:19:05 +08:00
Markus Reiter
24c9b599a6
Revert "Revert "Merge pull request #10864 from reitermarkus/command-timeout""
...
This reverts commit 57b2660cae8cf43efd2b88d84a7174706328c001.
2021-04-03 20:10:32 +02:00
Markus Reiter
72a79d934e
Fix audit annotations for casks.
2021-04-03 04:27:32 +02:00
Markus Reiter
bcb3fc111f
Merge pull request #10954 from reitermarkus/rmdir-sh
...
Speed up `pkg` uninstallation and only call `find` on directories.
2021-04-02 22:49:49 +02:00
Thomas
69cf697e2e
Remove Audacity from denylist.rb
2021-04-02 15:25:34 +08:00
Markus Reiter
5aa0dbe1f9
Move RMDIR_SH
into separate file.
2021-04-02 03:01:08 +02:00
Max Mueggler
23376bad75
Speed up cask pkg uninstallation when there's many directories to delete.
...
Results in an order of magnitude speedup for uninstalling large packages such as mactex.
2021-04-02 03:01:07 +02:00
Markus Reiter
571208c8ee
Only call find
on directories.
2021-04-02 03:01:07 +02:00
Markus Reiter
d2a3944e70
Skip url do
URLs in offline audit.
2021-04-02 01:55:35 +02:00
Markus Reiter
0b6b05d1aa
Implement nested url do
API.
2021-04-02 01:41:44 +02:00
Markus Reiter
3f4706d9e6
Don't suggest adding unnecessary appcast
.
2021-03-31 08:13:48 +02:00
Mike McQuaid
a2099461dc
cask/dsl/version: remove another invalid character
2021-03-30 16:29:03 +01:00
Mike McQuaid
9b725a5851
cask/dsl/version: reject invalid characters.
...
There was a `invalid_characters` method already but it was not being
used.
2021-03-30 14:15:14 +01:00
Michael Cho
a0261c4b39
cask uninstall script: allow tilde expansion to '$HOME'
2021-03-28 09:52:49 -07:00
Nanda H Krishna
eecbd5887c
Apply suggestion from review
...
Co-authored-by: Markus Reiter <me@reitermark.us>
2021-03-26 02:28:51 +05:30
nandahkrishna
94737ef41d
cask: add password warning for pkg uninstall
2021-03-26 00:11:39 +05:30
Rylan Polster
57b2660cae
Revert "Merge pull request #10864 from reitermarkus/command-timeout"
...
This reverts commit d55bdd3ddbe7ff2b1f106a41bd994dc117ca5142, reversing
changes made to 3c3bf1c74d1d7ef1d2c792719574623b6c3c4d25.
2021-03-24 01:22:18 -04:00
Rylan Polster
b4a36bef64
audit: fix --display-failures-only failure messaging
2021-03-22 22:20:04 -04:00
Rylan Polster
2b8d19e0bd
audit: limit non-failure cask output
2021-03-22 22:16:54 -04:00
Markus Reiter
3c6a7b39e2
Merge pull request #10894 from reitermarkus/mandatory-livecheck
...
Make `livecheck` audit mandatory for versioned casks.
2021-03-23 01:34:00 +01:00
Markus Reiter
1e55837c53
Merge pull request #10893 from reitermarkus/new-casks-livecheck
...
New casks should use `livecheck`.
2021-03-23 01:16:37 +01:00
Markus Reiter
41fec99591
Make livecheck
audit mandatory for versioned casks.
2021-03-23 01:11:35 +01:00
Bo Anderson
32d532fb49
cmd/list: fix Cask listing
2021-03-22 16:21:02 +00:00
Bo Anderson
25373a18cc
Merge pull request #10880 from Bo98/cli-stronger-types
...
Stricter handling of CLI args
2021-03-22 14:13:01 +00:00
Markus Reiter
b0fd4831d5
New casks should use livecheck
.
2021-03-20 22:20:55 +01:00
Bo Anderson
8e98ce69f3
Stricter handling of CLI args
2021-03-18 16:41:57 +00:00
Mike McQuaid
d55bdd3ddb
Merge pull request #10864 from reitermarkus/command-timeout
...
Allow specifying timeouts for commands and downloads.
2021-03-18 13:15:42 +00:00
Lucendio
aceb021254
Move existence check into helper script
...
This way, it'll run as `root`, too.
2021-03-17 01:42:56 +01:00
Lucendio
7a22cda8dd
Fix broken rmdir script
...
Unfortunately, the removal shell script introduced in #10860 does not handle paths very well that dont exist, e.g.
* `find` runs before its `-exec` test, thus throws `find: "${path}": No such file or directory`
* it seem that `/bin/rmdir` is intended to break is certain cases, thus `-f` is not desired.
so, if `${path}` does not exist, it'll still break, which is most likely not one of those cases.
This change reintroduces a check for existence. This way, it is ensured that there is actually
a directory to be removed when invoking the script.
2021-03-17 00:35:08 +01:00
Markus Reiter
712a95fdd0
Allow specifying timeouts for commands and downloads.
2021-03-16 18:15:21 +01:00
Markus Reiter
1a4874dc62
Simplify package uninstallation.
2021-03-16 03:00:14 +01:00