Commit Graph

96 Commits

Author SHA1 Message Date
Miccal Matthews 470e8c5e36 Update language.md (#26535) 2016-11-07 01:29:30 +01:00
Eitot 4bd79034e2 Update docs for dictionary artifact (#26062) 2016-10-29 15:57:07 +02:00
Vítor Galvão 8e9f03a54b all_stanzas.md: linked > moved (#26065) 2016-10-23 23:05:32 +02:00
Vítor Galvão 2056dcffbe token_reference: finding-a-home-for-your-cask to forks-and-apps-with-conflicting-names 2016-10-22 10:51:06 +01:00
Vítor Galvão c978f0349e token_reference: conflicts with formulae (#25603)
* token_reference: conflicts with formulae

* Update token_reference.md
2016-10-18 11:04:14 -04:00
Markus Reiter 277906036c Add documentation for `language` stanza. (#25375)
* Add documentation for `language` stanza.

* Add info on how to install a cask in a specific language.
2016-10-14 00:56:19 +01:00
Vítor Galvão 044a047ea5 cask_language_reference: include language in stanza order (#25389) 2016-10-12 11:10:25 +01:00
Markus Reiter 124a74186e Update “Finding a Home for your Cask“ for regional and localized Casks 2016-10-10 17:49:38 +02:00
David Yun 43ddab0f02 Remove license from documentation (#25315) 2016-10-10 08:10:39 +01:00
leee bbced43d1e Redocument the `artifact` stanza per #13966 (#25290) 2016-10-07 10:35:21 +01:00
Michael Ford 0d579a771c Merge pull request #25209 from miccal/patch-5
Fix typo in url.md
2016-10-05 15:40:33 +08:00
Michael Ford 3cb70bf75d Merge pull request #25208 from miccal/patch-4
Fix typo in caveats.md
2016-10-05 15:39:53 +08:00
Michael Ford 8fd2501312 Merge pull request #25207 from miccal/patch-3
Fix typo in app.md
2016-10-05 15:38:25 +08:00
miccal d5e78d1615 Update url.md 2016-10-05 13:28:59 +08:00
miccal 1e3fc0a808 Update caveats.md 2016-10-05 13:12:16 +08:00
miccal b543b46692 Update app.md 2016-10-05 13:07:57 +08:00
miccal dbd32917a6 Update readme.md 2016-10-05 13:05:46 +08:00
neutric 0c80bf1126 cask_language_reference/readme.md: fix typo (#25137) 2016-10-03 10:42:51 +01:00
Vítor Galvão b5dfd31ec2 cask_language_reference: remove Hardware::CPU references (#24987) 2016-09-29 16:56:15 +01:00
Vítor Galvão c7860a8629 flight.md: change :key to key: 2016-09-14 20:16:23 +01:00
Vítor Galvão e1f08a1d5a appcast.md: make sure to use system sed (#24224) 2016-09-02 11:01:50 -04:00
Markus Reiter 15171687a1 Move back documentation and developer scripts. (#23920) 2016-08-19 19:21:44 +02:00
Anastasia Sulyagina 0ec06e9a95 Cask core code moved to Homebrew (#23852) 2016-08-19 16:53:18 +02:00
Viktor Szakats 160bf4148c securing and updating URLs in core (#23547) 2016-08-08 12:34:11 +01:00
Anastasia Sulyagina ef5681a221 deleted cask's macos (#23505) 2016-08-07 15:12:48 -04:00
Markus Reiter 630cb866e7 Change preferred SourceForge URL style. (#23299) 2016-07-31 09:28:22 +02:00
Markus Reiter 1806aaf9a3 Change hash rockets to colons. (#22951) 2016-07-20 01:05:31 -04:00
Vítor Galvão 72ad37d9cb appcast.md: fix command (always fake browser headers) (#22810)
* appcast.md: fix command (always fake browser headers)

* Use --user-agent instead of --header
2016-07-15 10:10:07 -04:00
Vítor Galvão 973522e0c1 appcast.md: add instructions for sourceforge and hockeyapp (#22536) 2016-07-02 00:38:59 -04:00
Vítor Galvão 594b825045 caveats.md: fix typo (of > or) 2016-06-29 21:11:26 +01:00
Vítor Galvão a7e0021421 caveats.md: clarify rules on when caveats are appropriate (#22480) 2016-06-29 16:32:12 +01:00
Vítor Galvão 79cb8836b5 caveats: apps with malware 2016-06-25 12:15:53 +01:00
Claudia 942825c38f Update docs as discussed in #22014 (#22206)
As [discussed](https://github.com/caskroom/homebrew-cask/pull/22014#discussion_r67345214) in #22014, the docs are updated to point to a specific revision for the `audacity.rb` example.
2016-06-19 14:07:35 +01:00
Claudia f348f74157 Introduce optional block syntax for `url` stanza
This commit amends the `url` stanza to accept an optional
block

The block is only evaluated when needed, for example on
download time or when auditing a Cask. It is never evaluated
when loading a Cask.

The return value of the block is either a `String`, or a
`String, Hash` tuple; the latter case is for additional
options such as `referer`.

Implementation note: Rolled my own delegate logic because
`SimpleDelegator` turns out to take too much of a
performance hit.
2016-06-18 21:32:39 +02:00
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
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
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 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