Commit Graph

660 Commits

Author SHA1 Message Date
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 b627ad7358 bug_report_template: make clear a title is needed (#25100) 2016-10-02 10:44:49 +01:00
Vítor Galvão b5dfd31ec2 cask_language_reference: remove Hardware::CPU references (#24987) 2016-09-29 16:56:15 +01:00
Nathan Toone 4c31bb03fa Fix documentation for --caskroom default (#24891)
* Fix documentation for --caskroom default

* Remove man page document that is no longer used (the man page is generated from docs in the homebrew repository)
2016-09-27 20:37:39 +02:00
Vítor Galvão c7860a8629 flight.md: change :key to key: 2016-09-14 20:16:23 +01:00
Vítor Galvão e9c436e83b A cask fails to install: put links in README (#24397) 2016-09-12 13:48:18 -04:00
Vítor Galvão 7b4a67b50f permission_denied_error_fix_bundle.md: fix 'licoin' typo 2016-09-11 23:48:59 +01:00
Vítor Galvão e289f39eb6 permission_denied_error_fix_bundle: be more specific that the user should try to make the change first 2016-09-11 09:12:22 +01: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
Vítor Galvão e1f08a1d5a appcast.md: make sure to use system sed (#24224) 2016-09-02 11:01:50 -04:00
Aditya Dalal 3e509d261c pre_bug_report: Modify commands (#23941)
* pre_bug_report: Modify commands

Add `brew` error fix and simplify commands

* Update pre_bug_report.md

Reordered commands
2016-08-20 14:17:23 -04:00
Josh Hagins 9669ce2141 Fix wording in error_unknown_command_cask.md (#23937) 2016-08-19 22:03:30 -04:00
Aditya Dalal b7515ba077 FAQ: `Error: Unknown command: cask` (#23935)
https://github.com/caskroom/homebrew-cask/issues/23934
2016-08-19 21:53:59 -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
Markus Reiter fdc7943f23 Regenerate manpage. (#23542) 2016-08-08 09:30:37 +02:00
Markus Reiter 459c4ffe57 Use “Homebrew-Cask” consistently. (#23542) 2016-08-08 09:30:37 +02:00
Anastasia Sulyagina ef5681a221 deleted cask's macos (#23505) 2016-08-07 15:12:48 -04:00
Vítor Galvão 991cbe618a rejected_casks.md: rules for casks that provide no binaries (#23361) 2016-08-03 15:22:09 +08:00
Josh Hagins 4d0542bcb1 hacking.md: rake test -> brew cask-tests 2016-08-02 15:27:33 -04:00
Markus Reiter 630cb866e7 Change preferred SourceForge URL style. (#23299) 2016-07-31 09:28:22 +02:00
Markus Reiter 257adc7dcf Deprecate `--binarydir` option. (#23238) 2016-07-30 15:02:05 +02: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
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 f2a7e61ad7 breadcrumbs: source is not there (#22578) 2016-07-05 02:01:25 -04:00
Vítor Galvão c7fbf76e60 pre_bug_report.md: slighty improved explanation 2016-07-04 13:15:47 +01:00
Vítor Galvão 4a4a293bee bug report template: use <details> (#22556) 2016-07-03 23:28:58 +08: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 3e1a64e974 breadcrumbs: uninstall_wrongly_reports_cask_as_not_installed (#22523) 2016-07-02 00:38:07 -04:00
Vítor Galvão b21c9f3fa0 Breadcrumbs sha (#22491)
* curl_error_fix_outdated.md: use asterisk for list

* a_cask_fails_to_install.md: in permission denied error, specify error output

* breadcrumbs: added sha256 mismatch error
2016-06-30 12:54:25 +01:00
Vítor Galvão 8a50fc42cf breadcrumbs: brew cask list is broken (#22490) 2016-06-30 10:28:52 +08:00
Vítor Galvão 844a85d559 Be more accurate in pre bug reporting (#22492) 2016-06-30 10:28:34 +08:00
Vítor Galvão 0c1fe9afea Merge pull request #22460 from vitorgalvao/permission-denied
Breadcrumbs: permission denied error
2016-06-29 23:24:54 +01: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 4216c15ed6 Merge pull request #22383 from vitorgalvao/malware
* caveats: apps with malware

* faq: filenames separated with _

* faq: apps with malware
2016-06-29 00:10:29 +01:00
Vítor Galvão c47ba99344 faq: apps with malware 2016-06-29 00:08:28 +01:00
Vítor Galvão 20bfe4e392 permission_denied_fixes: extra step 2016-06-28 20:33:16 +01:00
Vítor Galvão 712b377a8e breadcrumbs: add permission denied error 2016-06-28 19:20:15 +01:00
Vítor Galvão 2e57ac946a a_cask_fails_to_install.md: don't specify bash for code block 2016-06-28 19:15:03 +01:00
Vítor Galvão f2811cf101 curl_error_fix_wont_fix.md: put period inside bold 2016-06-28 19:14:05 +01:00
Joshua McKinney ff81663f56 Add --require-sha option for Issue #18831 2016-06-26 02:05:25 -04:00
Vítor Galvão 966f165d49 faq: filenames separated with _ 2016-06-25 12:15:53 +01:00
Vítor Galvão 79cb8836b5 caveats: apps with malware 2016-06-25 12:15:53 +01:00
Vítor Galvão 1a1c0a49b1 docs: new breadcrumbs approach to reporting bugs 2016-06-20 12:44:50 +01:00
Vítor Galvão c1d530e3ed docs: new issue template - outdated cask where user cannot find link 2016-06-19 16:57:01 +01:00
Vítor Galvão a0d5469653 docs: new issue template - outdated cask 2016-06-19 16:57:01 +01:00
Vítor Galvão ae384d64d2 docs: new issue template - dead app 2016-06-19 16:57:01 +01:00
Vítor Galvão 2185602bd2 docs: moved reporting bugs actions to new document 2016-06-19 16:57:01 +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
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
miccal e455301598 Update token_reference.md 2016-02-10 06:43:18 +08:00
Vítor Galvão 69d8ea9651 Merge pull request #18437 from miccal/patch-6
Update rejected-casks.md
2016-02-09 14:00:44 +00:00
Vítor Galvão c86b8bbe77 Merge pull request #18441 from miccal/patch-10
Update flight.md
2016-02-09 13:39:27 +00:00
Vítor Galvão 9a58f0a673 Merge pull request #18442 from miccal/patch-11
Update gpg.md
2016-02-09 13:39:06 +00:00
Vítor Galvão 1d4a9967d1 Merge pull request #18444 from miccal/patch-13
Update pkg.md
2016-02-09 13:36:31 +00:00
Vítor Galvão 0c4d88b740 Merge pull request #18434 from miccal/patch-3
Update readme.md
2016-02-09 13:30:41 +00:00
miccal e34a07216a Update pkg.md 2016-02-09 14:28:55 +08:00
miccal d2d043828c Update installer.md 2016-02-09 14:22:52 +08:00
miccal 9eb56f5f97 Update gpg.md 2016-02-09 14:01:51 +08:00
miccal 532706d8fa Update flight.md 2016-02-09 13:59:58 +08:00
miccal e934de290a Update depends_on.md 2016-02-09 13:53:49 +08:00
miccal c8360b04e3 Update app.md 2016-02-09 13:44:47 +08:00
miccal b45505586e Update rejected-casks.md 2016-02-09 12:16:06 +08:00
miccal f7bde67c13 Update all_stanzas.md 2016-02-09 12:01:55 +08:00
miccal 88841a21c1 Update token_reference.md 2016-02-09 11:25:29 +08:00
miccal 5711a72f6f Update readme.md 2016-02-09 11:02:38 +08:00
miccal d4a71959d5 zap.md: Update link pointers 2016-02-08 19:48:19 -05: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
Vítor Galvão e87a5222fd Update flight.md 2016-01-27 22:35:55 +00:00
Vítor Galvão b1ac5ba7ca Update flight.md 2016-01-27 22:35:14 +00:00
Vítor Galvão d7cde05f12 faq>rejected-casks: add duplicate reason 2016-01-27 14:53:16 +00:00
Vítor Galvão f0bd06a865 faq>rejected-casks: use relative paths to other docs 2016-01-27 14:53:06 +00:00
Vítor Galvão 83755e1e14 faq: rejected casks 2016-01-26 16:38:55 +00:00
Vítor Galvão f9288fbef9 faq: not a discoverability service 2016-01-26 14:34:33 +00:00
Aditya Dalal 745fd4b402 Update appcast.md
Change file versions to use new syntax
2016-01-25 09:36:07 -05:00
Tommy Sparber 438de2c7f8 Fix many URLs in the documentation 2016-01-23 16:27:08 +11:00
adidalal f3df96fa08 splitting up contributing 2016-01-21 18:45:19 -05:00
Vítor Galvão 0370294cec initial document breaks 2016-01-20 00:48:20 +00:00
Josh Hagins 9737081d49 Use Ruby 1.9 hash syntax in docs 2016-01-17 21:57:28 -05:00
Josh Hagins b9b1a7f807 Add `style` subcommand to run RuboCop against args 2016-01-16 18:19:31 -05:00
Vítor Galvão ccb9ba9f0d Merge pull request #17057 from caskroom/delete-alternate
Delete alternate_cask_taps.md
2016-01-15 14:14:00 +00:00
Vítor Galvão 781bdf5711 Merge pull request #17058 from caskroom/delete-faq
Delete FAQ.md
2016-01-15 14:13:27 +00:00
Vítor Galvão 6a531ab261 Delete FAQ.md 2016-01-15 14:12:51 +00:00
Vítor Galvão 2e71b849ed Delete alternate_cask_taps.md 2016-01-15 01:55:38 +00:00
Vítor Galvão 92d904aca4 Delete CHANGELOG.md 2016-01-15 01:54:23 +00:00
Aditya Dalal cb7e6b8763 Update CASK_LANGUAGE_REFERENCE.md
Add appcast documentation
2016-01-14 18:05:02 -05:00
miccal d7e78ce635 Update CASK_LANGUAGE_REFERENCE.md
Added missing `$`.
2016-01-13 08:53:59 +08:00
miccal 9cfc59144e Update CASK_LANGUAGE_REFERENCE.md
I could not find a current example of a Cask using `plist_set(key, value)` in the `*flight Mini-DSL` section.
2016-01-12 23:09:18 +00:00
miccal 82d1ae8c36 Update brew-cask.1(.md) 2016-01-12 14:27:29 +00:00
Vítor Galvão b8b602969f hacking.md: remove mention of separating from homebrew 2016-01-11 14:15:07 +00:00
miccal 0adf277fde Update hacking.md 2016-01-11 14:13:52 +00:00