1514 Commits

Author SHA1 Message Date
fn ⌃ ⌥
68160df041 cask: add #csv to version DSL 2021-11-16 16:34:12 -08:00
Nihaal Sangha
1984ca098d
Update cask cookbook header 2021-11-07 01:23:31 +00:00
Bo Anderson
4836ea0ba2
Remove XQuartz handling 2021-11-05 12:40:22 +00:00
Sam Ford
77273fe2b3
Cask::Audit: Handle referenced cask in livecheck
`Cask::Audit#check_livecheck_version` was never updated to handle
a referenced cask in a `livecheck` block (e.g., `cask "other-cask"`).
As a result, this audit will wrongly give an error like `Version
'1.2.3' differs from '' retrieved by livecheck.` in this scenario.

This commit ensures that a referenced cask is handled by the audit
and it won't error when the referenced check provides a good version.
2021-11-02 12:32:38 -04:00
Mike McQuaid
d43555dd75
brew style --fix 2021-11-02 11:16:10 +00:00
Rylan Polster
0b8032d421
Document HOMEBREW_INSTALL_FROM_API 2021-10-22 12:37:57 -04:00
Rylan Polster
e24703e58d
Rename :cert_error_allowlist to :secure_connection_audit_skiplist 2021-10-21 21:11:06 -04:00
Rylan Polster
fa4bb7d74a
Refactor audit exception handling 2021-10-21 21:11:05 -04:00
Rylan Polster
d124d8eae8
cask/audit: allow the homepage https audit to have exceptions 2021-10-21 21:01:52 -04:00
George Adams
8c22e009ac
update depends_on_java to suggest temurin
AdoptOpenJDK has been deprecated. Temurin is the new cask
2021-10-21 13:00:00 +01:00
fn ⌃ ⌥
04710be2a8
install: fix --skip-cask-deps message 2021-09-27 18:25:39 -07:00
fn ⌃ ⌥
8dc060c88b upgrade: use greedy_* method parameters 2021-09-21 11:45:49 -07:00
XuehaiPan
c2d5d84b21 Merge remote-tracking branch 'upstream/master' into fix-inconsistent-shell-style 2021-09-16 01:01:49 +08:00
XuehaiPan
3f96d963f7 style: fix inconsistent code style for shell scripts 2021-09-15 14:59:01 +08:00
Bo Anderson
bb69e1ee4d
Merge pull request #12037 from Bo98/type-bump
Bump various type strictnesses
2021-09-14 02:18:38 +01:00
Mike McQuaid
1a904af264
Merge pull request #12018 from FnControlOption/upgrade-tsort
upgrade: use topological sort to upgrade formulae
2021-09-12 19:26:22 +01:00
Bo Anderson
861dea9ada
Bump various type strictnesses 2021-09-11 01:00:23 +01:00
hyuraku
e44ac800c2 repair cask install quiet mode 2021-09-10 23:12:52 +09:00
fn ⌃ ⌥
0c3e49092c upgrade: use topological sort to upgrade formulae 2021-09-09 13:41:50 -07:00
FnControlOption
eb16e10902 messages: record cask installations.
This is used to record installation times and also to determine
whether to display caveats.
2021-09-02 08:44:00 -07:00
FnControlOption
278c06f31d upgrade: deduplicate cask caveats.
Cask::Installer.caveats invokes Homebrew.messages.record_caveats
so only invoke it once and store the return value.
2021-09-02 08:43:56 -07:00
EricFromCanada
c234d1ea03
upgrade: list upgradeable dependencies/migrations/cleanups on dry run 2021-08-31 12:27:14 -04:00
Rylan Polster
5d536d66fc
Rename HOMEBREW_JSON_CORE to HOMEBREW_INSTALL_FROM_API 2021-08-27 00:24:15 -04:00
Rylan Polster
8690d661fd
Merge pull request #11859 from Rylan12/cask-json
Allow casks to be installed using the `cask-source` API
2021-08-26 23:58:51 -04:00
Rylan Polster
c3a8b3841e
Only include differring versions
Move the resetting of `MacOS.version` to an `ensure` block.

Fix the tests by adding a test OS and new fixture that has a
different version for that test OS.
2021-08-25 10:30:38 -04:00
Rylan Polster
663cc40139
Add per-os versions to Cask::Cask#to_h 2021-08-24 11:35:19 -04:00
Rylan Polster
ea2e40c69a
Add Cask::Cask#source to return cask's source code 2021-08-14 16:18:13 -04:00
Rylan Polster
99635bf3ae
Remove need for homebrew/cask to be tapped 2021-08-14 16:17:26 -04:00
Mike McQuaid
b3dd9fb42f
Merge pull request #11629 from bevanjkay/upgrade_outdated_skipunversioned
adds an option to skip unversioned casks in outdated and upgrade command
2021-08-03 08:53:53 +01:00
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
Bevan Kay
322d5c67ec
Add parentheses to if statement 2021-07-06 10:11:40 +10:00
Bevan Kay
88edb1c64b
fix style 2021-07-04 17:25:03 +10:00
Bevan Kay
9cf0a7409b
fix style 2021-07-03 11:58:16 +10:00
Bevan Kay
507fba73c4
update command line outputs 2021-07-03 11:57:32 +10:00
Bevan Kay
85082066f2
fix style 2021-07-01 23:02:15 +10:00
Bevan Kay
b1c70160f3
Split into two flags --greedy-latest and --greedy-auto-updates 2021-07-01 23:01:22 +10:00
Bevan Kay
72e3704827
update style 2021-06-30 11:21:24 +10:00
Bevan Kay
057b3a3502
adds an option to skip unversioned casks in outdated and upgrade command 2021-06-30 11:13:21 +10:00
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