{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/38331","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/38331/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/38331/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/38331/events","html_url":"https://github.com/caskroom/homebrew-cask/issues/38331","id":255749259,"number":38331,"title":"Unable to download version specific cask formulae with cask version 1.3.2 ","user":{"login":"keyurp1987","id":26316245,"avatar_url":"https://avatars0.githubusercontent.com/u/26316245?v=4","gravatar_id":"","url":"https://api.github.com/users/keyurp1987","html_url":"https://github.com/keyurp1987","followers_url":"https://api.github.com/users/keyurp1987/followers","following_url":"https://api.github.com/users/keyurp1987/following{/other_user}","gists_url":"https://api.github.com/users/keyurp1987/gists{/gist_id}","starred_url":"https://api.github.com/users/keyurp1987/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keyurp1987/subscriptions","organizations_url":"https://api.github.com/users/keyurp1987/orgs","repos_url":"https://api.github.com/users/keyurp1987/repos","events_url":"https://api.github.com/users/keyurp1987/events{/privacy}","received_events_url":"https://api.github.com/users/keyurp1987/received_events","type":"User","site_admin":false},"labels":[{"id":79449582,"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/awaiting%20maintainer%20feedback","name":"awaiting maintainer feedback","color":"ffdc32","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2017-09-06T21:33:28Z","updated_at":"2017-09-07T03:08:21Z","closed_at":null,"author_association":"NONE","body":"#### General troubleshooting steps\r\n\r\n- [x] I have checked the instructions for [reporting bugs](https://github.com/caskroom/homebrew-cask#reporting-bugs) (or [making requests](https://github.com/caskroom/homebrew-cask#requests)) before opening the issue.\r\n  - [ ] None of the templates was appropriate for my issue, or I’m not sure.\r\n- [x] I ran `brew update-reset && brew update` and retried my command.\r\n- [x] I ran `brew doctor`, fixed as many issues as possible and retried my command.\r\n- [x] I understand that [if I ignore these instructions, my issue may be closed without review](https://github.com/caskroom/homebrew-cask/blob/master/doc/faq/closing_issues_without_review.md).\r\n\r\n#### Description of issue\r\n\r\nUSAGE.md file explains an option to download version specific cask formulae by specifying the exact commit hash in the URL like an example below. \r\n\r\nA curl-retrievable URI to a Cask file, eg: https://raw.githubusercontent.com/caskroom/homebrew-cask/f25b6babcd398abf48e33af3d887b2d00de1d661/Casks/google-chrome.rb\r\n\r\nWith cask version 1.3.2 this is not possible and only works with prior versions of cask. \r\n\r\n#### Output of your command with `--verbose --debug`\r\n```\r\n/usr/local/bin/brew cask install https://raw.githubusercontent.com/caskroom/homebrew-cask/b8fecc9d20d120658e1330d61886b623195d10e4/Casks/java.rb --verbose --debug\r\n==> Downloading https://raw.githubusercontent.com/caskroom/homebrew-cask/b8fecc9d20d120658e1330d61886b623195d10e4/Casks/java.rb.\r\n/usr/bin/curl --show-error --user-agent Homebrew/1.3.2 (Macintosh; Intel Mac OS X 10.12.6) curl/7.54.0 --fail --location --remote-time --continue-at - --output /Users/bambooagent/Library/Caches/Homebrew/Cask/java.rb https://raw.githubusercontent.com/caskroom/homebrew-cask/b8fecc9d20d120658e1330d61886b623195d10e4/Casks/java.rb\r\n** Resuming transfer from byte position 5301\r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0\r\ncurl: (22) The requested URL returned error: 416\r\nError: Cask 'java' is unavailable: Failed to download https://raw.githubusercontent.com/caskroom/homebrew-cask/b8fecc9d20d120658e1330d61886b623195d10e4/Casks/java.rb.\r\nError: Install incomplete.\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/install.rb:13:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli/abstract_command.rb:35:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:97:in `run_command'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:167:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'\r\nError: Kernel.exit\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in `exit'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:172:in `rescue in run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:155:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:131:in `run'\r\n/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:8:in `cask'\r\n/usr/local/Homebrew/Library/Homebrew/brew.rb:95:in `<main>'\r\n```\r\n#### Output of `brew cask doctor`\r\n```\r\nbrew cask doctor\r\n==> Homebrew-Cask Version\r\nHomebrew-Cask 1.3.2-13-g5b04152\r\ncaskroom/homebrew-cask (git revision 8f5fc; last commit 2017-09-07)\r\n==> Homebrew-Cask Install Location\r\n<NONE>\r\n==> Homebrew-Cask Staging Location\r\n/usr/local/Caskroom\r\n==> Homebrew-Cask Cached Downloads\r\n~/Library/Caches/Homebrew/Cask (5 files, 565.3MB)\r\n==> Homebrew-Cask Taps:\r\n/usr/local/Homebrew/Library/Taps/caskroom/homebrew-cask (3721 casks)\r\n==> Contents of $LOAD_PATH\r\n/usr/local/Homebrew/Library/Homebrew/cask/lib\r\n/usr/local/Homebrew/Library/Homebrew\r\n/Library/Ruby/Site/2.0.0\r\n/Library/Ruby/Site/2.0.0/x86_64-darwin16\r\n/Library/Ruby/Site/2.0.0/universal-darwin16\r\n/Library/Ruby/Site\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/x86_64-darwin16\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby/2.0.0/universal-darwin16\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/vendor_ruby\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/x86_64-darwin16\r\n/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/universal-darwin16\r\n==> Environment Variables\r\nLANG=\"en_US.UTF-8\"\r\nPATH=\"~/.nvm/versions/node/v6.10.3/bin:~/.rbenv/shims:~/.rbenv/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/Homebrew/Library/Homebrew/shims/scm\"\r\nSHELL=\"/bin/bash\"\r\n```"},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/327671127","html_url":"https://github.com/caskroom/homebrew-cask/issues/38331#issuecomment-327671127","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/38331","id":327671127,"user":{"login":"commitay","id":26216252,"avatar_url":"https://avatars3.githubusercontent.com/u/26216252?v=4","gravatar_id":"","url":"https://api.github.com/users/commitay","html_url":"https://github.com/commitay","followers_url":"https://api.github.com/users/commitay/followers","following_url":"https://api.github.com/users/commitay/following{/other_user}","gists_url":"https://api.github.com/users/commitay/gists{/gist_id}","starred_url":"https://api.github.com/users/commitay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/commitay/subscriptions","organizations_url":"https://api.github.com/users/commitay/orgs","repos_url":"https://api.github.com/users/commitay/repos","events_url":"https://api.github.com/users/commitay/events{/privacy}","received_events_url":"https://api.github.com/users/commitay/received_events","type":"User","site_admin":false},"created_at":"2017-09-07T03:08:21Z","updated_at":"2017-09-07T03:08:21Z","author_association":"MEMBER","body":"Ping @reitermarkus"}}
{"actor":{"display_login":"commitay"}}