Commit graph

142 commits

Author SHA1 Message Date
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
bd30615a88 collect_concat is not available in Ruby 1.8
`collect` is fine here. References #4719.
plus bugfix: join into a string so that `render_with_none`
knows to substitute "<NONE>"
2014-06-06 21:48:37 -04:00
Roland Walker
abe4428cb6 add $SHELL to doctor 2014-06-06 14:15:48 -04:00
Roland Walker
40215968ef add $CHRUBY_VERSION to doctor 2014-06-06 14:15:34 -04:00
Roland Walker
50841d3f86 whitespace 2014-06-06 11:34:45 -04:00
Roland Walker
c857f11965 add PATH to doctor 2014-06-06 11:33:15 -04:00
Roland Walker
a9121320f8 add render_env_var in doctor
add quoting
2014-06-06 11:32:15 -04:00
Roland Walker
e6e5626bbc warning on old-style tap paths in doctor 2014-06-06 11:25:35 -04:00
Roland Walker
796104b786 move homebrew_origin to method in doctor 2014-06-06 11:08:19 -04:00
Roland Walker
6a7cda5c24 move default_cask_count to method in doctor 2014-06-06 11:08:19 -04:00
Roland Walker
8388d1c3ac move alt_taps to method in doctor 2014-06-06 11:08:18 -04:00
Roland Walker
c354e53cc3 move fq_default_tap to method in doctor 2014-06-06 11:08:18 -04:00
Roland Walker
8a5ad08dc8 move privledged_uid to method in doctor 2014-06-06 11:08:18 -04:00
Roland Walker
9f2c773ed6 move notfound_string to method 2014-06-06 11:00:32 -04:00
Roland Walker
fc9e7299ed add locale variables to doctor
references: #4677
2014-06-06 11:00:32 -04:00
Roland Walker
f6011c85c9 render empty doctor values with <NONE> 2014-06-06 10:37:01 -04:00
Roland Walker
1400b61acf abstract error_string in doctor 2014-06-06 10:36:56 -04:00
Roland Walker
a517e25acd abstract none_string in doctor 2014-06-06 10:36:46 -04:00
Roland Walker
9fdc5b3fd9 show Homebrew repo & origin in doctor
references: #4581, #4571
2014-05-31 07:58:22 -04:00
Roland Walker
3c40e82c18 generate installed list only once during list cmd 2014-05-15 16:52:17 -04:00
Roland Walker
d0db956d69 refactor brew cask doctor
Output remains the same (except in the case of error).
Wrap all calculations in begin blocks for safety, provide fallback
values for all variables, don't use ohai+puts when ohai is
sufficient
2014-05-15 12:55:23 -04:00
Roland Walker
0808c0f3f9 handle Tap read error in brew cask doctor 2014-05-08 14:53:30 -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
31ce4bd4cd light changes to "brew cask cat"
tone down strident comment imported from Homebrew, whitespace, misc
2014-05-07 09:18:03 -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
d73b8089c6 Merge pull request #4095 from rolandwalker/doctor_tap_paths
add Tap path info to `brew cask doctor`
2014-04-29 09:39:36 -04:00
Roland Walker
c7ec83c068 add Tap path info to brew cask doctor 2014-04-29 09:30:06 -04:00
Roland Walker
75d6859195 better handle renamed Casks in brew cask info
Fixes #4058
2014-04-29 08:57:44 -04:00
Roland Walker
f7a209d133 Merge pull request #4042 from rolandwalker/tap_location_change
Adapt to homebrew's move of the tap directory
2014-04-26 09:47:03 -04: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
836b3ce699 avoid exit code with no Casks are installed
and no argument is give to `brew cask list`.  Fixes #3881.
2014-04-25 10:56:45 -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
f1620a56f5 make brew cask audit return error code on fail
Per report in #3655
2014-03-25 09:09:49 -04:00
Roland Walker
e8bd3465fe respect digits in search strings
Fixes #3533
2014-03-14 08:48:43 -04:00
Roland Walker
c95a7f2534 suggest replacements on "brew cask install" fail 2014-03-01 15:04:12 -05: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
36cd9e4d72 accept and ignore trailing .rb on CL arguments
"Be conservative in what you do, be liberal in what you accept."
2014-02-25 18:24:58 -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
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
Roland Walker
45d72b8838 Merge pull request #3079 from rolandwalker/brew_cask_update
make `brew cask update` synonym for `brew update`
2014-02-24 19:08:02 -05:00
Roland Walker
6f6a07fc0f mass whitespace cleanup 2014-02-22 21:13:52 -05:00
Roland Walker
55e9cfc39d make brew cask update synonym for brew update
for convenience/typo
2014-02-21 10:23:16 -05:00
Roland Walker
d2b779e509 temporary hack: suppress searching the font tap
this is needed to reduce noise on searches until search
can be made more configurable
2014-02-19 09:21:30 -05:00