Commit graph

682 commits

Author SHA1 Message Date
Roland Walker
fe0a053dad Merge pull request #6208 from rolandwalker/uninstall_force
add `--force` option for `brew cask uninstall`
2014-09-16 19:33:17 -04:00
ndr
3f97e678d1 Merge pull request #6207 from rolandwalker/improve_zap_messages
Improve zap feedback messages
2014-09-16 21:04:06 +02:00
Federico Bond
598a17d0c7 Merge pull request #6206 from rolandwalker/add_version_arg
support `brew cask --version` per `USAGE.md`
2014-09-16 14:58:21 -03:00
Roland Walker
d156cbfcb2 add --force option for brew cask uninstall
also update some related docs for verbs `install` and `uninstall`
2014-09-16 10:59:44 -04:00
Roland Walker
fbdcb6ea4c Improve zap feedback messages
In particular, note explicitly when no `zap` stanza is present.
2014-09-16 10:23:51 -04:00
Roland Walker
ca8417bf0e support brew cask --version per USAGE.md
closes #6178
2014-09-16 10:04:47 -04:00
Roland Walker
1ddec7128d add uninstall :rmdir
per discussion at https://github.com/caskroom/homebrew-cask/pull/6174#discussion-diff-17516171
refs: #6174

This PR is large because of some test-suite refactoring.
2014-09-16 09:48:32 -04:00
Roland Walker
feca527e78 Merge pull request #6193 from rolandwalker/double_dot_is_relative
protect against inner ".." in uninstall paths
2014-09-16 07:08:35 -04:00
Roland Walker
3ea3d0e0e6 protect against inner ".." in uninstall paths 2014-09-15 11:30:41 -04:00
Roland Walker
5ae6e2f773 doc new app stanza and update tests to use it
Replacing `link` for almost all cases.

The `link` stanza can still appear in error messages, because
under the hood, `app` is still implemented as a pure synonym
for the `link` artifact.  That will change automatically when
we factor into separate artifacts.
2014-09-13 13:03:46 -04:00
Roland Walker
ce64b38723 Merge pull request #6155 from rolandwalker/add_zap_stanza
functionality and docs for zap stanza and verb
2014-09-13 12:55:57 -04:00
Roland Walker
d2ba4fdf4d cut v0.41.1 2014-09-13 12:49:30 -04:00
Roland Walker
ce82c00506 Merge pull request #6066 from rolandwalker/alfred_yosemite
fix `brew cask alfred` for Yosemite/Alfred 2.4
2014-09-13 12:43:58 -04:00
Roland Walker
0f664ca78a Fix brew cask alfred for Yosemite/Alfred 2.4
Closes #5820
References: #6059
2014-09-13 12:34:12 -04:00
Roland Walker
00921dd513 functionality and docs for zap stanza
* `zap` was previously supported as a noop for forward-compatibility
* Also adds restrictions against relative paths in `uninstall :files`
* Also documents safety conventions for `uninstall :files`
2014-09-13 10:21:17 -04:00
Roland Walker
6fbf7dce5a fix depends_on :formula backend
closes #6158
2014-09-13 08:04:27 -04:00
Roland Walker
dfcbd7154e docs, error msgs, tests for depends_on :formula
replacing depends_on_formula in DSL
2014-09-11 20:33:39 -04:00
ndr
c0bc7b44a2 Merge pull request #6117 from rolandwalker/metadata_directories
Metadata directory support
2014-09-11 23:47:00 +02:00
Roland Walker
0574662679 metadata directory support
- incidentally adds defensive driving against null version
  in method `destination_path`
