{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments/122527292","pull_request_review_id":44656992,"id":122527292,"diff_hunk":"@@ -291,41 +321,41 @@ func createTarBlob(name string, list []tarContent) error {\n \treturn nil\n }\n \n-func createHashedBlob(name string) (descriptor, error) {\n+func createHashedBlob(name string) (v1.Descriptor, error) {\n \tdesc, err := newDescriptor(name)\n \tif err != nil {\n-\t\treturn descriptor{}, err\n+\t\treturn v1.Descriptor{}, err\n \t}\n \n-\tparsed, err := digest.Parse(desc.Digest)\n+\tparsed, err := digest.Parse(string(desc.Digest))","path":"image/image_test.go","position":185,"original_position":185,"commit_id":"791328800f9ac7b894795e00ba62c4676c02a59f","original_commit_id":"791328800f9ac7b894795e00ba62c4676c02a59f","user":{"login":"stevvooe","id":120601,"avatar_url":"https://avatars2.githubusercontent.com/u/120601?v=3","gravatar_id":"","url":"https://api.github.com/users/stevvooe","html_url":"https://github.com/stevvooe","followers_url":"https://api.github.com/users/stevvooe/followers","following_url":"https://api.github.com/users/stevvooe/following{/other_user}","gists_url":"https://api.github.com/users/stevvooe/gists{/gist_id}","starred_url":"https://api.github.com/users/stevvooe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevvooe/subscriptions","organizations_url":"https://api.github.com/users/stevvooe/orgs","repos_url":"https://api.github.com/users/stevvooe/repos","events_url":"https://api.github.com/users/stevvooe/events{/privacy}","received_events_url":"https://api.github.com/users/stevvooe/received_events","type":"User","site_admin":false},"body":"`desc.Digest.Validate()`","created_at":"2017-06-16T20:28:45Z","updated_at":"2017-06-16T20:28:45Z","html_url":"https://github.com/opencontainers/image-tools/pull/144#discussion_r122527292","pull_request_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/144","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments/122527292"},"html":{"href":"https://github.com/opencontainers/image-tools/pull/144#discussion_r122527292"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/144"}}},"pull_request":{"url":"https://api.github.com/repos/opencontainers/image-tools/pulls/144","id":119369077,"html_url":"https://github.com/opencontainers/image-tools/pull/144","diff_url":"https://github.com/opencontainers/image-tools/pull/144.diff","patch_url":"https://github.com/opencontainers/image-tools/pull/144.patch","issue_url":"https://api.github.com/repos/opencontainers/image-tools/issues/144","number":144,"state":"open","locked":false,"title":"make the image-tool work with -rc5","user":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars3.githubusercontent.com/u/19640187?v=3","gravatar_id":"","url":"https://api.github.com/users/q384566678","html_url":"https://github.com/q384566678","followers_url":"https://api.github.com/users/q384566678/followers","following_url":"https://api.github.com/users/q384566678/following{/other_user}","gists_url":"https://api.github.com/users/q384566678/gists{/gist_id}","starred_url":"https://api.github.com/users/q384566678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q384566678/subscriptions","organizations_url":"https://api.github.com/users/q384566678/orgs","repos_url":"https://api.github.com/users/q384566678/repos","events_url":"https://api.github.com/users/q384566678/events{/privacy}","received_events_url":"https://api.github.com/users/q384566678/received_events","type":"User","site_admin":false},"body":"This is a #121 follow-up PR, make the image-tool work with -rc5. Sorry so late update.\r\n\r\nSigned-off-by: zhouhao <zhouhao@cn.fujitsu.com>","created_at":"2017-05-08T02:54:41Z","updated_at":"2017-06-16T20:28:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"232cc7860e2722fb7d9209c7bb56da4717cfb367","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/144/commits","review_comments_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/144/comments","review_comment_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencontainers/image-tools/issues/144/comments","statuses_url":"https://api.github.com/repos/opencontainers/image-tools/statuses/791328800f9ac7b894795e00ba62c4676c02a59f","head":{"label":"q384566678:up-validate","ref":"up-validate","sha":"791328800f9ac7b894795e00ba62c4676c02a59f","user":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars3.githubusercontent.com/u/19640187?v=3","gravatar_id":"","url":"https://api.github.com/users/q384566678","html_url":"https://github.com/q384566678","followers_url":"https://api.github.com/users/q384566678/followers","following_url":"https://api.github.com/users/q384566678/following{/other_user}","gists_url":"https://api.github.com/users/q384566678/gists{/gist_id}","starred_url":"https://api.github.com/users/q384566678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q384566678/subscriptions","organizations_url":"https://api.github.com/users/q384566678/orgs","repos_url":"https://api.github.com/users/q384566678/repos","events_url":"https://api.github.com/users/q384566678/events{/privacy}","received_events_url":"https://api.github.com/users/q384566678/received_events","type":"User","site_admin":false},"repo":{"id":69202501,"name":"image-tools","full_name":"q384566678/image-tools","owner":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars3.githubusercontent.com/u/19640187?v=3","gravatar_id":"","url":"https://api.github.com/users/q384566678","html_url":"https://github.com/q384566678","followers_url":"https://api.github.com/users/q384566678/followers","following_url":"https://api.github.com/users/q384566678/following{/other_user}","gists_url":"https://api.github.com/users/q384566678/gists{/gist_id}","starred_url":"https://api.github.com/users/q384566678/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/q384566678/subscriptions","organizations_url":"https://api.github.com/users/q384566678/orgs","repos_url":"https://api.github.com/users/q384566678/repos","events_url":"https://api.github.com/users/q384566678/events{/privacy}","received_events_url":"https://api.github.com/users/q384566678/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/q384566678/image-tools","description":"OCI Image Tooling","fork":true,"url":"https://api.github.com/repos/q384566678/image-tools","forks_url":"https://api.github.com/repos/q384566678/image-tools/forks","keys_url":"https://api.github.com/repos/q384566678/image-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/q384566678/image-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/q384566678/image-tools/teams","hooks_url":"https://api.github.com/repos/q384566678/image-tools/hooks","issue_events_url":"https://api.github.com/repos/q384566678/image-tools/issues/events{/number}","events_url":"https://api.github.com/repos/q384566678/image-tools/events","assignees_url":"https://api.github.com/repos/q384566678/image-tools/assignees{/user}","branches_url":"https://api.github.com/repos/q384566678/image-tools/branches{/branch}","tags_url":"https://api.github.com/repos/q384566678/image-tools/tags","blobs_url":"https://api.github.com/repos/q384566678/image-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/q384566678/image-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/q384566678/image-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/q384566678/image-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/q384566678/image-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/q384566678/image-tools/languages","stargazers_url":"https://api.github.com/repos/q384566678/image-tools/stargazers","contributors_url":"https://api.github.com/repos/q384566678/image-tools/contributors","subscribers_url":"https://api.github.com/repos/q384566678/image-tools/subscribers","subscription_url":"https://api.github.com/repos/q384566678/image-tools/subscription","commits_url":"https://api.github.com/repos/q384566678/image-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/q384566678/image-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/q384566678/image-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/q384566678/image-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/q384566678/image-tools/contents/{+path}","compare_url":"https://api.github.com/repos/q384566678/image-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/q384566678/image-tools/merges","archive_url":"https://api.github.com/repos/q384566678/image-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/q384566678/image-tools/downloads","issues_url":"https://api.github.com/repos/q384566678/image-tools/issues{/number}","pulls_url":"https://api.github.com/repos/q384566678/image-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/q384566678/image-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/q384566678/image-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/q384566678/image-tools/labels{/name}","releases_url":"https://api.github.com/repos/q384566678/image-tools/releases{/id}","deployments_url":"https://api.github.com/repos/q384566678/image-tools/deployments","created_at":"2016-09-26T01:38:12Z","updated_at":"2016-09-26T01:38:13Z","pushed_at":"2017-06-16T01:24:57Z","git_url":"git://github.com/q384566678/image-tools.git","ssh_url":"git@github.com:q384566678/image-tools.git","clone_url":"https://github.com/q384566678/image-tools.git","svn_url":"https://github.com/q384566678/image-tools","homepage":"https://opencontainers.org","size":2116,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":0,"forks":1,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencontainers:master","ref":"master","sha":"167397d0065ebbf9c55b84803d67eac7ca8af09f","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars2.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"repo":{"id":67737264,"name":"image-tools","full_name":"opencontainers/image-tools","owner":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars2.githubusercontent.com/u/12563465?v=3","gravatar_id":"","url":"https://api.github.com/users/opencontainers","html_url":"https://github.com/opencontainers","followers_url":"https://api.github.com/users/opencontainers/followers","following_url":"https://api.github.com/users/opencontainers/following{/other_user}","gists_url":"https://api.github.com/users/opencontainers/gists{/gist_id}","starred_url":"https://api.github.com/users/opencontainers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencontainers/subscriptions","organizations_url":"https://api.github.com/users/opencontainers/orgs","repos_url":"https://api.github.com/users/opencontainers/repos","events_url":"https://api.github.com/users/opencontainers/events{/privacy}","received_events_url":"https://api.github.com/users/opencontainers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencontainers/image-tools","description":"OCI Image Tooling","fork":false,"url":"https://api.github.com/repos/opencontainers/image-tools","forks_url":"https://api.github.com/repos/opencontainers/image-tools/forks","keys_url":"https://api.github.com/repos/opencontainers/image-tools/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencontainers/image-tools/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencontainers/image-tools/teams","hooks_url":"https://api.github.com/repos/opencontainers/image-tools/hooks","issue_events_url":"https://api.github.com/repos/opencontainers/image-tools/issues/events{/number}","events_url":"https://api.github.com/repos/opencontainers/image-tools/events","assignees_url":"https://api.github.com/repos/opencontainers/image-tools/assignees{/user}","branches_url":"https://api.github.com/repos/opencontainers/image-tools/branches{/branch}","tags_url":"https://api.github.com/repos/opencontainers/image-tools/tags","blobs_url":"https://api.github.com/repos/opencontainers/image-tools/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencontainers/image-tools/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencontainers/image-tools/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencontainers/image-tools/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencontainers/image-tools/statuses/{sha}","languages_url":"https://api.github.com/repos/opencontainers/image-tools/languages","stargazers_url":"https://api.github.com/repos/opencontainers/image-tools/stargazers","contributors_url":"https://api.github.com/repos/opencontainers/image-tools/contributors","subscribers_url":"https://api.github.com/repos/opencontainers/image-tools/subscribers","subscription_url":"https://api.github.com/repos/opencontainers/image-tools/subscription","commits_url":"https://api.github.com/repos/opencontainers/image-tools/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencontainers/image-tools/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencontainers/image-tools/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencontainers/image-tools/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencontainers/image-tools/contents/{+path}","compare_url":"https://api.github.com/repos/opencontainers/image-tools/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencontainers/image-tools/merges","archive_url":"https://api.github.com/repos/opencontainers/image-tools/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencontainers/image-tools/downloads","issues_url":"https://api.github.com/repos/opencontainers/image-tools/issues{/number}","pulls_url":"https://api.github.com/repos/opencontainers/image-tools/pulls{/number}","milestones_url":"https://api.github.com/repos/opencontainers/image-tools/milestones{/number}","notifications_url":"https://api.github.com/repos/opencontainers/image-tools/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencontainers/image-tools/labels{/name}","releases_url":"https://api.github.com/repos/opencontainers/image-tools/releases{/id}","deployments_url":"https://api.github.com/repos/opencontainers/image-tools/deployments","created_at":"2016-09-08T20:19:15Z","updated_at":"2017-06-05T18:54:55Z","pushed_at":"2017-06-16T01:24:59Z","git_url":"git://github.com/opencontainers/image-tools.git","ssh_url":"git@github.com:opencontainers/image-tools.git","clone_url":"https://github.com/opencontainers/image-tools.git","svn_url":"https://github.com/opencontainers/image-tools","homepage":"https://opencontainers.org","size":2007,"stargazers_count":38,"watchers_count":38,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":36,"mirror_url":null,"open_issues_count":51,"forks":36,"open_issues":51,"watchers":38,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/144"},"html":{"href":"https://github.com/opencontainers/image-tools/pull/144"},"issue":{"href":"https://api.github.com/repos/opencontainers/image-tools/issues/144"},"comments":{"href":"https://api.github.com/repos/opencontainers/image-tools/issues/144/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/144/comments"},"review_comment":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/144/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/image-tools/statuses/791328800f9ac7b894795e00ba62c4676c02a59f"}}}}
{"actor":{"display_login":"stevvooe"}}