{"action":"created","comment":{"url":"https://api.github.com/repos/docker/docker/pulls/comments/49767173","id":49767173,"diff_hunk":"@@ -0,0 +1,137 @@\n+package metadata\n+\n+import (\n+\t\"encoding/json\"\n+\n+\t\"github.com/docker/distribution/digest\"\n+\t\"github.com/docker/docker/layer\"\n+)\n+\n+// DiffMetadataService maps layer IDs to a set of known metadata for\n+// the layer.\n+type DiffMetadataService struct {","path":"distribution/metadata/diff_metadata_service.go","position":12,"original_position":12,"commit_id":"ed316f30efce723e743e633d2067612c6020e651","original_commit_id":"ed316f30efce723e743e633d2067612c6020e651","user":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"body":"Should I just go ahead and revert the terminology to BlobSum and BlobSumService and worry about naming in a later release? I'd like to correctly name the metadata on the filesystem if possible","created_at":"2016-01-14T18:51:24Z","updated_at":"2016-01-14T18:51:24Z","html_url":"https://github.com/docker/docker/pull/19109#discussion_r49767173","pull_request_url":"https://api.github.com/repos/docker/docker/pulls/19109","_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/comments/49767173"},"html":{"href":"https://github.com/docker/docker/pull/19109#discussion_r49767173"},"pull_request":{"href":"https://api.github.com/repos/docker/docker/pulls/19109"}}},"pull_request":{"url":"https://api.github.com/repos/docker/docker/pulls/19109","id":55152539,"html_url":"https://github.com/docker/docker/pull/19109","diff_url":"https://github.com/docker/docker/pull/19109.diff","patch_url":"https://github.com/docker/docker/pull/19109.patch","issue_url":"https://api.github.com/repos/docker/docker/issues/19109","number":19109,"state":"open","locked":false,"title":"Cross repository push","user":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"body":"Tracks source repository information for each blob in the blobsum\r\nservice, which is then used to attempt to mount blobs from another\r\nrepository when pushing instead of having to re-push blobs to the same\r\nregistry.\r\n\r\n(depends on #18785)","created_at":"2016-01-05T22:30:57Z","updated_at":"2016-01-14T18:51:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0de218e33805962c8e6c07140ac77bbd03afd329","assignee":null,"milestone":{"url":"https://api.github.com/repos/docker/docker/milestones/44","html_url":"https://github.com/docker/docker/milestones/1.10.0","labels_url":"https://api.github.com/repos/docker/docker/milestones/44/labels","id":1351533,"number":44,"title":"1.10.0","description":"Code freeze / feature freeze January 14th 2016\r\nPlanned release: February 4th, 2016\r\nhttps://github.com/docker/docker/wiki","creator":{"login":"thaJeztah","id":1804568,"avatar_url":"https://avatars.githubusercontent.com/u/1804568?v=3","gravatar_id":"","url":"https://api.github.com/users/thaJeztah","html_url":"https://github.com/thaJeztah","followers_url":"https://api.github.com/users/thaJeztah/followers","following_url":"https://api.github.com/users/thaJeztah/following{/other_user}","gists_url":"https://api.github.com/users/thaJeztah/gists{/gist_id}","starred_url":"https://api.github.com/users/thaJeztah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thaJeztah/subscriptions","organizations_url":"https://api.github.com/users/thaJeztah/orgs","repos_url":"https://api.github.com/users/thaJeztah/repos","events_url":"https://api.github.com/users/thaJeztah/events{/privacy}","received_events_url":"https://api.github.com/users/thaJeztah/received_events","type":"User","site_admin":false},"open_issues":17,"closed_issues":175,"state":"open","created_at":"2015-10-12T18:21:55Z","updated_at":"2016-01-14T18:48:10Z","due_on":"2016-01-14T08:00:00Z","closed_at":null},"commits_url":"https://api.github.com/repos/docker/docker/pulls/19109/commits","review_comments_url":"https://api.github.com/repos/docker/docker/pulls/19109/comments","review_comment_url":"https://api.github.com/repos/docker/docker/pulls/comments{/number}","comments_url":"https://api.github.com/repos/docker/docker/issues/19109/comments","statuses_url":"https://api.github.com/repos/docker/docker/statuses/ed316f30efce723e743e633d2067612c6020e651","head":{"label":"BrianBland:crossRepositoryPush","ref":"crossRepositoryPush","sha":"ed316f30efce723e743e633d2067612c6020e651","user":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"repo":{"id":26513461,"name":"docker","full_name":"BrianBland/docker","owner":{"login":"BrianBland","id":2295742,"avatar_url":"https://avatars.githubusercontent.com/u/2295742?v=3","gravatar_id":"","url":"https://api.github.com/users/BrianBland","html_url":"https://github.com/BrianBland","followers_url":"https://api.github.com/users/BrianBland/followers","following_url":"https://api.github.com/users/BrianBland/following{/other_user}","gists_url":"https://api.github.com/users/BrianBland/gists{/gist_id}","starred_url":"https://api.github.com/users/BrianBland/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BrianBland/subscriptions","organizations_url":"https://api.github.com/users/BrianBland/orgs","repos_url":"https://api.github.com/users/BrianBland/repos","events_url":"https://api.github.com/users/BrianBland/events{/privacy}","received_events_url":"https://api.github.com/users/BrianBland/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BrianBland/docker","description":"Docker - the open-source application container engine","fork":true,"url":"https://api.github.com/repos/BrianBland/docker","forks_url":"https://api.github.com/repos/BrianBland/docker/forks","keys_url":"https://api.github.com/repos/BrianBland/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BrianBland/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BrianBland/docker/teams","hooks_url":"https://api.github.com/repos/BrianBland/docker/hooks","issue_events_url":"https://api.github.com/repos/BrianBland/docker/issues/events{/number}","events_url":"https://api.github.com/repos/BrianBland/docker/events","assignees_url":"https://api.github.com/repos/BrianBland/docker/assignees{/user}","branches_url":"https://api.github.com/repos/BrianBland/docker/branches{/branch}","tags_url":"https://api.github.com/repos/BrianBland/docker/tags","blobs_url":"https://api.github.com/repos/BrianBland/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BrianBland/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BrianBland/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/BrianBland/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BrianBland/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/BrianBland/docker/languages","stargazers_url":"https://api.github.com/repos/BrianBland/docker/stargazers","contributors_url":"https://api.github.com/repos/BrianBland/docker/contributors","subscribers_url":"https://api.github.com/repos/BrianBland/docker/subscribers","subscription_url":"https://api.github.com/repos/BrianBland/docker/subscription","commits_url":"https://api.github.com/repos/BrianBland/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/BrianBland/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/BrianBland/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/BrianBland/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/BrianBland/docker/contents/{+path}","compare_url":"https://api.github.com/repos/BrianBland/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BrianBland/docker/merges","archive_url":"https://api.github.com/repos/BrianBland/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BrianBland/docker/downloads","issues_url":"https://api.github.com/repos/BrianBland/docker/issues{/number}","pulls_url":"https://api.github.com/repos/BrianBland/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/BrianBland/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/BrianBland/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BrianBland/docker/labels{/name}","releases_url":"https://api.github.com/repos/BrianBland/docker/releases{/id}","created_at":"2014-11-12T01:29:07Z","updated_at":"2014-11-12T01:16:47Z","pushed_at":"2016-01-14T17:49:09Z","git_url":"git://github.com/BrianBland/docker.git","ssh_url":"git@github.com:BrianBland/docker.git","clone_url":"https://github.com/BrianBland/docker.git","svn_url":"https://github.com/BrianBland/docker","homepage":"http://www.docker.com","size":79172,"stargazers_count":0,"watchers_count":0,"language":null,"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":"docker:master","ref":"master","sha":"f292e90b8dcca4fabf9d6aa6d889e9fae0eca6ba","user":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"repo":{"id":7691631,"name":"docker","full_name":"docker/docker","owner":{"login":"docker","id":5429470,"avatar_url":"https://avatars.githubusercontent.com/u/5429470?v=3","gravatar_id":"","url":"https://api.github.com/users/docker","html_url":"https://github.com/docker","followers_url":"https://api.github.com/users/docker/followers","following_url":"https://api.github.com/users/docker/following{/other_user}","gists_url":"https://api.github.com/users/docker/gists{/gist_id}","starred_url":"https://api.github.com/users/docker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/docker/subscriptions","organizations_url":"https://api.github.com/users/docker/orgs","repos_url":"https://api.github.com/users/docker/repos","events_url":"https://api.github.com/users/docker/events{/privacy}","received_events_url":"https://api.github.com/users/docker/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/docker/docker","description":"Docker - the open-source application container engine","fork":false,"url":"https://api.github.com/repos/docker/docker","forks_url":"https://api.github.com/repos/docker/docker/forks","keys_url":"https://api.github.com/repos/docker/docker/keys{/key_id}","collaborators_url":"https://api.github.com/repos/docker/docker/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/docker/docker/teams","hooks_url":"https://api.github.com/repos/docker/docker/hooks","issue_events_url":"https://api.github.com/repos/docker/docker/issues/events{/number}","events_url":"https://api.github.com/repos/docker/docker/events","assignees_url":"https://api.github.com/repos/docker/docker/assignees{/user}","branches_url":"https://api.github.com/repos/docker/docker/branches{/branch}","tags_url":"https://api.github.com/repos/docker/docker/tags","blobs_url":"https://api.github.com/repos/docker/docker/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/docker/docker/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/docker/docker/git/refs{/sha}","trees_url":"https://api.github.com/repos/docker/docker/git/trees{/sha}","statuses_url":"https://api.github.com/repos/docker/docker/statuses/{sha}","languages_url":"https://api.github.com/repos/docker/docker/languages","stargazers_url":"https://api.github.com/repos/docker/docker/stargazers","contributors_url":"https://api.github.com/repos/docker/docker/contributors","subscribers_url":"https://api.github.com/repos/docker/docker/subscribers","subscription_url":"https://api.github.com/repos/docker/docker/subscription","commits_url":"https://api.github.com/repos/docker/docker/commits{/sha}","git_commits_url":"https://api.github.com/repos/docker/docker/git/commits{/sha}","comments_url":"https://api.github.com/repos/docker/docker/comments{/number}","issue_comment_url":"https://api.github.com/repos/docker/docker/issues/comments{/number}","contents_url":"https://api.github.com/repos/docker/docker/contents/{+path}","compare_url":"https://api.github.com/repos/docker/docker/compare/{base}...{head}","merges_url":"https://api.github.com/repos/docker/docker/merges","archive_url":"https://api.github.com/repos/docker/docker/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/docker/docker/downloads","issues_url":"https://api.github.com/repos/docker/docker/issues{/number}","pulls_url":"https://api.github.com/repos/docker/docker/pulls{/number}","milestones_url":"https://api.github.com/repos/docker/docker/milestones{/number}","notifications_url":"https://api.github.com/repos/docker/docker/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/docker/docker/labels{/name}","releases_url":"https://api.github.com/repos/docker/docker/releases{/id}","created_at":"2013-01-18T18:10:57Z","updated_at":"2016-01-14T17:46:23Z","pushed_at":"2016-01-14T18:38:57Z","git_url":"git://github.com/docker/docker.git","ssh_url":"git@github.com:docker/docker.git","clone_url":"https://github.com/docker/docker.git","svn_url":"https://github.com/docker/docker","homepage":"http://www.docker.com","size":123254,"stargazers_count":27780,"watchers_count":27780,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":7666,"mirror_url":null,"open_issues_count":1271,"forks":7666,"open_issues":1271,"watchers":27780,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/docker/docker/pulls/19109"},"html":{"href":"https://github.com/docker/docker/pull/19109"},"issue":{"href":"https://api.github.com/repos/docker/docker/issues/19109"},"comments":{"href":"https://api.github.com/repos/docker/docker/issues/19109/comments"},"review_comments":{"href":"https://api.github.com/repos/docker/docker/pulls/19109/comments"},"review_comment":{"href":"https://api.github.com/repos/docker/docker/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/docker/docker/pulls/19109/commits"},"statuses":{"href":"https://api.github.com/repos/docker/docker/statuses/ed316f30efce723e743e633d2067612c6020e651"}}}}