Roland Walker
1c72aa0c64
Merge pull request #4948 from rolandwalker/test_repo_layout
...
add tests for expected layout of files in repo
2014-06-18 09:46:01 -04:00
Roland Walker
ad4989416a
add tests for expected layout of files in repo
...
References: #4914
2014-06-17 09:06:43 -04:00
Roland Walker
3cb729095d
suggested (not enforced) order for Cask stanzas
...
References: #4914
2014-06-16 13:32:08 -04:00
Roland Walker
4f3ecb1cc3
Downgrade Cask install errors to warnings
...
Including the case where a Cask is already installed.
Always continue installing when multiple Casks are specified,
only raising an exception at the end of the command (if some
portion of the attempted install actions failed). Never
exit with an error code if "already installed" was the only
problem seen during the run.
Also tweak error messages.
Fixes #1347 , #2677 , #4785
Required disabling two tests regarding suggestions on Cask
spelling errors.
2014-06-10 12:13:59 -04:00
Roland Walker
d8ad14aaa5
Merge pull request #4757 from rolandwalker/https_in_create
...
prompt for HTTPS URLs in `brew cask create`
2014-06-07 15:35:45 -04:00
Roland Walker
154eb2b12f
prompt for HTTPS URLs in `brew cask create`
2014-06-07 14:36:35 -04:00
Roland Walker
f0ea05316d
Merge pull request #4743 from NanoXD/add_versioned_cask_with_no_checksum_test
...
Add audit for versioned casks with no checksum
2014-06-07 13:51:11 -04:00
Roland Walker
cf89f7f7e8
regularize whitespace
2014-06-07 11:43:40 -04:00
Fernando Paredes
a4d479c3c4
Add audit for versioned casks with no checksum
...
* Check if version is not latest and has a sha256 :no_check for checksum
2014-06-06 21:22:19 -07:00
Fernando Paredes
b767f9f1e6
Add OS X 10.10 as a known OS version
...
* In Yosemite the tests failed for being unknown
2014-06-06 10:56:41 -07:00
Roland Walker
0ef4606e0c
retire support for `no_checksum` stanza
2014-06-04 23:26:09 -04:00
Roland Walker
abd66acba1
Merge pull request #4370 from rolandwalker/uninstall_signal
...
add `:signal` directive for `uninstall`
2014-05-14 06:26:49 -04:00
Roland Walker
6815ef272e
don't use doubledash on launchctl remove
...
it appears to be incorrect here: removal of jobs is hindered
2014-05-13 18:52:35 -04:00
Roland Walker
b38d6a6977
add `:signal` directive for `uninstall`
...
to send arbitrary Unix signals. Per discussion in #4328 , some
processes are resistant to the `:quit` directive, and can be
made to shut down via a signal.
2014-05-13 13:04:10 -04:00
Roland Walker
cfc6ae7a13
Merge pull request #4264 from rolandwalker/retire_sha1
...
Retire support for `sha1` stanza.
2014-05-08 18:37:00 -04:00
Roland Walker
25c7ee5962
Re-enable failing "search" test
...
This test used to selectively fail only on Travis. The problem
was never isolated. However, it was apparently recently fixed,
probably in #4042 .
2014-05-08 16:05:35 -04:00
Roland Walker
34df5309d4
Retire support for `sha1` stanza.
...
We haven't received new submissions using `sha1` for quite
some time.
2014-05-08 12:01:32 -04:00
Roland Walker
c436ddc5fd
transition docs/tests/messages to sha256 :no_check
...
`sha256 :no_check` has been supported syntax for a couple of months,
and now is being transitioned to the preferred syntax, replacing
the `no_checksum` stanza (which will still be supported, but
deprecated)
2014-05-08 08:42:44 -04:00
Roland Walker
4f82dda065
Merge pull request #4242 from rolandwalker/cat_documentation
...
update docs and messages for `brew cask cat`
2014-05-07 22:34:07 -04:00
Roland Walker
e910467b39
update docs and messages for `brew cask cat`
2014-05-07 10:32:15 -04:00
Roland Walker
e9f6c196f8
Merge pull request #4229 from rolandwalker/defend_unusual_homebrew
...
Defend against unusual Homebrew setups
2014-05-07 10:12:58 -04:00
Roland Walker
0153c19f7a
Defend against unusual Homebrew setups
...
To aid in Tap transition. Require Homebrew 0.9.5, rescue
`rename_tags_dir_if_necessary` (`respond_to?` won't work there
because `rename_tags_dir_if_necessary` is a private method.
References: #4192 , @Jackiebo in #4096
2014-05-07 09:50:42 -04:00
Lincoln Lee
227ac512bc
Add `brew cask cat` command mentioned in #4018
2014-05-05 22:46:28 +08:00
Paul Hinze
f54eaf7082
update all references to new caskroom org home
...
global replace of:
'phinze/homebrew-cask' -> 'caskroom/homebrew-cask'
'phinze/cask' -> 'caskroom/cask'
'phinze/homebrew-testcasks' -> 'caskroom/homebrew-testcasks'
and various other specific places that needed updates
<3 the homebrew-cask community!
2014-05-03 10:29:17 -05:00
Roland Walker
400433be20
Adapt to homebrew's move of the tap directory
...
Closes #4035 . Closes #4029 . Closes #4026 .
2014-04-26 09:42:16 -04:00
Roland Walker
5bc2b62b25
Merge pull request #3667 from rolandwalker/artifacts_in_info
...
display artifact summary in `brew cask info`
2014-03-28 09:33:23 -04:00
Roland Walker
5c8640d6fe
Merge pull request #2706 from rolandwalker/install_suggest
...
suggest replacements on "brew cask install" fail
2014-03-27 08:51:13 -04:00
Roland Walker
421eafaec8
display artifact summary in `brew cask info`
...
Per discussion with @drew-gross in closed issue #3280 .
Limitation: does not show link targets.
2014-03-26 08:55:58 -04:00
Roland Walker
be255dcdbc
Merge pull request #3515 from rolandwalker/unload_service
...
explicitly unload :launchctl service before remove
2014-03-14 21:12:14 -04:00
Roland Walker
815168546a
update test suite to use sha256
...
also convert no_checksum to sha256 :no_check in some cases
2014-03-14 09:24:53 -04:00
Roland Walker
ba8473a766
explicitly unload :launchctl service before remove
2014-03-14 08:41:18 -04:00
Roland Walker
a8acf3de1a
bugfix: preserve resource forks when unzipping
...
Use the unarchiving ability built into the `ditto` utility,
rather explicitly calling the `unzip` utility. Fixes
caskroom/homebrew-fonts#90 .
2014-03-11 08:46:38 -04:00
Pedro Silva
e58f3f89ca
add new CurlPostDownloadStrategy
...
- lib/cask/url.rb: initialize(): add new `:data` attribute to hold post parameters
- lib/cask/download.rb: perform(): dispatch to new class based on `:using => :post`
- lib/cask/download_strategy.rb: Cask::CurlPostDownloadStrategy:
extend curl_args with x-www-form-urlencoded data
- doc/CASK_LANGUAGE_REFERENCE.md: HTTP URLs: document new strategy
- test/cask/test_download_strategy.rb: Cask::CurlPostDownloadStrategy: test new strategy
2014-03-07 20:51:35 +01:00
Roland Walker
726a650ebd
Merge pull request #3106 from rolandwalker/emojii
...
Emoji and disk usage stats at install success
2014-03-06 21:40:37 -05:00
Roland Walker
c95a7f2534
suggest replacements on "brew cask install" fail
2014-03-01 15:04:12 -05:00
Roland Walker
17be66076d
remove constant HOMEBREW_TAP_FORMULA_REGEX
...
we no longer need to set this, as Homebrew added it to
testing_env.rb
2014-03-01 11:42:49 -05:00
Roland Walker
c805b2b328
provide fallback setting for homebrew_path
...
this cannot hurt, and fixed a local problem
2014-03-01 11:40:54 -05:00
Paul Hinze
c0f470cd55
Merge pull request #3011 from rolandwalker/force_container_type
...
ability to specify container type, not detect
2014-02-28 09:23:01 -06:00
Ko-Chih Wu
59e3b183e2
Fix broken `brew cask alfred link`
...
- Remove quotes from `defaults write` args. With quotes the value is
written as a string instead of a dictionary, which breaks the search
scope in alfred.
- Make the default scope consistent with alfred default
2014-02-28 01:00:00 -08:00
Roland Walker
6dd21fbe77
rename intellij-idea-community.rb
...
to intellij-idea-ce.rb
per naming rules in CONTRIBUTING.md
2014-02-26 09:48:48 -05:00
Roland Walker
d5872b20a2
rename intellij-idea-ultimate.rb
...
to intellij-idea.rb
per naming rules in CONTRIBUTING.md
2014-02-26 08:59:42 -05:00
Roland Walker
bf49dc9fa8
ability to specify container type, not detect
...
Fixes #2997 . Interface is optional DSL stanza `container_type`.
This should only be used in rare instances. It is needed for the
case of a naked executable which should not be unpacked.
2014-02-25 16:39:12 -05:00
Roland Walker
c7e0e5b2e5
support Bzip2 containers
...
bzips of tarballs are already supported via `tar`. This
adds support for a single file asset within a bzip2 container.
2014-02-25 16:36:36 -05:00
Roland Walker
9fa39c2681
add support for RAR containers
...
this will not pass Travis until #2744 is merged
2014-02-25 16:29:24 -05:00
Roland Walker
76eab0ad8a
Merge pull request #3040 from rolandwalker/stuffit_containers
...
add support for Stuffit containers
2014-02-25 16:27:16 -05:00
Roland Walker
d639889a3a
temporary hack to for travis while test is fixed
2014-02-25 13:11:49 -05:00
Roland Walker
fe90e266f5
Merge pull request #2705 from rolandwalker/search_exact
...
Divide search output into sections
2014-02-25 12:59:53 -05:00
Roland Walker
b90633d92a
add support for Stuffit containers
...
This will not pass Travis until #2744 is merged
2014-02-25 12:54:49 -05:00
Roland Walker
76602af5cf
Merge pull request #2744 from rolandwalker/sevenzip_containers
...
Add 7z container support
2014-02-25 12:51:21 -05:00
Võ Anh Duy
33a97a1a5f
CLI - Fetch
...
Add `fetch` command to cli like suggestion at the end of #2528
2014-02-26 00:44:22 +07:00