Markus Reiter
b7eb7e48f0
Remove Hbc::Container::Gpg
.
2018-07-23 19:35:01 +02:00
Markus Reiter
1ccd1c0017
Don't use CaskError
in Hbc::Container::Dmg
.
2018-07-23 03:04:11 +02:00
Markus Reiter
e5e8033145
Add system_command
helpers.
2018-07-22 23:24:18 +02:00
Markus Reiter
db299035ac
Merge pull request #4517 from reitermarkus/rename-system-command
...
Rename `Hbc::SystemCommand` to `SystemCommand`.
2018-07-22 22:24:00 +02:00
Markus Reiter
28384ba518
Rename Hbc::SystemCommand
to SystemCommand
.
2018-07-22 21:11:47 +02:00
Markus Reiter
8278e9e403
Move verbose
from #initialize
to #extract
.
2018-07-22 20:30:28 +02:00
Markus Reiter
d0951bdc1d
Remove Hbc::Container::Criteria
.
2018-07-21 16:31:24 +02:00
Markus Reiter
7ad999f5f8
Merge pull request #4488 from reitermarkus/system-command
...
Refactor `Hbc::SystemCommand`.
2018-07-20 17:51:10 +02:00
commitay
68760d7467
fix cask rar containers
2018-07-20 09:00:10 +10:00
Markus Reiter
2712fcaa67
Use interleaved output for ErrorDuringExecution
.
2018-07-19 16:53:11 +02:00
Markus Reiter
3ff9c5335d
Canonicalize input
in initialize
.
2018-07-19 16:41:27 +02:00
Markus Reiter
01b2be755c
Move odebug
.
2018-07-19 16:41:27 +02:00
Markus Reiter
2452b27866
Refactor ErrorDuringExecution
.
2018-07-19 16:41:27 +02:00
Markus Reiter
bb29150096
Refactor HashValidator
.
2018-07-19 16:41:27 +02:00
commitay
43883a4108
fix cask seven_zip containers
2018-07-19 13:30:15 +10:00
Mike McQuaid
86df821b92
Merge pull request #4410 from alexbostock/cask-json
...
Cask json
2018-07-17 17:17:06 +01:00
alexbostock
49bae9b619
Rename to_hash method
2018-07-17 11:12:04 +01:00
alexbostock
3fd1e914fd
Fix details in cask command
2018-07-17 10:56:44 +01:00
alexbostock
7fea44ae46
Tidy up
2018-07-17 10:04:17 +01:00
Markus Reiter
63c5bd96a0
Merge pull request #4486 from reitermarkus/container-refactoring
...
Assimilate `Container`s with `UnpackStrategy`.
2018-07-17 00:03:28 +02:00
Markus Reiter
e5865e7e7f
Assimilate Container
s with UnpackStrategy
.
2018-07-16 23:50:45 +02:00
Markus Reiter
d069cc2ebc
Move error to the right place.
2018-07-16 23:36:15 +02:00
Markus Reiter
82482f4787
Add support for self-extracting .exe
archives.
2018-07-16 09:54:37 +02:00
Markus Reiter
c9c5d8e008
Change Container::me?
to Container::can_extract?
.
2018-07-16 09:16:50 +02:00
Markus Reiter
f92e3086ac
Merge pull request #4474 from reitermarkus/refactor-containers
...
Refactor containers and automatically determine dependencies.
2018-07-16 08:40:38 +02:00
commitay
eb1271304f
cask upgrade: add message about auto_updates
and :latest
2018-07-15 11:13:04 +10:00
commitay
6d1f99fa5f
cask info: display auto_updates
2018-07-15 11:13:04 +10:00
Markus Reiter
b7e849799f
Merge pull request #4469 from reitermarkus/systemcommand-path
...
Don’t expand `executable` path in `SystemCommand`.
2018-07-14 22:45:43 +02:00
Markus Reiter
fdc250cac4
Refactor containers and automatically determine dependencies.
2018-07-14 22:32:26 +02:00
Markus Reiter
a9e109e31a
Don’t expand executable
path in SystemCommand
.
2018-07-14 02:33:42 +02:00
commitay
ba929cd9e1
cask audit: check for latest
with auto_updates
2018-07-12 19:22:47 +10:00
Mike McQuaid
459e2bfa48
Merge pull request #4455 from reitermarkus/heredocs
...
Use more descriptive heredoc names.
2018-07-12 09:30:35 +01:00
Markus Reiter
7762ce32aa
Use more descriptive heredoc names.
2018-07-11 18:15:30 +02:00
Markus Reiter
20ec595cb2
Fix Installer
not supporting plain executables.
2018-07-11 16:56:37 +02:00
Markus Reiter
44400db00a
Don't let install_phase
fail.
2018-07-11 16:46:33 +02:00
Markus Reiter
37f3a603ce
Use env
utility instead of with_env
.
2018-07-11 16:46:33 +02:00
Markus Reiter
ae38c5d6d1
Fix SystemCommand
PATH
.
2018-07-11 15:58:38 +02:00
Markus Reiter
4e49e8de0d
Fix SystemCommand
:path
.
2018-07-11 15:58:38 +02:00
Markus Reiter
c51189ae0e
Merge pull request #4363 from reitermarkus/external-cask-commands
...
Simplify and fix external `brew cask` command detection.
2018-07-11 11:26:40 +02:00
Markus Reiter
98bb073b46
Merge pull request #4265 from claui/fix-pkg-environment
...
Fix PKG installer environment
2018-07-11 08:25:19 +02:00
Markus Reiter
4ddb1123d7
Merge pull request #4426 from reitermarkus/refactor-system-command-plist
...
Simplify `Hbc::SystemCommand::Result#plist`.
2018-07-09 18:30:32 +02:00
Markus Reiter
fcf8cb24fd
Remove unused incremental_hash
method.
2018-07-06 23:14:34 +02:00
Markus Reiter
e7f950750e
Simplify and fix external brew cask
command detection.
2018-07-06 22:04:26 +02:00
Claudia
3dbb735f3c
Fix PKG installer environment
...
This commit solves an issue where the environment handed to
`/usr/sbin/installer` is not the same as the environment used by the
graphical PKG installer.
This is evident in some post-install scripts, e. g. the
`component-10.pkg/Scripts/postinstall` script in the `dymo-label`
cask. The code says:
```
USER_ID=`id -u ${USER}`
launchctl bootstrap gui/$USER_ID /Library/LaunchAgents/com.dymo.dls.webservice.plist
```
The graphical installer will export e. g. `USER=alice`, and
everything works as intended.
However, `brew cask install` does not override `sudo`’s default,
which is `USER=ROOT`. This violates the assumptions in the script.
This commit fixes the issue by configuring `sudo` to override the
following environment variables with the proper user name:
- `LOGNAME`
- `USER`
- `USERNAME`
2018-07-06 09:38:00 +02:00
Markus Reiter
e07eddc391
Simplify Hbc::SystemCommand::Result#plist
.
2018-07-05 10:54:35 +02:00
alexbostock
296dd5ecb2
Fix format of cask JSON output
2018-07-04 15:08:32 +01:00
alexbostock
7e5addfb22
Add version number to cask JSON option
...
`$ brew cask info --json=v1 <formula>` instead of `$ brew cask info --json <formula>`
2018-07-04 15:03:31 +01:00
commitay
44a78a12a9
Merge pull request #4344 from commitay/cask-audit-all-appcasts
...
cask audit: check for devmate and hockeyapp appcasts
2018-07-04 11:13:40 +10:00
alexbostock
b548dbde97
Fix style
2018-07-02 10:46:41 +01:00
alexbostock
22b3102fbe
Add version number to cask json option
...
Old:
$ brew cask info --json <formula>
New:
$ brew cask info --json-v1 <formula>
2018-07-02 10:32:59 +01:00