2100 Commits

Author SHA1 Message Date
Борис Верховский
96ba643f03
Print SHA checksum in double quotes
to match formatting used in formulas, for easier copy/pasting.
2020-08-10 22:10:49 -06:00
William Ma
7d8aad4656 list: Replace Cask::Cmd with class method 2020-08-10 20:35:31 -04:00
Markus Reiter
549cd5b471 Ensure new casks have a description. 2020-08-10 19:51:03 +02:00
Markus Reiter
8a32954940 Move cask/all to just cask. 2020-08-09 01:34:07 +02:00
Waldir Pimenta
ffed8fdbb3 Add a desc stanza to the cask DSL 2020-08-08 23:02:23 +01:00
Bo Anderson
70b5af4162 cask/dsl/base: fix undefined method `method_missing_message' 2020-08-07 12:43:17 +01:00
Markus Reiter
56ed27af15
Merge pull request #8187 from reitermarkus/args-verbose-debug
Remove usages of `Homebrew.args.verbose?` and `Homebrew.args.debug?`.
2020-08-06 20:55:24 +02:00
Seeker
3a2dc79153 cask/create: update template to match new style 2020-08-06 09:39:07 -07:00
Markus Reiter
490e503b1b Replace Homebrew.args with Context. 2020-08-06 16:13:14 +02:00
Markus Reiter
e9d8f09da1 Pass debug?, quiet? and verbose? to FormulaInstaller. 2020-08-06 16:12:52 +02:00
miccal
3b2a7a0340 cask/cmd/upgrade: output cask upgrades on new line 2020-08-06 17:25:46 +08:00
miccal
a4f676c556 cask/cmd/update: output message consistency 2020-08-06 16:16:44 +08:00
William Ma
72b0859b8c Remove invalid HOMEBREW_CASK_OPTS options 2020-08-05 12:22:12 -04:00
William Ma
907d4d7f74 Add shared methods for uninstalling, reinstalling casks 2020-08-05 11:04:40 -04:00
Markus Reiter
b1ca2f7e3c Add shared method for upgrading casks. 2020-08-05 13:55:04 +02:00
Kien Dang
69189721db Prepend cask name to cask upgrade error message 2020-07-31 21:51:47 +08:00
Markus Reiter
5cf7ffd93e Make Cask::Auditor return a Hash with warnings and errors. 2020-07-28 09:50:15 +02:00
Maxime Garcia
65bb03a7db Fix uninitialized constant Cask::Pkg 2020-07-27 18:04:29 +02:00
Mike McQuaid
25db60ebbb
Unify (mostly) Homebrew code style
Make the Homebrew/cask and Homebrew/homebrew-core style more closely
match the rest of Homebrew.

To accomplish this:
- Run `brew cask style` to ensure we don't break style there when
  making changes or upgrading RuboCop in Homebrew/brew.
- Fix the HomepageMatchesUrl cop to better handle weird input.
- Remove the now unneeded `.rubocop_shared.yml`
- Fix the cask fixtures with `brew cask style --fix`.
- Share more style between Homebrew/brew, casks and formulae.
2020-07-27 12:57:40 +01:00
Mike McQuaid
2100335441
Merge pull request #8049 from MLH-Fellowship/cask-commands
commands: Print cask commands
2020-07-27 12:44:21 +01:00
Markus Reiter
6c050492ee Pass args to Analytics instead of using global args. 2020-07-25 03:57:43 +02:00
Markus Reiter
fda2183d5e
Merge pull request #8056 from reitermarkus/audit
Refactor `brew cask audit`.
2020-07-23 00:39:25 +02:00
Mike McQuaid
e4eff8ebb6
Merge pull request #7974 from MLH-Fellowship/integrate-doctor
doctor: Run cask doctor checks in brew doctor
2020-07-22 13:27:53 +01:00
Markus Reiter
abaf9c40ae Fix code style. 2020-07-22 01:09:14 +02:00
Markus Reiter
75cfe41450 Fix infinite loop. 2020-07-22 01:09:14 +02:00
Markus Reiter
8d148b1fbc Remove special-casing of MacOS::languages. 2020-07-22 01:09:14 +02:00
Markus Reiter
ee09df8db3 Move Download from Auditor into Audit. 2020-07-22 01:09:14 +02:00
William Ma
3bbffdd1d7 commands: Print cask commands 2020-07-20 13:18:09 -04:00
Jonathan Chang
76709d82c5 Fix brew style. 2020-07-13 23:24:14 +10:00
Bo Anderson
f51e280729
Merge pull request #7988 from SeekingMeaning/cask-installed
cask/installer: don't call `installed?` if Formula
2020-07-13 12:42:09 +01:00
Seeker
b4f25b5911 cask/installer: don't call installed? if Formula 2020-07-12 17:14:10 -07:00
Sean Molenaar
832073a3c7
cask: add list --json 2020-07-10 21:05:12 +02:00
William Ma
447ea12d38 doctor: Move cask doctor checks to brew diagnostics 2020-07-10 10:36:59 -04:00
Mike McQuaid
f951ea83d4
Fix brew style. 2020-07-07 12:23:29 +01:00
Mike McQuaid
ac0665daff
Refer to default branch in links with HEAD
Anywhere we can use `blob/master` we can use `blob/HEAD` instead. This
will make life easier if we ever rename our default branch in future
(once/if Git and GitHub provides the necessary tooling to do so).
2020-06-25 11:38:40 +01:00
William Ma
36520b0a9d cache: fix bug when calling class method 2020-06-22 11:29:46 -04:00
William Ma
cf76f6e721 cache: integrate brew --cache and cask --cache 2020-06-19 10:37:31 -04:00
Sean Molenaar
523c24684d
cask: audit locales 2020-06-16 11:41:06 +02:00
Sean Molenaar
d64afece81
Merge pull request #7690 from SMillerDev/cask/audit/token
cask: codify the token rules
2020-06-16 11:40:25 +02:00
Mike McQuaid
ae7e58ef78
Merge pull request #7488 from danielbayley/master
cat: Allow 'bat' to find existing configuration
2020-06-12 10:45:11 +01:00
Sean Molenaar
4a24908fe4
cask: codify the token rules 2020-06-11 19:34:36 +02:00
Markus Reiter
a793bc500c Fix failing appcast check. 2020-06-10 16:39:03 +02:00
Issy Long
8eba9b86ab
Change occurrences of "blacklist" to "denylist" or "disallow"
- Depending on context, I've gone for either "denylist" or "disallow"
  here. "Disallow" for things in sentences, or actions, and "denylist"
  for list of things.
2020-06-06 22:38:33 +01:00
Vítor Galvão
446ef2c85f
Merge branch 'master' into appcast-configuration-match 2020-06-06 03:04:57 +01:00
Vítor Galvão
d485a185d0
Merge pull request #7674 from vitorgalvao/cask-appcast-config-adjusted
Cask: use regex in appcast adjusted_version_stanza
2020-06-06 02:55:15 +01:00
Vítor Galvão
8961ef40d5 Cask: rename appcast configuration to must_contain 2020-06-06 02:53:48 +01:00
Mike McQuaid
aa81982aba
brew style --fix 2020-06-02 09:49:23 +01:00
Vítor Galvão
a7b51ebecd Cask: use regex in appcast adjusted_version_stanza 2020-06-01 14:25:17 +01:00
Markus Reiter
b2ccf3ba78
Merge pull request #7587 from Rylan12/cask-zap-full-disk-access
brew cask zap prompt when Full Disk Access is needed
2020-05-31 23:41:25 +02:00
Gibson Fahnestock
3098c4735b
caveats: add an unsigned_accessibility caveat message
This is useful for applications that are not signed by the developer and
require Accessibility access.

Because the app is not signed, macOS only authorizes the current binary,
and so when it is updated (and the binary changes) the new version is
unsigned, despite the app still showing as ticked in System Preferences.
The user has to manually untick and retick the app each time.

The ideal fix is for the developer to sign their app, but not all
developers are willing to pay for this, so the best we can do is to
advise users of the workaround/solution.

Refs: https://github.com/Homebrew/homebrew-cask/pull/83157
2020-05-26 22:51:37 +01:00