2014-09-11 11:17:52 -04:00
Roland Walker
719bb998ed cut v0.41.0 2014-09-11 10:08:43 -04:00
Roland Walker
65cda1257e new DSL form container :nested => <inner> 2014-09-11 09:26:40 -04:00
Roland Walker
5d77ef0203 Merge pull request #6121 from rolandwalker/doc_dsl_pkg
docs and error messages for new DSL stanza `pkg`
2014-09-10 17:35:20 -04:00
Roland Walker
01cd96b89a Merge pull request #6116 from rolandwalker/doubledash_mkdir
Add doubledash to mkdir command
2014-09-10 17:34:09 -04:00
Roland Walker
ab4f52a781 docs and error messages for new DSL stanza pkg
transition from `install` to `pkg`
2014-09-10 10:54:06 -04:00
Roland Walker
3b7ce85381 bug: fix container :type => <type>
Copypasta error in #6068 means that container :type
never worked, because it looked for nonexistent container.formula
2014-09-10 09:52:26 -04:00
Roland Walker
0ad22a8990 Add doubledash to mkdir command 2014-09-10 08:17:35 -04:00
Roland Walker
92e15b4a91 cut v0.40.0 2014-09-08 10:28:31 -04:00
Roland Walker
891bff1946 Merge pull request #6071 from rolandwalker/license_ncsa
DSL add NCSA OSS license type
2014-09-08 10:09:45 -04:00
Roland Walker
11e5376090 add NCSA OSS license type
Used for example by LLVM.
2014-09-08 10:06:21 -04:00
Roland Walker
b8523e2603 Merge pull request #6068 from rolandwalker/container_dsl
DSL: change container_type to extensible container
2014-09-08 10:04:28 -04:00
Roland Walker
ca21928b93 DSL: change container_type to extensible container
Late addition to DSL 1.0 (oversight in the roadmap)

References: #4688
2014-09-08 09:01:46 -04:00
Roland Walker
07158e455b Revise gpg stanza order and parameters
References: #5971
2014-09-01 10:04:17 -04:00
Roland Walker
9711ff8672 re-org more files under lib/cask/dsl 2014-08-27 07:50:38 -04:00
Roland Walker
31b778f702 Merge pull request #5923 from rolandwalker/internet_plugin_artifact
add support for internet_plugin artifact
2014-08-26 15:36:33 -04:00
Federico Bond
26275e2659 Merge pull request #5922 from federicobond/fix-info
Show correct GitHub file for casks with similar names
2014-08-26 13:07:10 -03:00
Roland Walker
1b05d18a3b add support for internet_plugin artifact
closes #5909
2014-08-26 11:22:25 -04:00
Federico Bond
b6cc94a8a2 Show correct GitHub file for casks with similar names
Fixes #5915
2014-08-26 11:21:21 -03:00
Federico Bond
4724c32955 Reload QuickLook on plugin uninstall 2014-08-25 14:49:25 -03:00
Roland Walker
45a1b734d7 move tags.rb to dsl/tags.rb 2014-08-23 12:30:59 -04:00
Federico Bond
4fe1bd76d4 Add support for long format in list command 2014-08-20 18:07:39 -03:00
Federico Bond
1b1a7fde17 Merge pull request #5806 from federicobond/conditional-caveats
Avoid printing Caveats title when output is empty
2014-08-19 10:04:43 -03:00
Federico Bond
ab4c5b13e5 Avoid printing Caveats title when output is empty
Closes #4878
2014-08-16 23:09:24 -03:00
Roland Walker
7c9c76c877 Merge pull request #5769 from federicobond/remove-decorator
Remove Cask::Decorator
2014-08-16 12:04:21 -04:00
Roland Walker
4e37017752 Merge pull request #5790 from federicobond/fix-cask-loading
Fix cask loading behavior
2014-08-15 17:06:19 -04:00
Federico Bond
950bc054bd Fix cask loading behavior. Refs #5769 2014-08-15 13:57:43 -03:00
Federico Bond
ff0a5c10e3 Remove Cask::Decorator 2014-08-15 13:00:52 -03:00
Roland Walker
99e75bddfd cut v0.39.3 2014-08-13 07:47:41 -04:00
Roland Walker
b58f2b2da2 Merge pull request #5754 from federicobond/fix-checklinks
Fix Error in checklinks
2014-08-12 16:53:56 -04:00
Federico Bond
2b2f60921c Fix Error in checklinks. Closes #5752 2014-08-12 17:05:00 -03:00
Roland Walker
b65c4963ea cut v0.39.2 2014-08-12 08:17:12 -04:00