Commit Graph

52 Commits

Author SHA1 Message Date
Ondrej Galbavy 9a0fcf2599 Fix cask testing instructions (#53926)
* Fix cask testing instructions

* Split up command.

* Use `bash` syntax highlighting.
2018-11-02 12:56:53 +01:00
Russ Taylor f6ee7dfb85 Fixes #39739 - document 'unofficial' app naming conventions. (#53222)
* Fixes #39739 - document 'unofficial' app naming conventions.

* Removes duplicate, fixes suffix/prefix.

* Update token_reference.md
2018-10-12 18:51:07 +10:00
Viktor Szakats d8d2d8d3d7 doc: secure URLs 2018-10-07 08:35:50 +10:00
commitay 903493e09c
various: remove hyphen from `homebrew-cask` (#52346) 2018-09-23 10:04:06 +10:00
Markus Reiter 484cf302bd Remove `brew cask search` from documentation. 2018-06-20 21:17:46 +02:00
commitay 75e240283b docs: remove appcast checkpoints (#48235)
* docs: remove appcast checkpoints

* appcast.md

* appcast.md: update examples
2018-06-12 16:04:46 +01:00
Vítor Galvão a581bcf181 Add Mojave references (#48100) 2018-06-06 12:38:18 +10:00
Markus Reiter 0ddcd8fa6f Update URLs. 2018-05-25 18:26:12 +02:00
Vítor Galvão 6b0a1f76c7
adding_a_cask.md: change latest/no_check example to advancedcolors (#42028) 2017-12-16 19:55:51 +00:00
commitay 81898a212a Update hacking.md / token_reference.md (#39585)
[skip ci]
2017-10-12 23:59:55 +02:00
Markus Reiter d09565487a Update hacking.md (#39580) 2017-10-12 22:57:42 +02:00
Steven Conaway 44eb925f4f adding_a_cask.md: update macOS date (#39262) 2017-10-04 03:56:21 +01:00
commitay e4774f98c0 adding_a_cask.md - remove squash (#37419) 2017-08-08 21:16:19 +10:00
Vítor Galvão c8a0c6333c adding_a_cask.md: clarify rules on drivers (#36513) 2017-07-15 09:30:44 +08:00
Markus Reiter 87f8a34c99 `zap trash:` (#35719) 2017-06-21 09:47:44 +08:00
Vítor Galvão c60b2c8af4 maintaining: general fixes (#35668) 2017-06-19 08:51:56 +08:00
commitay 3dcc77466c Update maintaining.md (#35666) 2017-06-18 23:27:52 +01:00
Vítor Galvão bb0902ae16 maintaining: curly quotes on bash var 2017-03-29 19:34:02 +01:00
Vítor Galvão 0fac43a14c adding_a_cask.md: remove var for github_user (#31604) 2017-03-29 19:33:19 +01:00
giannitm 01f4f03fff Correct typos in documentation (#30884)
* Correct typo in "not_a_discoverability_service.md"

* Correct typo in draft document "maintaining.md"
2017-03-13 22:38:16 +00:00
neutric 07a145ca60 hacking.md: Update instructions to force OS version (#29770)
Update instructions to force OS version to reflect Homebrew/brew#1883.
2017-02-03 14:09:38 +01:00
Vítor Galvão a88b4fd234 adding_a_cask.md: add drivers to nomenclature 2017-01-29 14:14:13 +00:00
Vítor Galvão 03020a52ec adding_a_cask.md: add eids to nomenclature 2017-01-29 14:14:13 +00:00
Vítor Galvão 2f586b9ef1 adding_a_cask.md: add font to nomenclature 2017-01-29 14:14:13 +00:00
Vítor Galvão 3341d6ae9d adding_a_cask: editions back to main repo 2017-01-29 14:14:13 +00:00
Miccal Matthews 213c46689d Update hacking.md (#29421) 2017-01-27 11:43:07 +00:00
Vítor Galvão 0613247bf4 adding_a_cask.md: remove squashing info (#28017) 2016-12-20 07:47:56 +08:00
neutric 460eb0f1f1 Update reference to macOS versions (#27911) 2016-12-17 16:37:33 +00:00
Vítor Galvão cc0fdc77c1 adding_a_cask.md: added missing stanzas subdir in language link 2016-10-11 10:37:03 +01:00
Vítor Galvão 6819232bb4 adding_a_cask.md: fix language link 2016-10-11 10:36:04 +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
miccal 377ae3f43d Update maintaining.md 2016-10-05 13:36:05 +08:00
Vítor Galvão 0efc241535 adding_a_cask.md: make clear the rejected casks faq should be checked 2016-09-05 11:41:21 +01: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
Markus Reiter 459c4ffe57 Use “Homebrew-Cask” consistently. (#23542) 2016-08-08 09:30:37 +02:00
Josh Hagins 4d0542bcb1 hacking.md: rake test -> brew cask-tests 2016-08-02 15:27:33 -04:00
Markus Reiter 11d613d433 Change examples in `adding_a_cask.md`. (#23226) 2016-07-28 16:50:00 -04:00
anthonyangel 245cec9dd7 Update comment for URL & homepage mismatch (#23217)
Updated comment explaining why URL and homepage domains don't match, as per https://github.com/caskroom/homebrew-cask/blob/master/doc/cask_language_reference/stanzas/url.md#when-url-and-homepage-hostnames-differ-add-a-comment (previous code was failing checks)
2016-07-28 13:17:18 +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 b50e668bdf docs: OS X > macOS 2016-06-13 20:38:18 +01: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
Zhiming Wang 88004dba16 adding_a_cask.md: Rephrase homebrew-versions criterion 2016-04-04 15:25:09 -04:00
Vítor Galvão 9e0ef70940 docs: clarify what to do with unofficial casks 2016-02-20 15:51:52 +00:00
miccal b964a9724e Update adding_a_cask.md 2016-02-10 11:24:29 +00:00
Ryan Duryea 747a8ab5a1 Add URL for Getting Set Up To Contribute link 2016-02-05 14:03:40 -05:00
Vítor Galvão ed5b242ba0 maintaining.md: new find_outdated_appcasts label 2016-01-29 01:55:20 +00:00
Tommy Sparber 438de2c7f8 Fix many URLs in the documentation 2016-01-23 16:27:08 +11:00