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
Cassidy Marble
267040e5df
bugfix: Add args and options to lazy url block
2021-03-12 10:26:59 -07:00
Nanda H Krishna
1e3dab1401
Merge pull request #10831 from nandahkrishna/cask-autotap
...
cask_loader: do not auto-tap in FromTapLoader
2021-03-12 20:10:38 +05:30
nandahkrishna
585ec90878
cask_loader: do not auto-tap in FromTapLoader
2021-03-11 21:09:42 +05:30
Markus Reiter
65d1747b29
Check homepage with both browser and default user agent.
2021-03-11 16:19:21 +01:00
Mike McQuaid
9663567501
Fix brew style.
2021-03-01 13:43:47 +00:00
Seeker
880a82d21a
uninstall: delete references to unused --binaries
flag
2021-02-22 19:48:43 -08:00
nandahkrishna
a0b7580dc4
Fix eql? in Cask::Cask
2021-02-17 01:18:25 +05:30
Nanda H Krishna
b9cbeb3019
Merge pull request #10608 from nandahkrishna/assignment-condition-parentheses
...
style: use parentheses for assignment in conditions
2021-02-15 18:43:54 +05:30
nandahkrishna
8e5451df2f
style: use parentheses for assignment in conditions
2021-02-12 18:33:37 +05:30
Bo Anderson
323ff660fa
rubocop: use consistent array/hash indentation
2021-02-11 13:27:42 +00:00
Carlos Álvaro
aebf4c9100
Safe access to tap attributes
...
Prevent calling name tap attribute when the tap is nil
Co-Authored-By: Rylan Polster <rslpolster@gmail.com>
2021-02-08 13:20:41 +01:00
Carlos Álvaro
84d80cf0bf
Add tap to cask json output
2021-02-08 13:20:40 +01:00
Carlos Álvaro
4f5f3824c6
Add full_token to cask json output
2021-02-08 13:20:40 +01:00
nandahkrishna
d0200e8737
cask/config: fix explicit_s
2021-02-03 13:37:53 +05:30
Mike McQuaid
851bf9aab9
Merge pull request #10465 from vitorgalvao/no-desc-fonts
...
cask audit: do not require description for fonts
2021-02-02 16:35:26 +00:00
Vítor Galvão
e3d515105b
cask audit: do not require description for fonts
2021-02-02 14:06:11 +00:00
EricFromCanada
f39fb5d6b2
cask/config: new method for cask.config.explicit as string
2021-02-01 10:44:19 -05:00
Mike McQuaid
861da37f55
Merge pull request #10456 from SeekingMeaning/cask-audit-format-url
...
cask/audit: underline URLs in audit errors
2021-02-01 09:05:53 +00:00
Mike McQuaid
b8d55e5a77
Merge pull request #10397 from MikeMcQuaid/deprecations-disables
...
Homebrew 3.0.0 deprecations/disables
2021-02-01 08:37:22 +00:00
Mike McQuaid
d6957a3acb
Homebrew 3.0.0 deprecations/disables
2021-01-29 19:50:24 +00:00
Seeker
571a13b99e
cask/audit: underline URLs in audit errors
2021-01-28 16:17:40 -08:00
Seeker
00e5e1f9fc
cask/audit: error if verified
does not match, regardless of url
2021-01-28 15:27:00 -08:00
Mike McQuaid
03c861b7d7
Merge pull request #10428 from SeekingMeaning/cask-reverse-migration
...
cask/audit: disallow new cask to have token in tap_migrations.json
2021-01-27 15:07:13 +00:00
EricFromCanada
6fc116318e
fixes for grammar and wording
2021-01-26 16:19:47 -05:00
EricFromCanada
99ad3350ee
use single quotes around stanza and parameter names
2021-01-26 16:19:47 -05:00
EricFromCanada
2ed324ebc0
use backticks around suggested input, flags, and binaries
2021-01-26 16:19:47 -05:00
EricFromCanada
cd3cb6928b
indent suggested commands on subsequent line
...
and combine sequential puts calls
2021-01-26 15:36:44 -05:00
EricFromCanada
a427de5bee
capitalization fixes
...
"curl" is the binary, while "cURL" is the umbrella project.
2021-01-26 15:36:44 -05:00
EricFromCanada
c0a753edd3
pluralize "artifacts"
2021-01-26 15:36:43 -05:00
EricFromCanada
d0ad829e43
use arrow character for UI prompts
2021-01-26 15:36:43 -05:00
EricFromCanada
571179ff0e
pass second argument to ohai when applicable
2021-01-26 15:36:43 -05:00
EricFromCanada
a6643b4adf
fix odebug calls
2021-01-26 12:02:30 -05:00
Seeker
c1d2aaf13a
cask/audit: disallow new cask to have token in tap_migrations.json
2021-01-26 08:33:14 -08:00
Seeker
acdb05dbcf
Merge pull request #10407 from SeekingMeaning/version-public-api
...
version: mark methods as public
2021-01-25 18:50:08 -08:00
Mike McQuaid
95c6e92d9b
Merge pull request #10278 from zkokaja/add-cask-json-values
...
Add installed and outdated to cask json output
2021-01-25 10:04:25 +00:00
Seeker
8d24fb1367
Output string instead of array for installed cask version
2021-01-24 18:27:23 -08:00
Seeker
7171b3a41d
version: mark methods as public
2021-01-24 11:58:22 -08:00
Seeker
50cd836427
Merge pull request #10351 from SeekingMeaning/sig-braces
...
rubocop: require braces for Sorbet `sig`
2021-01-19 03:50:20 -08:00
Seeker
fbafaff4fe
rubocop: require braces for Sorbet sig
2021-01-18 16:52:45 -08:00
Vítor Galvão
1ca68556e7
Cask: audit: Do not require appcast on GitHub releases
2021-01-17 00:48:33 +00:00
Markus Reiter
759fc12089
Merge pull request #10304 from reitermarkus/cask-config-keys
...
Ignore invalid keys when reading existing `Cask::Config`.
2021-01-13 11:31:57 +01:00
Markus Reiter
9922ad382f
Ignore invalid keys when reading existing Cask::Config
.
2021-01-13 08:30:50 +01:00
Markus Reiter
92b58666ef
Improve audit for livecheck
in casks.
2021-01-13 08:12:11 +01:00