{"action":"closed","number":78,"pull_request":{"url":"https://api.github.com/repos/rancher/convoy/pulls/78","id":61196127,"html_url":"https://github.com/rancher/convoy/pull/78","diff_url":"https://github.com/rancher/convoy/pull/78.diff","patch_url":"https://github.com/rancher/convoy/pull/78.patch","issue_url":"https://api.github.com/repos/rancher/convoy/issues/78","number":78,"state":"closed","locked":false,"title":"s3: Determine object size with HEAD; simple and compatible with S3 clones","user":{"login":"sprohaska","id":217580,"avatar_url":"https://avatars.githubusercontent.com/u/217580?v=3","gravatar_id":"","url":"https://api.github.com/users/sprohaska","html_url":"https://github.com/sprohaska","followers_url":"https://api.github.com/users/sprohaska/followers","following_url":"https://api.github.com/users/sprohaska/following{/other_user}","gists_url":"https://api.github.com/users/sprohaska/gists{/gist_id}","starred_url":"https://api.github.com/users/sprohaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprohaska/subscriptions","organizations_url":"https://api.github.com/users/sprohaska/orgs","repos_url":"https://api.github.com/users/sprohaska/repos","events_url":"https://api.github.com/users/sprohaska/events{/privacy}","received_events_url":"https://api.github.com/users/sprohaska/received_events","type":"User","site_admin":false},"body":"`HEAD <obj>` [go-aws-head] determines the object meta data directly,\r\nincluding object size.  It is simpler than creating a listing with\r\na single object.  It is also compatible with s3proxy [s3proxy-repo],\r\nwhich refused to list individual objects.  The same might be true for\r\nother S3 clones.\r\n\r\nCompatibility may become important to implement alternative object\r\nstorage backends (see GitHub issue #46).\r\n\r\n[go-aws-head] <http://docs.aws.amazon.com/sdk-for-go/api/service/s3/S3.html#HeadObject-instance_method>\r\n\r\n[s3proxy-repo] <https://github.com/andrewgaul/s3proxy>\r\n\r\nSigned-off-by: Steffen Prohaska <prohaska@zib.de>","created_at":"2016-03-01T05:44:51Z","updated_at":"2016-03-04T22:32:49Z","closed_at":"2016-03-04T22:32:48Z","merged_at":"2016-03-04T22:32:48Z","merge_commit_sha":"5e77fe52f08ac9ee75c88948c809ebfc9963e56c","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/rancher/convoy/pulls/78/commits","review_comments_url":"https://api.github.com/repos/rancher/convoy/pulls/78/comments","review_comment_url":"https://api.github.com/repos/rancher/convoy/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rancher/convoy/issues/78/comments","statuses_url":"https://api.github.com/repos/rancher/convoy/statuses/aadb55c34ec2b662db20c665107c906187d50408","head":{"label":"sprohaska:s3-filesize","ref":"s3-filesize","sha":"aadb55c34ec2b662db20c665107c906187d50408","user":{"login":"sprohaska","id":217580,"avatar_url":"https://avatars.githubusercontent.com/u/217580?v=3","gravatar_id":"","url":"https://api.github.com/users/sprohaska","html_url":"https://github.com/sprohaska","followers_url":"https://api.github.com/users/sprohaska/followers","following_url":"https://api.github.com/users/sprohaska/following{/other_user}","gists_url":"https://api.github.com/users/sprohaska/gists{/gist_id}","starred_url":"https://api.github.com/users/sprohaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprohaska/subscriptions","organizations_url":"https://api.github.com/users/sprohaska/orgs","repos_url":"https://api.github.com/users/sprohaska/repos","events_url":"https://api.github.com/users/sprohaska/events{/privacy}","received_events_url":"https://api.github.com/users/sprohaska/received_events","type":"User","site_admin":false},"repo":{"id":52744113,"name":"convoy","full_name":"sprohaska/convoy","owner":{"login":"sprohaska","id":217580,"avatar_url":"https://avatars.githubusercontent.com/u/217580?v=3","gravatar_id":"","url":"https://api.github.com/users/sprohaska","html_url":"https://github.com/sprohaska","followers_url":"https://api.github.com/users/sprohaska/followers","following_url":"https://api.github.com/users/sprohaska/following{/other_user}","gists_url":"https://api.github.com/users/sprohaska/gists{/gist_id}","starred_url":"https://api.github.com/users/sprohaska/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sprohaska/subscriptions","organizations_url":"https://api.github.com/users/sprohaska/orgs","repos_url":"https://api.github.com/users/sprohaska/repos","events_url":"https://api.github.com/users/sprohaska/events{/privacy}","received_events_url":"https://api.github.com/users/sprohaska/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sprohaska/convoy","description":"A Docker volume plugin, managing persistent container volumes.","fork":true,"url":"https://api.github.com/repos/sprohaska/convoy","forks_url":"https://api.github.com/repos/sprohaska/convoy/forks","keys_url":"https://api.github.com/repos/sprohaska/convoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sprohaska/convoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sprohaska/convoy/teams","hooks_url":"https://api.github.com/repos/sprohaska/convoy/hooks","issue_events_url":"https://api.github.com/repos/sprohaska/convoy/issues/events{/number}","events_url":"https://api.github.com/repos/sprohaska/convoy/events","assignees_url":"https://api.github.com/repos/sprohaska/convoy/assignees{/user}","branches_url":"https://api.github.com/repos/sprohaska/convoy/branches{/branch}","tags_url":"https://api.github.com/repos/sprohaska/convoy/tags","blobs_url":"https://api.github.com/repos/sprohaska/convoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sprohaska/convoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sprohaska/convoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/sprohaska/convoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sprohaska/convoy/statuses/{sha}","languages_url":"https://api.github.com/repos/sprohaska/convoy/languages","stargazers_url":"https://api.github.com/repos/sprohaska/convoy/stargazers","contributors_url":"https://api.github.com/repos/sprohaska/convoy/contributors","subscribers_url":"https://api.github.com/repos/sprohaska/convoy/subscribers","subscription_url":"https://api.github.com/repos/sprohaska/convoy/subscription","commits_url":"https://api.github.com/repos/sprohaska/convoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/sprohaska/convoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/sprohaska/convoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/sprohaska/convoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/sprohaska/convoy/contents/{+path}","compare_url":"https://api.github.com/repos/sprohaska/convoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sprohaska/convoy/merges","archive_url":"https://api.github.com/repos/sprohaska/convoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sprohaska/convoy/downloads","issues_url":"https://api.github.com/repos/sprohaska/convoy/issues{/number}","pulls_url":"https://api.github.com/repos/sprohaska/convoy/pulls{/number}","milestones_url":"https://api.github.com/repos/sprohaska/convoy/milestones{/number}","notifications_url":"https://api.github.com/repos/sprohaska/convoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sprohaska/convoy/labels{/name}","releases_url":"https://api.github.com/repos/sprohaska/convoy/releases{/id}","deployments_url":"https://api.github.com/repos/sprohaska/convoy/deployments","created_at":"2016-02-28T21:05:19Z","updated_at":"2016-02-28T21:05:20Z","pushed_at":"2016-03-01T05:43:11Z","git_url":"git://github.com/sprohaska/convoy.git","ssh_url":"git@github.com:sprohaska/convoy.git","clone_url":"https://github.com/sprohaska/convoy.git","svn_url":"https://github.com/sprohaska/convoy","homepage":"","size":3277,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"rancher:master","ref":"master","sha":"5b2572c984e12ade980a9413a956c2279d03f4c2","user":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"repo":{"id":29041226,"name":"convoy","full_name":"rancher/convoy","owner":{"login":"rancher","id":9343010,"avatar_url":"https://avatars.githubusercontent.com/u/9343010?v=3","gravatar_id":"","url":"https://api.github.com/users/rancher","html_url":"https://github.com/rancher","followers_url":"https://api.github.com/users/rancher/followers","following_url":"https://api.github.com/users/rancher/following{/other_user}","gists_url":"https://api.github.com/users/rancher/gists{/gist_id}","starred_url":"https://api.github.com/users/rancher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rancher/subscriptions","organizations_url":"https://api.github.com/users/rancher/orgs","repos_url":"https://api.github.com/users/rancher/repos","events_url":"https://api.github.com/users/rancher/events{/privacy}","received_events_url":"https://api.github.com/users/rancher/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rancher/convoy","description":"A Docker volume plugin, managing persistent container volumes.","fork":false,"url":"https://api.github.com/repos/rancher/convoy","forks_url":"https://api.github.com/repos/rancher/convoy/forks","keys_url":"https://api.github.com/repos/rancher/convoy/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rancher/convoy/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rancher/convoy/teams","hooks_url":"https://api.github.com/repos/rancher/convoy/hooks","issue_events_url":"https://api.github.com/repos/rancher/convoy/issues/events{/number}","events_url":"https://api.github.com/repos/rancher/convoy/events","assignees_url":"https://api.github.com/repos/rancher/convoy/assignees{/user}","branches_url":"https://api.github.com/repos/rancher/convoy/branches{/branch}","tags_url":"https://api.github.com/repos/rancher/convoy/tags","blobs_url":"https://api.github.com/repos/rancher/convoy/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rancher/convoy/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rancher/convoy/git/refs{/sha}","trees_url":"https://api.github.com/repos/rancher/convoy/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rancher/convoy/statuses/{sha}","languages_url":"https://api.github.com/repos/rancher/convoy/languages","stargazers_url":"https://api.github.com/repos/rancher/convoy/stargazers","contributors_url":"https://api.github.com/repos/rancher/convoy/contributors","subscribers_url":"https://api.github.com/repos/rancher/convoy/subscribers","subscription_url":"https://api.github.com/repos/rancher/convoy/subscription","commits_url":"https://api.github.com/repos/rancher/convoy/commits{/sha}","git_commits_url":"https://api.github.com/repos/rancher/convoy/git/commits{/sha}","comments_url":"https://api.github.com/repos/rancher/convoy/comments{/number}","issue_comment_url":"https://api.github.com/repos/rancher/convoy/issues/comments{/number}","contents_url":"https://api.github.com/repos/rancher/convoy/contents/{+path}","compare_url":"https://api.github.com/repos/rancher/convoy/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rancher/convoy/merges","archive_url":"https://api.github.com/repos/rancher/convoy/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rancher/convoy/downloads","issues_url":"https://api.github.com/repos/rancher/convoy/issues{/number}","pulls_url":"https://api.github.com/repos/rancher/convoy/pulls{/number}","milestones_url":"https://api.github.com/repos/rancher/convoy/milestones{/number}","notifications_url":"https://api.github.com/repos/rancher/convoy/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rancher/convoy/labels{/name}","releases_url":"https://api.github.com/repos/rancher/convoy/releases{/id}","deployments_url":"https://api.github.com/repos/rancher/convoy/deployments","created_at":"2015-01-10T00:10:25Z","updated_at":"2016-03-03T03:16:28Z","pushed_at":"2016-03-04T22:32:48Z","git_url":"git://github.com/rancher/convoy.git","ssh_url":"git@github.com:rancher/convoy.git","clone_url":"https://github.com/rancher/convoy.git","svn_url":"https://github.com/rancher/convoy","homepage":"","size":3284,"stargazers_count":261,"watchers_count":261,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":28,"mirror_url":null,"open_issues_count":33,"forks":28,"open_issues":33,"watchers":261,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rancher/convoy/pulls/78"},"html":{"href":"https://github.com/rancher/convoy/pull/78"},"issue":{"href":"https://api.github.com/repos/rancher/convoy/issues/78"},"comments":{"href":"https://api.github.com/repos/rancher/convoy/issues/78/comments"},"review_comments":{"href":"https://api.github.com/repos/rancher/convoy/pulls/78/comments"},"review_comment":{"href":"https://api.github.com/repos/rancher/convoy/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rancher/convoy/pulls/78/commits"},"statuses":{"href":"https://api.github.com/repos/rancher/convoy/statuses/aadb55c34ec2b662db20c665107c906187d50408"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"yasker","id":3344618,"avatar_url":"https://avatars.githubusercontent.com/u/3344618?v=3","gravatar_id":"","url":"https://api.github.com/users/yasker","html_url":"https://github.com/yasker","followers_url":"https://api.github.com/users/yasker/followers","following_url":"https://api.github.com/users/yasker/following{/other_user}","gists_url":"https://api.github.com/users/yasker/gists{/gist_id}","starred_url":"https://api.github.com/users/yasker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yasker/subscriptions","organizations_url":"https://api.github.com/users/yasker/orgs","repos_url":"https://api.github.com/users/yasker/repos","events_url":"https://api.github.com/users/yasker/events{/privacy}","received_events_url":"https://api.github.com/users/yasker/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":20,"deletions":6,"changed_files":2}}