{"action":"created","issue":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22002","repository_url":"https://api.github.com/repos/caskroom/homebrew-cask","labels_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22002/labels{/name}","comments_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22002/comments","events_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22002/events","html_url":"https://github.com/caskroom/homebrew-cask/pull/22002","id":160470373,"number":22002,"title":"Fixed Recognition of Compression Types in macOS Sierra","user":{"login":"jellyfishcoder","id":6530647,"avatar_url":"https://avatars.githubusercontent.com/u/6530647?v=3","gravatar_id":"","url":"https://api.github.com/users/jellyfishcoder","html_url":"https://github.com/jellyfishcoder","followers_url":"https://api.github.com/users/jellyfishcoder/followers","following_url":"https://api.github.com/users/jellyfishcoder/following{/other_user}","gists_url":"https://api.github.com/users/jellyfishcoder/gists{/gist_id}","starred_url":"https://api.github.com/users/jellyfishcoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jellyfishcoder/subscriptions","organizations_url":"https://api.github.com/users/jellyfishcoder/orgs","repos_url":"https://api.github.com/users/jellyfishcoder/repos","events_url":"https://api.github.com/users/jellyfishcoder/events{/privacy}","received_events_url":"https://api.github.com/users/jellyfishcoder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/awaiting%20maintainer%20feedback","name":"awaiting maintainer feedback","color":"ffdc00"},{"url":"https://api.github.com/repos/caskroom/homebrew-cask/labels/core","name":"core","color":"b10dc9"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":26,"created_at":"2016-06-15T16:49:26Z","updated_at":"2016-06-18T13:18:42Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/pulls/22002","html_url":"https://github.com/caskroom/homebrew-cask/pull/22002","diff_url":"https://github.com/caskroom/homebrew-cask/pull/22002.diff","patch_url":"https://github.com/caskroom/homebrew-cask/pull/22002.patch"},"body":"### Changes to Detecting Package Compression Method, Fixes Errors in macOS Sierra\r\n\r\n- [x] Followed [hacking.md](https://github.com/caskroom/homebrew-cask/blob/master/doc/development/hacking.md).\r\n\r\nIn macOS Sierra, recognising the packages compression with `criteria.file.include?`, yields the wonderful message `Error: Uh oh, could not figure out how to unpack '/Users/.../Library/Caches/Homebrew/filezilla-3.18.0.tar.bz2'`. This fix adds the ability to also recognise them by file extensions, which unless the packages extension does not match its type (unlikely), works all the time. The original detection method is still present, `or` statements are used between each detection method."},"comment":{"url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/comments/226942064","html_url":"https://github.com/caskroom/homebrew-cask/pull/22002#issuecomment-226942064","issue_url":"https://api.github.com/repos/caskroom/homebrew-cask/issues/22002","id":226942064,"user":{"login":"claui","id":1239874,"avatar_url":"https://avatars.githubusercontent.com/u/1239874?v=3","gravatar_id":"","url":"https://api.github.com/users/claui","html_url":"https://github.com/claui","followers_url":"https://api.github.com/users/claui/followers","following_url":"https://api.github.com/users/claui/following{/other_user}","gists_url":"https://api.github.com/users/claui/gists{/gist_id}","starred_url":"https://api.github.com/users/claui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/claui/subscriptions","organizations_url":"https://api.github.com/users/claui/orgs","repos_url":"https://api.github.com/users/claui/repos","events_url":"https://api.github.com/users/claui/events{/privacy}","received_events_url":"https://api.github.com/users/claui/received_events","type":"User","site_admin":false},"created_at":"2016-06-18T13:18:42Z","updated_at":"2016-06-18T13:18:42Z","body":"Thanks @lachlanhunt for your very thorough investigation, including trying an actual FreeBSD installation. Great findings everybody!\r\n\r\nI just filed a [Radar bug](http://www.openradar.me/radar?id=5621832178728960), too. Given how Apple’s internal prioritization allegedly works, multiple reports cannot hurt at all.\r\n\r\n(By the way, I wonder whether Apple is aware of Homebrew-Cask, and whether they consider it a partial competitor to the Mac App Store? Anyway, I was cautious not to mention HBC – just in case, lest they deprioritize the issue for strategic reasons.)\r\n"}}
{"actor":{"display_login":"claui"}}