1578 Commits

Author SHA1 Message Date
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
Harry Marr
aa9a07f49e
Only checksum file downloads, not VCS downloads 2022-06-12 11:24:50 -04:00
Mike McQuaid
845925bf56
Merge pull request #13311 from bevanjkay/fix-outdated-greedy
cask: fix greedy outdated command
2022-06-06 10:05:24 +01:00
apainintheneck
4dce389aa7 Remove download sha file from .metadata dir when uninstalling casks 2022-06-05 13:00:20 -07:00
Bo Anderson
9c3359afa1
cask/quarantine: fix quarantine not working under some setups 2022-06-02 18:53:46 +01:00
apainintheneck
6f06236bca Fix :svn download errors with :latest casks 2022-06-01 09:04:54 -07:00
Mike McQuaid
1bb44979ee
Disable and delete code for 3.5.0
The next planned release will be 3.5.0 so let's fix things up for there.
2022-05-30 14:59:14 +01:00
Bevan Kay
6b155d9328
Update Library/Homebrew/cask/cask.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
2022-05-28 10:14:51 +10:00
Bevan Kay
1f43bf32a4
cask: add statement when upgrade won't be installed 2022-05-26 10:06:58 +10:00
Bevan Kay
ac2f52cef3
cask: fix greedy outdated command 2022-05-24 22:38:30 +10:00