Commit Graph

541 Commits

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