Markus Reiter
5cff91ac75
Don’t add error when changing checksum to :no_check
.
2018-09-11 14:02:53 +02:00
Eric Mark Martin
c62d2e6918
Cask: rename block argument f -> cask
2018-09-09 13:37:42 -04:00
Eric Mark Martin
28061369dc
Cask: show previous verison in cask upgrade
2018-09-09 00:47:31 -04:00
L. E. Segovia
124a8109ce
Cask: rename no-translocation-bit changer function
2018-09-08 20:20:55 +00:00
L. E. Segovia
c7c14e1333
Cask: split quarantine/release functions
2018-09-08 14:00:44 +00:00
L. E. Segovia
53b95c6260
Cask: use native chmod to set write permissions
...
Ruby chmod follows symlinks, which can point to non-existent files. This
should fix quarantining Casks e.g. disk-inventory-x.
2018-09-07 16:57:00 +00:00
L. E. Segovia
ab31af2b4b
Cask: fixes for quarantining
...
Gatekeeper's Path Randomization is currently making automated
installation a nightmare. Let's manually toggle the (undocumented) app
translocation bit in the `com.apple.quarantine` extended attribute.
While we're at it, let's also toss in some fixes:
- zip downloads with improper permissions that prevent us from
quarantining
- quarantine/release/skip downloads as requested by the user
2018-09-07 15:37:31 +00:00
Mike McQuaid
132aa14320
Merge pull request #4838 from reitermarkus/cask-module
...
Rename `Hbc` module to `Cask`.
2018-09-06 09:15:44 +01:00
Mike McQuaid
0770e0bb67
Merge pull request #4814 from zdcthomas/upgrade_greedy_verbose_response
...
removes auto updates warning if greedy flag is included
2018-09-06 09:07:59 +01:00
Mike McQuaid
11ac4db05e
Merge pull request #4796 from amyspark/quarantine-swift-clt
...
Cask: check that the tools for quarantining are available
2018-09-06 08:56:04 +01:00
Markus Reiter
a84a1c63db
Rename Hbc
module to Cask
.
2018-09-06 09:30:52 +02:00
Markus Reiter
171ea3fe56
Ensure Pkg
is namespaced correctly.
2018-09-06 09:30:00 +02:00
Markus Reiter
f64e0d8dbe
Merge pull request #4834 from reitermarkus/cask-version
...
Deprecate `brew cask --version`.
2018-09-06 07:53:42 +02:00
Markus Reiter
ac2cd67861
Deprecate brew cask --version
.
2018-09-06 07:05:22 +02:00
Markus Reiter
33ce424399
Remove redundant namespacing.
2018-09-06 06:47:29 +02:00
zdcthomas
5cca3315cf
fixes trailing whitespace
2018-09-05 09:19:39 -06:00
zdcthomas
f71f74da4a
removes auto updates warning if greedy flag is included
2018-09-05 09:19:39 -06:00
Markus Reiter
0e03b46899
Refactor Hbc::Verify
.
2018-09-05 01:39:30 +02:00
L. E. Segovia
ed6f2829b1
Cask: check support of quarantine's tools
...
- In some cases (usually old CLT versions) Swift is available but needs an
extra guard to use the quarantine API.
- xattr's native filesystem recursion is an Apple extension which is
not available in Mojave; so let's use xargs.
- Insert a quarantine support check in brew cask doctor.
Fixes Homebrew/homebrew-cask#51554 , and fixes Homebrew/homebrew-cask#51538 .
2018-09-04 21:11:29 +00:00
Mike McQuaid
1ae2326984
Rename Cask::CLI to Cask::Cmd.
2018-09-04 09:56:58 +01:00
Mike McQuaid
1d86d7a7c7
cask: move cask/cli to cask/cmd.
2018-09-04 09:56:57 +01:00
Mike McQuaid
e06f8a8beb
Rename Homebrew-Cask to Homebrew Cask.
2018-09-04 09:56:57 +01:00
Mike McQuaid
90b3a13909
cask: move cask/lib/hbc/* to cask/*.
...
Fix the load path, requires and some filenames accordingly.
2018-09-04 09:56:57 +01:00
Markus Reiter
89dd608766
Deprecate gpg
stanza.
2018-09-03 20:47:52 +02:00
Mike McQuaid
80d75bc0d8
Homebrew/.rubocop: tweak rules.
...
Adjust the rules based on the current codebase. Remove various enable,
disables and default values that are unnecessary. Add more comments
explaining why. Make minor changes needed to enable a few more rules.
2018-09-02 20:15:09 +01:00
Mike McQuaid
bcb1ec5499
Improve Homebrew/brew line length.
...
Use 124 max line length everywhere. Also, reduce tap max line length to
189 as Homebrew/homebrew-core has that as a maximum now. In future
Homebrew/homebrew-core will also be reduced to 124 maximum line length.
2018-09-02 16:15:09 +01:00
Vítor Galvão
ad66d54143
Merge pull request #4782 from amyspark/fix-quarantine-broken-symlinks
...
quarantine: do not automatically follow symlinks
2018-09-01 10:41:47 +01:00
L. E. Segovia
4c47a4b76d
quarantine: do not automatically follow symlinks
...
This prevents failure when Casks have broken framework symlinks.
2018-08-31 15:31:00 +00:00
Markus Reiter
fbcaa8c85a
Resolve URL to get real file extension.
2018-08-31 16:51:23 +02:00
L. E. Segovia
f7cafb50ad
Enable quarantining of Homebrew-Cask's downloads
2018-08-31 13:16:11 +00:00
Markus Reiter
9f06b3df23
Don’t use CLI::Cleanup
in Auditor
.
2018-08-27 23:31:29 +02:00
Markus Reiter
48dcf19169
Ignore unparsable system languages.
2018-08-19 22:10:20 +02:00
Mike McQuaid
077e9f0c53
hbc/installer: don't send analytics for private taps.
2018-08-18 08:48:49 +01:00
Brian Morton
1b51456b4c
fix module path to ::Utils::Anlytics
2018-08-16 08:18:23 +02:00
Brian Morton
6701c207e0
add anlytics to cask installs
2018-08-16 08:10:07 +02:00
Markus Reiter
e6b45842e8
Refactor odeprecated
.
2018-08-15 12:16:02 +02:00
Markus Reiter
55cde526a8
Deprecate brew cask cleanup
.
2018-08-13 20:09:34 +02:00
Markus Reiter
a985f0a5d0
Merge pull request #4623 from commitay/github-latest
...
cask audit: GitHub `latest` casks shouldn't have an appcast
2018-08-12 21:57:45 +02:00
Markus Reiter
78658e4302
Add cask cleanup and per-formula cache cleanup.
2018-08-09 00:56:28 +02:00
Markus Reiter
921c6a33dd
Refactor Cleanup
.
2018-08-08 10:40:22 +02:00
commitay
3841522732
cask audit: GitHub latest
casks shouldn't have an appcast
2018-08-07 09:49:24 +10:00
Markus Reiter
9f370a3576
Merge pull request #4616 from reitermarkus/remove-cask-download-strategies
...
Remove cask download strategies.
2018-08-06 21:36:47 +02:00
Markus Reiter
290910d3c0
Remove cask download strategies.
2018-08-06 20:52:45 +02:00
Markus Reiter
e7bbb1f9b0
Remove unused brew cask _audit_modified_casks
command.
2018-08-06 20:26:33 +02:00
Markus Reiter
d5de9d585b
Use normal download strategies for casks.
2018-08-06 18:25:19 +02:00
Markus Reiter
8ae284e871
Use SystemCommand
for curl
.
2018-08-01 01:04:42 +02:00
Markus Reiter
7fb221ffe1
Remove unused brew cask _dump
command.
2018-07-30 22:30:12 +02:00
Markus Reiter
88783eae31
Refactor Hbc::URL
and rename to URL
.
2018-07-30 21:07:42 +02:00
Markus Reiter
54aa412015
Use LazyObject
for Hbc::URL
.
2018-07-30 21:07:42 +02:00
ilovezfs
cd2b85c40f
Revert "Use SystemCommand
for curl
."
2018-07-29 21:45:04 -07:00