{"action":"opened","number":476,"pull_request":{"url":"https://api.github.com/repos/spotify/docker-client/pulls/476","id":78318325,"html_url":"https://github.com/spotify/docker-client/pull/476","diff_url":"https://github.com/spotify/docker-client/pull/476.diff","patch_url":"https://github.com/spotify/docker-client/pull/476.patch","issue_url":"https://api.github.com/repos/spotify/docker-client/issues/476","number":476,"state":"open","locked":false,"title":"Change return type of DockerClient.archiveContainer() to plain InputStream","user":{"login":"bentmann","id":138698,"avatar_url":"https://avatars.githubusercontent.com/u/138698?v=3","gravatar_id":"","url":"https://api.github.com/users/bentmann","html_url":"https://github.com/bentmann","followers_url":"https://api.github.com/users/bentmann/followers","following_url":"https://api.github.com/users/bentmann/following{/other_user}","gists_url":"https://api.github.com/users/bentmann/gists{/gist_id}","starred_url":"https://api.github.com/users/bentmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentmann/subscriptions","organizations_url":"https://api.github.com/users/bentmann/orgs","repos_url":"https://api.github.com/users/bentmann/repos","events_url":"https://api.github.com/users/bentmann/events{/privacy}","received_events_url":"https://api.github.com/users/bentmann/received_events","type":"User","site_admin":false},"body":"While I appreciate the feature addition from 23f3c29ae7205d2b4f483a1a4df7db6025774f2f, I question the new method signature. Handing out a `TarArchiveInputStream` makes assumptions about the caller's use case and limits the general usability of the new API. Wrapping a plain input stream into a `TarArchiveInputStream` is easy to do in calling code, the opposite however of getting to the plain stream (e.g. to simply write it out to disk) from `TarArchiveInputStream` is not.","created_at":"2016-07-21T13:45:41Z","updated_at":"2016-07-21T13:45:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spotify/docker-client/pulls/476/commits","review_comments_url":"https://api.github.com/repos/spotify/docker-client/pulls/476/comments","review_comment_url":"https://api.github.com/repos/spotify/docker-client/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spotify/docker-client/issues/476/comments","statuses_url":"https://api.github.com/repos/spotify/docker-client/statuses/32760ad136b82381de18b04fe14935e22710256c","head":{"label":"bentmann:master","ref":"master","sha":"32760ad136b82381de18b04fe14935e22710256c","user":{"login":"bentmann","id":138698,"avatar_url":"https://avatars.githubusercontent.com/u/138698?v=3","gravatar_id":"","url":"https://api.github.com/users/bentmann","html_url":"https://github.com/bentmann","followers_url":"https://api.github.com/users/bentmann/followers","following_url":"https://api.github.com/users/bentmann/following{/other_user}","gists_url":"https://api.github.com/users/bentmann/gists{/gist_id}","starred_url":"https://api.github.com/users/bentmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentmann/subscriptions","organizations_url":"https://api.github.com/users/bentmann/orgs","repos_url":"https://api.github.com/users/bentmann/repos","events_url":"https://api.github.com/users/bentmann/events{/privacy}","received_events_url":"https://api.github.com/users/bentmann/received_events","type":"User","site_admin":false},"repo":{"id":63871753,"name":"docker-client","full_name":"bentmann/docker-client","owner":{"login":"bentmann","id":138698,"avatar_url":"https://avatars.githubusercontent.com/u/138698?v=3","gravatar_id":"","url":"https://api.github.com/users/bentmann","html_url":"https://github.com/bentmann","followers_url":"https://api.github.com/users/bentmann/followers","following_url":"https://api.github.com/users/bentmann/following{/other_user}","gists_url":"https://api.github.com/users/bentmann/gists{/gist_id}","starred_url":"https://api.github.com/users/bentmann/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bentmann/subscriptions","organizations_url":"https://api.github.com/users/bentmann/orgs","repos_url":"https://api.github.com/users/bentmann/repos","events_url":"https://api.github.com/users/bentmann/events{/privacy}","received_events_url":"https://api.github.com/users/bentmann/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/bentmann/docker-client","description":"A simple docker client for the JVM","fork":true,"url":"https://api.github.com/repos/bentmann/docker-client","forks_url":"https://api.github.com/repos/bentmann/docker-client/forks","keys_url":"https://api.github.com/repos/bentmann/docker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bentmann/docker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bentmann/docker-client/teams","hooks_url":"https://api.github.com/repos/bentmann/docker-client/hooks","issue_events_url":"https://api.github.com/repos/bentmann/docker-client/issues/events{/number}","events_url":"https://api.github.com/repos/bentmann/docker-client/events","assignees_url":"https://api.github.com/repos/bentmann/docker-client/assignees{/user}","branches_url":"https://api.github.com/repos/bentmann/docker-client/branches{/branch}","tags_url":"https://api.github.com/repos/bentmann/docker-client/tags","blobs_url":"https://api.github.com/repos/bentmann/docker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bentmann/docker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bentmann/docker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/bentmann/docker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bentmann/docker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/bentmann/docker-client/languages","stargazers_url":"https://api.github.com/repos/bentmann/docker-client/stargazers","contributors_url":"https://api.github.com/repos/bentmann/docker-client/contributors","subscribers_url":"https://api.github.com/repos/bentmann/docker-client/subscribers","subscription_url":"https://api.github.com/repos/bentmann/docker-client/subscription","commits_url":"https://api.github.com/repos/bentmann/docker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/bentmann/docker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/bentmann/docker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/bentmann/docker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/bentmann/docker-client/contents/{+path}","compare_url":"https://api.github.com/repos/bentmann/docker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bentmann/docker-client/merges","archive_url":"https://api.github.com/repos/bentmann/docker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bentmann/docker-client/downloads","issues_url":"https://api.github.com/repos/bentmann/docker-client/issues{/number}","pulls_url":"https://api.github.com/repos/bentmann/docker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/bentmann/docker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/bentmann/docker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bentmann/docker-client/labels{/name}","releases_url":"https://api.github.com/repos/bentmann/docker-client/releases{/id}","deployments_url":"https://api.github.com/repos/bentmann/docker-client/deployments","created_at":"2016-07-21T13:29:30Z","updated_at":"2016-07-21T13:29:33Z","pushed_at":"2016-07-21T13:38:09Z","git_url":"git://github.com/bentmann/docker-client.git","ssh_url":"git@github.com:bentmann/docker-client.git","clone_url":"https://github.com/bentmann/docker-client.git","svn_url":"https://github.com/bentmann/docker-client","homepage":"","size":2363,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"spotify:master","ref":"master","sha":"23f3c29ae7205d2b4f483a1a4df7db6025774f2f","user":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"repo":{"id":20484506,"name":"docker-client","full_name":"spotify/docker-client","owner":{"login":"spotify","id":251374,"avatar_url":"https://avatars.githubusercontent.com/u/251374?v=3","gravatar_id":"","url":"https://api.github.com/users/spotify","html_url":"https://github.com/spotify","followers_url":"https://api.github.com/users/spotify/followers","following_url":"https://api.github.com/users/spotify/following{/other_user}","gists_url":"https://api.github.com/users/spotify/gists{/gist_id}","starred_url":"https://api.github.com/users/spotify/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spotify/subscriptions","organizations_url":"https://api.github.com/users/spotify/orgs","repos_url":"https://api.github.com/users/spotify/repos","events_url":"https://api.github.com/users/spotify/events{/privacy}","received_events_url":"https://api.github.com/users/spotify/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/spotify/docker-client","description":"A simple docker client for the JVM","fork":false,"url":"https://api.github.com/repos/spotify/docker-client","forks_url":"https://api.github.com/repos/spotify/docker-client/forks","keys_url":"https://api.github.com/repos/spotify/docker-client/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spotify/docker-client/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spotify/docker-client/teams","hooks_url":"https://api.github.com/repos/spotify/docker-client/hooks","issue_events_url":"https://api.github.com/repos/spotify/docker-client/issues/events{/number}","events_url":"https://api.github.com/repos/spotify/docker-client/events","assignees_url":"https://api.github.com/repos/spotify/docker-client/assignees{/user}","branches_url":"https://api.github.com/repos/spotify/docker-client/branches{/branch}","tags_url":"https://api.github.com/repos/spotify/docker-client/tags","blobs_url":"https://api.github.com/repos/spotify/docker-client/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spotify/docker-client/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spotify/docker-client/git/refs{/sha}","trees_url":"https://api.github.com/repos/spotify/docker-client/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spotify/docker-client/statuses/{sha}","languages_url":"https://api.github.com/repos/spotify/docker-client/languages","stargazers_url":"https://api.github.com/repos/spotify/docker-client/stargazers","contributors_url":"https://api.github.com/repos/spotify/docker-client/contributors","subscribers_url":"https://api.github.com/repos/spotify/docker-client/subscribers","subscription_url":"https://api.github.com/repos/spotify/docker-client/subscription","commits_url":"https://api.github.com/repos/spotify/docker-client/commits{/sha}","git_commits_url":"https://api.github.com/repos/spotify/docker-client/git/commits{/sha}","comments_url":"https://api.github.com/repos/spotify/docker-client/comments{/number}","issue_comment_url":"https://api.github.com/repos/spotify/docker-client/issues/comments{/number}","contents_url":"https://api.github.com/repos/spotify/docker-client/contents/{+path}","compare_url":"https://api.github.com/repos/spotify/docker-client/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spotify/docker-client/merges","archive_url":"https://api.github.com/repos/spotify/docker-client/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spotify/docker-client/downloads","issues_url":"https://api.github.com/repos/spotify/docker-client/issues{/number}","pulls_url":"https://api.github.com/repos/spotify/docker-client/pulls{/number}","milestones_url":"https://api.github.com/repos/spotify/docker-client/milestones{/number}","notifications_url":"https://api.github.com/repos/spotify/docker-client/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spotify/docker-client/labels{/name}","releases_url":"https://api.github.com/repos/spotify/docker-client/releases{/id}","deployments_url":"https://api.github.com/repos/spotify/docker-client/deployments","created_at":"2014-06-04T13:22:10Z","updated_at":"2016-07-20T06:48:24Z","pushed_at":"2016-07-13T13:28:27Z","git_url":"git://github.com/spotify/docker-client.git","ssh_url":"git@github.com:spotify/docker-client.git","clone_url":"https://github.com/spotify/docker-client.git","svn_url":"https://github.com/spotify/docker-client","homepage":"","size":2363,"stargazers_count":367,"watchers_count":367,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":183,"mirror_url":null,"open_issues_count":41,"forks":183,"open_issues":41,"watchers":367,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/476"},"html":{"href":"https://github.com/spotify/docker-client/pull/476"},"issue":{"href":"https://api.github.com/repos/spotify/docker-client/issues/476"},"comments":{"href":"https://api.github.com/repos/spotify/docker-client/issues/476/comments"},"review_comments":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/476/comments"},"review_comment":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spotify/docker-client/pulls/476/commits"},"statuses":{"href":"https://api.github.com/repos/spotify/docker-client/statuses/32760ad136b82381de18b04fe14935e22710256c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":9,"deletions":11,"changed_files":3}}
{"actor":{"display_login":"bentmann"}}