Commit graph

1074 commits

Author SHA1 Message Date
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
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
0652a39eb8 Merge pull request #3700 from rolandwalker/assistive_devices_caveat
add `assistive_devices` to `caveats` DSL
2014-03-28 09:33:00 -04:00
Roland Walker
af103f1486 add zsh_path_helper to caveats DSL
Per discussion in #3597 and Homebrew/homebrew#25719
2014-03-27 09:42:33 -04:00
Roland Walker
9554b58245 add assistive_devices to caveats DSL
Inspired by #3695
2014-03-27 09:41:20 -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
0938a9d862 cut v0.31.1 2014-03-17 10:11:50 -04:00
Roland Walker
266718d047 don't downcase a Pathname object
Fixes #3572.
2014-03-17 09:56:22 -04:00
Roland Walker
008b96353d cut v0.31.0 2014-03-15 10:30:37 -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
e8bd3465fe respect digits in search strings
Fixes #3533
2014-03-14 08:48:43 -04:00
Roland Walker
ba8473a766 explicitly unload :launchctl service before remove 2014-03-14 08:41:18 -04:00
Roland Walker
f5318395eb Merge pull request #3518 from rolandwalker/casecmp_fixes
fix some erroneous uses of `casecmp`
2014-03-12 19:15:37 -04:00
Roland Walker
ba8d9ba4b5 fix some erroneous uses of casecmp
`casecmp` returns -1/0/1, never false or nil
2014-03-12 10:40:11 -04:00
Roland Walker
21e18b8a37 only set filesystem metadata if :target != source
fixing a bug in the implementation of #3073 which caused
metadata to be set in all cases.
2014-03-12 10:26:38 -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
bf6ce149cf Merge pull request #3217 from rolandwalker/multiple_args_to_pkgutil
accept multiple arguments to uninstall/:pkgutil
2014-03-04 10:30:00 -05:00
Roland Walker
96dfc573b1 Merge pull request #2672 from rolandwalker/lsb_no_delete_safety
BUGFIX: don't try autocleanup inside system dirs
2014-03-03 09:30:09 -05:00
Roland Walker
655f50b064 cut v0.30.1 2014-03-02 10:30:23 -05:00
Roland Walker
15a4ca92e9 test if lsar is nil before attempting split
fixes #3332
2014-03-02 10:22:03 -05:00