Mike McQuaid
e2759fbdff
Deprecate reading all formulae through commands
...
We added the `--all` flag (now renamed to `--eval-all`) for various
commands for this behaviour so let's start deprecating this.
Also, introduce a `HOMEBREW_EVAL_ALL` environment variable to use the
existing, less secure, behaviour by default and avoid passing
`--eval-all` everywhere.
2022-09-05 13:57:22 +01:00
Sean Molenaar
13b060ab86
Merge pull request #13746 from SMillerDev/chore/cask/cleanup_audit
...
Cask: automatically add cask audits
2022-08-30 09:23:23 +02:00
Markus Reiter
ac94ca628d
Merge pull request #13769 from reitermarkus/audit-codesign
...
Improve error message for failed signature check.
2022-08-30 02:07:37 +02:00
Sean Molenaar
86f011cefb
Cask: automatically add cask audits
2022-08-29 11:28:20 +02:00
Markus Reiter
999468e41d
Change codesign
error message.
2022-08-28 19:24:32 +02:00
Markus Reiter
5c2dd57794
Fix unreachable code.
2022-08-27 04:00:38 +02:00
Markus Reiter
08642f137f
Ignore failed signature check if no signature is present.
2022-08-27 03:51:44 +02:00
Rylan Polster
5c7e7eebe4
Condense artifact entries
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-25 10:24:30 -04:00
Rylan Polster
90d22bc7b1
Include dsl key in cask artifact hash
2022-08-25 03:04:48 -04:00
Mike McQuaid
e7aa71de26
Remove odisabled for 3.6.0
...
The next release will be 3.6.0.
2022-08-23 11:25:02 +01:00
Rylan Polster
fcb30c1ead
Merge pull request #13702 from Rylan12/sha256-arch
...
Add `arm:` and `intel:` arguments to cask `sha256` stanza
2022-08-17 10:34:04 -04:00
Sean Molenaar
b13f6c7c40
Cask: fix signing audit using unexpected pkg method
2022-08-17 15:49:04 +02:00
Sean Molenaar
f7b32abfa3
Cask: fix signing audit checking all artifacts
2022-08-17 09:56:45 +02:00
Rylan Polster
27e31c7f18
Check for nil?
instead of blank?
in cask DSLs
2022-08-16 11:04:59 -04:00
Sean Molenaar
cc61a759ed
Merge pull request #13627 from SMillerDev/feature/cask/signing_check
...
cask: add audit for incorrect signing
2022-08-16 10:51:59 +02:00
Sean Molenaar
ca65777e70
cask/audit: improve wording
...
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-08-16 10:01:35 +02:00
Rylan Polster
686e02b7ce
Add arm:
and intel:
arguments to cask sha256
stanza
2022-08-16 00:48:24 -04:00
fn ⌃ ⌥
a208ea9c92
info: highlight package name
2022-08-15 07:47:52 -07:00
Sean Molenaar
e90371f8ab
cask: add audit for incorrect signing
2022-08-11 09:11:29 +02:00
Rylan Polster
044fefdce9
Merge pull request #13657 from Rylan12/add-arch-and-variable-cask-dsl
...
Add `arch` cask DSL
2022-08-09 15:49:46 -04:00
Rylan Polster
76ae20a12f
Re-add on_arch_conditional
DSL
2022-08-09 11:34:52 -04:00
Mike McQuaid
aee92fb143
Merge pull request #13647 from hyuraku/cmd/info--cask--json=v2-handle-multiple-taps
...
check whether token is multiple tap's name
2022-08-08 13:52:01 +01:00
hyuraku
acf39f8777
add TODO comment
2022-08-08 19:58:50 +09:00
hyuraku
0acadc857c
repair CaskLoader.load args
2022-08-07 15:43:51 +09:00
Rylan Polster
dd72f1ac95
Add arch
cask DSL
2022-08-05 17:12:55 -04:00
hyuraku
a43633e094
add uniq to check multiple tap
2022-08-05 20:59:19 +09:00
hyuraku
84ec42f31b
check whether token is multiple tap's name
2022-08-04 22:34:16 +09:00
Kevin
ba7e146eef
Merge pull request #13546 from apainintheneck/remove-staged-from-cask
...
cask/installer.rb: stop including Staged module
2022-08-02 18:29:20 -07:00
Rylan Polster
f3e34230ad
Add --variations
option to brew info
2022-07-21 16:41:15 +02:00
Rylan Polster
eab3d077bc
Improvements
2022-07-21 15:32:51 +02:00
apainintheneck
c322f4fb90
cask/installer.rb: Stopped including Staged
2022-07-11 17:13:16 -07:00
Mike McQuaid
b4619fe2db
Merge pull request #13317 from bevanjkay/upgrade-sha-readout
...
cask: add statements when direct cask upgrades won't be installed
2022-07-07 08:57:34 +01:00
Rylan Polster
99447bb1c0
OnSystem
: provide ::MacOSAndLinux
and ::MacOSOnly
2022-06-30 12:57:35 -04:00
Rylan Polster
74e933caa3
Merge pull request #13451 from Rylan12/cask-on-condition
...
Add `on_{system}` blocks to formula and cask DSL
2022-06-29 12:35:50 -04:00
Rylan Polster
a9e62b9e38
include OnSystem
to define DSL methods
2022-06-29 11:38:55 -04:00
Rylan Polster
ac067eedb2
Create MacOSVersions
module
2022-06-29 11:34:49 -04:00
Rylan Polster
5ec19adf58
Rename Override
module to SimulateSystem
2022-06-28 15:35:20 -04:00
Rylan Polster
55da9f293d
Cleanup Cask::Caskroom::casks
2022-06-26 14:24:05 -04:00
Rylan Polster
d3c3f7be9e
Add variations
to Cask#to_h
2022-06-24 14:39:17 -04:00
Rylan Polster
b538ce7361
Add OnSystem
module to generate on_*
methods for formulae and casks
2022-06-24 14:37:50 -04:00
Sam Ford
d7a26cd6d3
ExtractPlist: Modify #find_versions url usage
2022-06-24 00:08:53 -04:00
Sam Ford
04203953de
Cask: Ensure #discontinued? returns a boolean
...
The `Cask::DSL#discontinued?` method is expected to return a boolean
value (`true`/`false`) but it will return `nil` for any casks without
a `caveats` block. `nil` is still falsy but this commit ensures that
the method will properly return a boolean value in this scenario.
2022-06-23 14:03:15 -04:00
Rylan Polster
b941470216
Merge pull request #13440 from Rylan12/prefer-api-to-taps
...
Always prefer loading from API when `HOMEBREW_INSTALL_FROM_API` is set
2022-06-21 10:18:02 -04:00
Sam Ford
8bce1e8e37
cask/audit: Skip livecheck audit for :latest casks
2022-06-18 16:44:29 -04:00
Bevan Kay
fa2e4d4401
cask/audit: skip additional livecheck audit when cask is discontinued
2022-06-18 13:16:34 +10:00
Bo Anderson
02164a35db
Use ORIGINAL_PATHS over envs; reject nil PATH
2022-06-17 19:47:57 +01:00
Bo Anderson
e78665f4f7
Replace ENV["HOME"] with Dir.home
2022-06-17 19:47:57 +01:00
Bo Anderson
f5dc7a571f
Fix Style/ObjectThen offences
2022-06-17 19:47:55 +01:00
Rylan Polster
b63474398e
Always prefer loading from API when HOMEBREW_INSTALL_FROM_API
is set
2022-06-17 13:54:05 -04:00
Rylan Polster
1e536217b2
Streamline loading casks from API
2022-06-15 16:35:49 -04:00