Commit Graph

528 Commits

Author SHA1 Message Date
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