Roland Walker
290d1ccb38
ChecksumMismatchError is ordinary exception
...
not a bug
2014-06-02 23:26:19 -04:00
Roland Walker
1b9df93e20
no need to catch CaskAlreadyInstalledError
...
separately; it is already descended from CaskError
2014-06-02 23:24:59 -04:00
Roland Walker
d4fb446830
Merge pull request #4603 from rolandwalker/doctor_homebrew_origin
...
show Homebrew repo & origin in doctor
2014-05-31 15:19:37 -04:00
Roland Walker
9fdc5b3fd9
show Homebrew repo & origin in doctor
...
references: #4581 , #4571
2014-05-31 07:58:22 -04:00
Roland Walker
f71ed25ee0
rescue download failure; don't show traceback
...
instead, give a more specific error message. Closes #4556 .
2014-05-26 15:56:35 -04:00
Roland Walker
5b2e9d1466
doc/comment: known performance issues
2014-05-15 16:52:41 -04:00
Roland Walker
3c40e82c18
generate installed list only once during list cmd
2014-05-15 16:52:17 -04:00
Roland Walker
c3e514defe
optimize Cask.installed by guessing full paths
2014-05-15 16:50:42 -04:00
Roland Walker
598f53ba48
memoize all_tapped_cask_dirs
2014-05-15 16:49:43 -04:00
Roland Walker
03af4f45a1
make cask_titles hold Pathnames, not strings
2014-05-15 16:38:35 -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
abd66acba1
Merge pull request #4370 from rolandwalker/uninstall_signal
...
add `:signal` directive for `uninstall`
2014-05-14 06:26:49 -04:00
Roland Walker
d4c89509c2
Merge pull request #4382 from rolandwalker/no_doubledash_launchctl_remove
...
don't use doubledash on launchctl remove
2014-05-14 06:26:27 -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
5101d363ab
append the .rb extension on Cask::Source::Path
...
Unless `.rb` is already present on the query string. Failure
to append the extension caused confusing effects, including
selective failure of "brew cask list" when invoked from
`/usr/local/bin` working directory. Fixes #4077 .
Credit to @mroth on the detective work.
2014-05-13 09:04:14 -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
0808c0f3f9
handle Tap read error in `brew cask doctor`
2014-05-08 14:53:30 -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
89082904c4
cut v0.35.0
2014-05-08 07:48:34 -04:00
Roland Walker
dd5d767b18
Merge pull request #4244 from rolandwalker/toplevel_dir_permissions
...
special case permissions when creating `/opt`
2014-05-07 22:36:42 -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
Atsushi Nagase
186e2592df
Moved garmin-express.rb to correct location
2014-05-08 00:47:23 +09:00
Roland Walker
1fe644f84f
special case permissions when creating `/opt`
...
or any other toplevel directory. Closes #4187
2014-05-07 10:56:04 -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
Roland Walker
89bf98ce6d
Merge pull request #4241 from rolandwalker/cat_tweaks
...
light changes to "brew cask cat"
2014-05-07 09:33:52 -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
Roland Walker
fe99823d84
Merge pull request #4226 from rolandwalker/handle_nil_in_checklinks
...
handle `nil` `@response_status`
2014-05-07 08:38:24 -04:00
Roland Walker
e1ee7b118d
Merge pull request #4200 from linc01n/cli_cat
...
Add `brew cask cat` command
2014-05-07 08:29:30 -04:00
Roland Walker
f80afb8684
handle nil @response_status
...
fixes #4212
2014-05-06 09:13:49 -04:00
Atsushi Nagase
4e1d4cbd0e
Added Garmin Express
2014-05-06 06:28:37 +09:00
Lincoln Lee
227ac512bc
Add `brew cask cat` command mentioned in #4018
2014-05-05 22:46:28 +08:00
Paul Hinze
767be2b4b0
cut v0.34.0
2014-05-04 18:53:58 -05:00
Paul Hinze
9e2641b851
Merge pull request #2427 from rolandwalker/checksum_error_help
...
Give the user help on checksum errors
2014-05-04 18:27:20 -05:00
Roland Walker
fb1300366e
automatically transition to new Tap name/location
...
At every command execution
- invoke `rename_taps_dir_if_necessary` to help with Homebrew's Tap migration.
(Homebrew's migration seems to sometimes fail to fire, see #4096 )
- untap `phinze/cask`, and tap `caskroom/cask`, to help with our own move
to a GitHub organization
After a few months, this can be reverted.
2014-05-03 16:24:00 -04: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
90bba2cf00
cut v0.33.1
2014-04-29 09:49:12 -04: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
Lincoln Lee
5faa850690
Remove ISSUES_URL from cli commands
...
When user run `brew cask` it will list all commands out.
There is a blank help command call issues_url which caused by the newly
introduced constant from #2971
2014-04-27 17:49:01 +08:00
Roland Walker
1f69c04cd6
cut v0.33.0
2014-04-26 09:59:40 -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
Võ Anh Duy
0fb893027d
Redirect user to cask issues page, fixes #1251
2014-04-19 20:21:48 +07:00
Roland Walker
af3fe61ae5
cut v0.32.0
2014-03-29 09:04:25 -04:00