Commit Graph

502 Commits

Author SHA1 Message Date
Vítor Galvão cfac419290 docs: Mac > macOS 2016-06-13 21:17:57 +01:00
Vítor Galvão 6a2941e360 docs: added support for sierra 2016-06-13 21:17:46 +01:00
Vítor Galvão b50e668bdf docs: OS X > macOS 2016-06-13 20:38:18 +01:00
Vítor Galvão 8318ffe409 Change default Caskroom path (#21857)
* core: change default Caskroom location to be inside brew --repository

* docs: change default Caskroom location to be inside brew --repository
2016-06-12 10:09:03 +01:00
Joshua Hagins 3f2176ff4d Document --skip-cask-deps in man page 2016-06-03 21:20:00 -04:00
Tommy Sparber 16d4ef59df man page: Fix spaces in default path for ColorPickers and PreferencePanes (#21670) 2016-06-04 00:31:53 +01:00
Vítor Galvão 8275276493 Linked → moved (#21597)
* docs: chrome real staged output

* usage: fixed linked to moved

* all_stanzas doc: fixed linked to moved

* man page: fixed linked to moved
2016-06-01 17:31:35 -04:00
Matt Wean 47383169de [WIP] Change artifact behavior to moving instead of symlinking (#13966)
* Change app artifact to move instead of link

First step towards change in installation behavior mentioned in [13201]

* Fix handling of binaries linked from inside of app bundles

Also adds `appdir` method for interpolation in stanzas

* Change appdir to root Applications directory

* Update 2-app tests

* Refactor: add options, ivars to `Installer`, `Download`

In preparation for upcoming changes, this commit cleans up some code. The commit includes:

- In order to reduce unnecessary object passing, make both the `force` and `skip_cask_deps` option into instance variables of the `Installer` class

- Introduce options hashes to initializers of both the `Installer` and `Download` class

- When the `install --force` command enters the fetch phase, make it explicit in the code that fetching is never enforced in that case.

- Update tests

* Force overwrite artifacts on `--force` reinstall

This commit changes the behavior of a `Moved` artifact such that if the target already exists, `brew cask install --force` will remove the existing target before moving the staged artifact.

In that case, the warning message will say *overwriting* instead of *not moving*.

The behavior of plain `brew cask install` remains unchanged; the same goes for the warning message for that case.

* Change remaining artifacts to move instead of symlink

* Update casks to use appdir in binary paths

* Forcibly overwrite artifacts, modifying flags and using `sudo` if needed

- This commit implements [the proposed behavior for `install --force`](https://github.com/caskroom/homebrew-cask/pull/13966#issuecomment-220830387) when a target already exists and has either permission problems or is not owned by the user.

- The changes apply only when the `force` option is given.

- Reused the existing safeguard from the `.pkg` artifact to prevent deleting important directories by bug or mistake

- The two existing blacklists `SYSTEM_DIRS` and `UNDELETABLE_DIRS` have been consolidated into the `Hbc::MacOS` module.

- `UNDELETABLE_DIRS` now also contains all the entries from `SYSTEM_DIRS` which was a to-do anyway.

- The two blacklists are now also frozen for good measure.

- The utility method `permissions_rmtree` was moved to `Hbc::Utils`.

- The `tried_permissions` part in `Utils` now falls back correctly when there are also ownership issues at the same time.

- Introduced a separate `current_user` method for mocking.

- Added an optional feature to `FakeSystemCommand` so it can now act as a proxy to `SystemCommand`.

- Added tests for various `permissions_rmtree` cases.
2016-05-31 15:23:21 -04:00
Josh Hagins 6e24680086 Require target for generic artifact (#21549)
* Require target for generic artifact

* Add audit check for generic artifacts
2016-05-31 07:30:08 -04:00
mofeing 9d8d16c611
add Support for VST3 plug-ins 2016-05-04 01:46:09 -04:00
Vítor Galvão c5c4ecaccc app.md: new reason for target: use 2016-04-21 09:16:20 -04:00
Tommy Sparber 6e3426c0e1 appcast.md: Follow redirect when calculating checkpoint (#20490) 2016-04-12 10:36:23 -04:00
Joshua McKinney d2d1557fc6 Fix typo in pkg stanza doc 2016-04-06 16:04:33 -04:00
Zhiming Wang 88004dba16 adding_a_cask.md: Rephrase homebrew-versions criterion 2016-04-04 15:25:09 -04:00
Francesco Perrotti-Garcia cd08b9463d Fix broken uninstall stanza link 2016-03-06 00:27:01 -05:00
Vítor Galvão 8327e2acca Merge pull request #18051 from vitorgalvao/url-comment
cask_language_reference/stanzas/url.md: refine comment rules
2016-03-04 12:25:57 +00:00
Vítor Galvão 91ec5a995c rejected-casks.md: new reason, when the author asks. 2016-03-02 14:43:57 -05:00
Vítor Galvão 9e0ef70940 docs: clarify what to do with unofficial casks 2016-02-20 15:51:52 +00:00
Vítor Galvão 3e69bcf88d cask_language_reference, stanza order: appcast has checkpoint, not sha256 2016-02-14 16:23:55 -05:00
Vítor Galvão 77f037139b docs,pkg: must always be accompanied by uninstall 2016-02-14 01:07:39 +00:00
Vítor Galvão d60c3b958d docs,installer: must always be accompanied by uninstall 2016-02-14 01:07:39 +00:00
Vítor Galvão 1e49bb972c cask_language_reference/stanzas/url.md: refine comment rules 2016-02-12 00:02:15 +00:00
Vítor Galvão 6a619e3f8b Merge pull request #18493 from miccal/patch-4
Update depends_on.md
2016-02-10 12:57:29 +00:00
Vítor Galvão 321c577f4d Merge pull request #18496 from miccal/patch-6
Update pkg.md
2016-02-10 12:57:16 +00:00
Vítor Galvão f193e23610 Merge pull request #18489 from miccal/patch-1
Update readme.md
2016-02-10 12:56:07 +00:00
Vítor Galvão 6eaaf06089 Merge pull request #18490 from miccal/patch-2
Update appcast.md
2016-02-10 12:55:56 +00:00
Vítor Galvão 0f50862ca0 Merge pull request #18492 from miccal/patch-3
Update conflicts_with.md
2016-02-10 12:55:48 +00:00
miccal 1284968c30 Update pkg.md
Missed a colon.
2016-02-10 20:36:26 +08:00
miccal 4b03f2d137 Update gpg.md
Missed a few colons.
2016-02-10 20:34:15 +08:00
miccal 714bd04beb Update depends_on.md
Missed a few colons.
2016-02-10 20:32:52 +08:00
miccal 43f2662ab2 Update conflicts_with.md
Missed a few colons.
2016-02-10 20:31:09 +08:00
miccal e5847bf0b1 Update appcast.md
Missed a colon.
2016-02-10 20:28:54 +08:00
miccal 5c820fb826 Update readme.md
Missed a few colons.
2016-02-10 20:26:18 +08:00
Vítor Galvão fbe817db2e Merge pull request #18440 from miccal/patch-9
Update depends_on.md
2016-02-10 11:25:23 +00:00
Vítor Galvão 2da563ebed Merge pull request #18439 from miccal/patch-8
Update app.md
2016-02-10 11:24:52 +00:00
miccal b964a9724e Update adding_a_cask.md 2016-02-10 11:24:29 +00:00
Vítor Galvão d83bf61ed3 Merge pull request #18436 from miccal/patch-5
Update all_stanzas.md
2016-02-10 11:22:03 +00:00
Vítor Galvão dcc9ad5413 Merge pull request #18474 from miccal/patch-3
Update url.md
2016-02-10 02:25:43 +00:00
Vítor Galvão 73711fec4d Merge pull request #18472 from miccal/patch-2
Update uninstall.md
2016-02-10 02:25:05 +00:00
Vítor Galvão 932078e113 Merge pull request #18473 from miccal/patch-1
Update installer.md
2016-02-10 01:51:47 +00:00
miccal a1eb4b9980 Update zap.md 2016-02-10 01:42:47 +00:00
miccal 04f5c57d63 Update brew-cask.1.md 2016-02-10 08:42:32 +08:00
miccal 678d7d5b1c Update url.md 2016-02-10 08:35:24 +08:00
Vítor Galvão ef4e7b7daf Merge pull request #18435 from miccal/patch-4
Update token_reference.md
2016-02-10 00:30:47 +00:00
miccal 3d312c98f6 Update installer.md 2016-02-10 08:00:24 +08:00
miccal 0f5fc08f64 Update uninstall.md 2016-02-10 07:57:00 +08:00
miccal 6644d8f6d9 Update suite.md 2016-02-10 07:36:10 +08:00
miccal 6bb8adc9bc Update depends_on.md 2016-02-10 07:32:16 +08:00
miccal e84c7a364c Update app.md 2016-02-10 07:24:29 +08:00
miccal a5165ba643 Update all_stanzas.md 2016-02-10 07:10:04 +08:00