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
Seeker
f476bcafcb
upgrade: show formula caveats after casks have been updated
2021-01-11 11:43:11 -08:00
Zaid Kokaja
9cf3d5a32d
Add installed and outdated to cask json output
2021-01-09 22:46:27 -05:00
Seeker
b9854bd4cf
rubocops: add unless_multiple_conditions
2021-01-08 10:33:54 -08: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
Seeker
924d42e4cb
cask: add DSL methods to RBI file
2021-01-05 09:11:31 -08:00
Markus Reiter
a01deaaf52
Handle running apps in application.<bundle_id>.<number>.<number>
format.
2020-12-26 14:02:49 +01:00
Mike McQuaid
4135c0abca
Merge pull request #10083 from xu-cheng/cask-conflict-check-tap
...
cask/installer: do not install tap during conflict checking
2020-12-24 12:44:23 +00:00
Rylan Polster
cb8e9a695f
Merge pull request #10087 from Rylan12/migrate-shared-audit-exceptions
...
audit: migrate shared audits to taps
2020-12-23 16:36:42 -05:00
Cheng XU
72a346e6c8
cask/installer: do not install tap during conflict checking
...
If the tap of the conflicted cask is not installed, we should just skip it.
This matches the behavior of formula installation.
Without this, running `brew install dropbox` would result to install
the `homebrew/cask-versions` tap.
Fixes #9125 .
2020-12-22 15:32:11 -08:00
Rylan Polster
ec4fe89a94
audit: migrate shared audits to taps
2020-12-21 14:45:02 -05:00
Markus Reiter
8b17017108
Improve error message for missing PKG source.
2020-12-21 15:54:32 +01:00
Markus Reiter
82c1e6fb0e
Fix basename for extracting cask downloads.
2020-12-21 15:43:25 +01:00
Markus Reiter
8fa5a8e832
Don't suggest adding appcast if livecheck exists.
2020-12-19 19:34:24 -05: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
1064678d3d
Add audit for unversioned URLs with checksum.
2020-12-16 09:36:21 +01:00
Markus Reiter
e194c86a2b
Fix audit for verified
parameter.
2020-12-16 09:29:45 +01:00
Markus Reiter
d81e9009e1
Merge pull request #9541 from reitermarkus/audit-livecheck
...
Add audit for `livecheck` in casks.
2020-12-15 16:19:06 +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
f711352cfd
Add audit for livecheck
in casks.
2020-12-14 15:44:35 +01:00
Markus Reiter
287dfee35f
Properly handle ~
artifact targets.
2020-12-13 03:31:34 +01:00
Markus Reiter
3b366d05b9
Fix code style.
2020-12-12 17:43:23 -05:00
Seeker
6794a78087
livecheck: add support for casks
2020-12-12 17:43:21 -05:00
Markus Reiter
6e5cf565e3
Ignore verified
for url do
blocks.
2020-12-12 06:01:26 +01:00
Markus Reiter
9e0a54fd37
Reuse curl_http_content_headers_and_checksum
for appcast audit.
2020-12-08 23:29:01 +01:00
Markus Reiter
fa52eab58e
Merge pull request #9450 from reitermarkus/url-unversioned
...
Add `unversioned?` method to `Cask::URL`.
2020-12-08 19:48:37 +01:00
Markus Reiter
c6876ba65c
Add UnversionedCaskChecker
helper class.
2020-12-07 23:03:47 +01:00
Markus Reiter
ef1ea75c08
Add support for single-package casks.
2020-12-07 23:03:47 +01:00
Markus Reiter
b57a448f2a
Add bump-unversioned-casks
command.
2020-12-07 23:03:47 +01:00
Markus Reiter
76a3c0338b
Add unversioned?
method to Cask::URL
.
2020-12-07 21:40:47 +01:00