{"action":"created","issue":{"url":"https://api.github.com/repos/rvm/rvm2_02/issues/11","labels_url":"https://api.github.com/repos/rvm/rvm2_02/issues/11/labels{/name}","comments_url":"https://api.github.com/repos/rvm/rvm2_02/issues/11/comments","events_url":"https://api.github.com/repos/rvm/rvm2_02/issues/11/events","html_url":"https://github.com/rvm/rvm2_02/pull/11","id":71991266,"number":11,"title":"Add unzip plugin","user":{"login":"schultyy","id":235808,"avatar_url":"https://avatars.githubusercontent.com/u/235808?v=3","gravatar_id":"","url":"https://api.github.com/users/schultyy","html_url":"https://github.com/schultyy","followers_url":"https://api.github.com/users/schultyy/followers","following_url":"https://api.github.com/users/schultyy/following{/other_user}","gists_url":"https://api.github.com/users/schultyy/gists{/gist_id}","starred_url":"https://api.github.com/users/schultyy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/schultyy/subscriptions","organizations_url":"https://api.github.com/users/schultyy/orgs","repos_url":"https://api.github.com/users/schultyy/repos","events_url":"https://api.github.com/users/schultyy/events{/privacy}","received_events_url":"https://api.github.com/users/schultyy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-29T21:15:15Z","updated_at":"2015-04-29T22:09:03Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/rvm/rvm2_02/pulls/11","html_url":"https://github.com/rvm/rvm2_02/pull/11","diff_url":"https://github.com/rvm/rvm2_02/pull/11.diff","patch_url":"https://github.com/rvm/rvm2_02/pull/11.patch"},"body":"I put together a basic unzip plugin which extracts the complete archive to a temp directory. For now it puts it below `~/tmp` for convenience but this should change in a future PR.\r\n\r\nI'm not 100% sure how to test the unzip class, for now in the application spec I stubbed the method to make the tests pass."},"comment":{"url":"https://api.github.com/repos/rvm/rvm2_02/issues/comments/97602154","html_url":"https://github.com/rvm/rvm2_02/pull/11#issuecomment-97602154","issue_url":"https://api.github.com/repos/rvm/rvm2_02/issues/11","id":97602154,"user":{"login":"mpapis","id":48054,"avatar_url":"https://avatars.githubusercontent.com/u/48054?v=3","gravatar_id":"","url":"https://api.github.com/users/mpapis","html_url":"https://github.com/mpapis","followers_url":"https://api.github.com/users/mpapis/followers","following_url":"https://api.github.com/users/mpapis/following{/other_user}","gists_url":"https://api.github.com/users/mpapis/gists{/gist_id}","starred_url":"https://api.github.com/users/mpapis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpapis/subscriptions","organizations_url":"https://api.github.com/users/mpapis/orgs","repos_url":"https://api.github.com/users/mpapis/repos","events_url":"https://api.github.com/users/mpapis/events{/privacy}","received_events_url":"https://api.github.com/users/mpapis/received_events","type":"User","site_admin":false},"created_at":"2015-04-29T22:09:03Z","updated_at":"2015-04-29T22:09:03Z","body":"I would use here another set of plugins for extracting they would use (for example) [first_ask](https://github.com/rvm/pluginator/blob/master/test/plugins_test/extensions/first_ask_test.rb) to check if the file can be extracted with given plugins ... not sure about priorities here, because you can add extra plugins to extract files with additional changes so it should not be only first ask, but all that can handle it and then the one that has highest priority, most likely new type of plugin"}}