{"action":"created","comment":{"url":"https://api.github.com/repos/projectatomic/skopeo/pulls/comments/63411948","id":63411948,"diff_hunk":"@@ -62,7 +65,7 @@ func (i *dockerImage) Signatures() ([][]byte, error) {\n \treturn i.cachedSignatures, nil\n }\n \n-func (i *dockerImage) Inspect() (types.ImageManifest, error) {\n+func (i *dockerImage) Inspect() (*types.ImageInspectInfo, error) {","path":"docker/docker_image.go","position":33,"original_position":33,"commit_id":"aa157364da2379193f1fbdc99642901936f0c81d","original_commit_id":"aa157364da2379193f1fbdc99642901936f0c81d","user":{"login":"mtrmac","id":7052838,"avatar_url":"https://avatars.githubusercontent.com/u/7052838?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrmac","html_url":"https://github.com/mtrmac","followers_url":"https://api.github.com/users/mtrmac/followers","following_url":"https://api.github.com/users/mtrmac/following{/other_user}","gists_url":"https://api.github.com/users/mtrmac/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrmac/subscriptions","organizations_url":"https://api.github.com/users/mtrmac/orgs","repos_url":"https://api.github.com/users/mtrmac/repos","events_url":"https://api.github.com/users/mtrmac/events{/privacy}","received_events_url":"https://api.github.com/users/mtrmac/received_events","type":"User","site_admin":false},"body":"The original `types.ImageManifest` was an interface. `types.ImageInspectInfo` (formerly `types.DockerImageManifest`) is a struct.","created_at":"2016-05-16T19:40:49Z","updated_at":"2016-05-16T19:40:49Z","html_url":"https://github.com/projectatomic/skopeo/pull/58#discussion_r63411948","pull_request_url":"https://api.github.com/repos/projectatomic/skopeo/pulls/58","_links":{"self":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/comments/63411948"},"html":{"href":"https://github.com/projectatomic/skopeo/pull/58#discussion_r63411948"},"pull_request":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/58"}}},"pull_request":{"url":"https://api.github.com/repos/projectatomic/skopeo/pulls/58","id":70231981,"html_url":"https://github.com/projectatomic/skopeo/pull/58","diff_url":"https://github.com/projectatomic/skopeo/pull/58.diff","patch_url":"https://github.com/projectatomic/skopeo/pull/58.patch","issue_url":"https://api.github.com/repos/projectatomic/skopeo/issues/58","number":58,"state":"open","locked":false,"title":"General image API cleanups","user":{"login":"mtrmac","id":7052838,"avatar_url":"https://avatars.githubusercontent.com/u/7052838?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrmac","html_url":"https://github.com/mtrmac","followers_url":"https://api.github.com/users/mtrmac/followers","following_url":"https://api.github.com/users/mtrmac/following{/other_user}","gists_url":"https://api.github.com/users/mtrmac/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrmac/subscriptions","organizations_url":"https://api.github.com/users/mtrmac/orgs","repos_url":"https://api.github.com/users/mtrmac/repos","events_url":"https://api.github.com/users/mtrmac/events{/privacy}","received_events_url":"https://api.github.com/users/mtrmac/received_events","type":"User","site_admin":false},"body":"This is a follow-up to #57, I will rebase as needed.\r\n\r\nThis somewhat cleans up `types.Image` towards becoming the primary inspection endpoint for images:\r\n\r\n - We can now change the API without breaking `skopeo inspect` output format\r\n - `Image.Manifest` turns into `Image.Inspect`, which parses the manifest, config and layers only; its other former functions are split into new methods.\r\n - Added comments on how the API types are expected to be used.\r\n\r\nThis does not yet completely clean up the API (e.g. moving parts of `Layers` to `cmd/skopeo`).\r\n\r\nNor does this make `Image` independent of the underlying Docker implementation yet: (`InspectInfo.Name` returns the parsed Docker ref, and `GetRepositoryTags` needs a Docker client). Non-Docker replacements for this mostly depend on what values we define `skopeo inspect` to return for non-Docker sources.\r\n\r\nSee comments in the individual commits for details.","created_at":"2016-05-16T17:40:40Z","updated_at":"2016-05-16T19:40:49Z","closed_at":null,"merged_at":null,"merge_commit_sha":"b3b447001693f30c5b8ff94559e9bc916d678ad1","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/projectatomic/skopeo/pulls/58/commits","review_comments_url":"https://api.github.com/repos/projectatomic/skopeo/pulls/58/comments","review_comment_url":"https://api.github.com/repos/projectatomic/skopeo/pulls/comments{/number}","comments_url":"https://api.github.com/repos/projectatomic/skopeo/issues/58/comments","statuses_url":"https://api.github.com/repos/projectatomic/skopeo/statuses/aa157364da2379193f1fbdc99642901936f0c81d","head":{"label":"mtrmac:api-general","ref":"api-general","sha":"aa157364da2379193f1fbdc99642901936f0c81d","user":{"login":"mtrmac","id":7052838,"avatar_url":"https://avatars.githubusercontent.com/u/7052838?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrmac","html_url":"https://github.com/mtrmac","followers_url":"https://api.github.com/users/mtrmac/followers","following_url":"https://api.github.com/users/mtrmac/following{/other_user}","gists_url":"https://api.github.com/users/mtrmac/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrmac/subscriptions","organizations_url":"https://api.github.com/users/mtrmac/orgs","repos_url":"https://api.github.com/users/mtrmac/repos","events_url":"https://api.github.com/users/mtrmac/events{/privacy}","received_events_url":"https://api.github.com/users/mtrmac/received_events","type":"User","site_admin":false},"repo":{"id":53720952,"name":"skopeo","full_name":"mtrmac/skopeo","owner":{"login":"mtrmac","id":7052838,"avatar_url":"https://avatars.githubusercontent.com/u/7052838?v=3","gravatar_id":"","url":"https://api.github.com/users/mtrmac","html_url":"https://github.com/mtrmac","followers_url":"https://api.github.com/users/mtrmac/followers","following_url":"https://api.github.com/users/mtrmac/following{/other_user}","gists_url":"https://api.github.com/users/mtrmac/gists{/gist_id}","starred_url":"https://api.github.com/users/mtrmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtrmac/subscriptions","organizations_url":"https://api.github.com/users/mtrmac/orgs","repos_url":"https://api.github.com/users/mtrmac/repos","events_url":"https://api.github.com/users/mtrmac/events{/privacy}","received_events_url":"https://api.github.com/users/mtrmac/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtrmac/skopeo","description":" Work with remote images registries - retrieving information, images, signing content ","fork":true,"url":"https://api.github.com/repos/mtrmac/skopeo","forks_url":"https://api.github.com/repos/mtrmac/skopeo/forks","keys_url":"https://api.github.com/repos/mtrmac/skopeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtrmac/skopeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtrmac/skopeo/teams","hooks_url":"https://api.github.com/repos/mtrmac/skopeo/hooks","issue_events_url":"https://api.github.com/repos/mtrmac/skopeo/issues/events{/number}","events_url":"https://api.github.com/repos/mtrmac/skopeo/events","assignees_url":"https://api.github.com/repos/mtrmac/skopeo/assignees{/user}","branches_url":"https://api.github.com/repos/mtrmac/skopeo/branches{/branch}","tags_url":"https://api.github.com/repos/mtrmac/skopeo/tags","blobs_url":"https://api.github.com/repos/mtrmac/skopeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtrmac/skopeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtrmac/skopeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtrmac/skopeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtrmac/skopeo/statuses/{sha}","languages_url":"https://api.github.com/repos/mtrmac/skopeo/languages","stargazers_url":"https://api.github.com/repos/mtrmac/skopeo/stargazers","contributors_url":"https://api.github.com/repos/mtrmac/skopeo/contributors","subscribers_url":"https://api.github.com/repos/mtrmac/skopeo/subscribers","subscription_url":"https://api.github.com/repos/mtrmac/skopeo/subscription","commits_url":"https://api.github.com/repos/mtrmac/skopeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtrmac/skopeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtrmac/skopeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtrmac/skopeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtrmac/skopeo/contents/{+path}","compare_url":"https://api.github.com/repos/mtrmac/skopeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtrmac/skopeo/merges","archive_url":"https://api.github.com/repos/mtrmac/skopeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtrmac/skopeo/downloads","issues_url":"https://api.github.com/repos/mtrmac/skopeo/issues{/number}","pulls_url":"https://api.github.com/repos/mtrmac/skopeo/pulls{/number}","milestones_url":"https://api.github.com/repos/mtrmac/skopeo/milestones{/number}","notifications_url":"https://api.github.com/repos/mtrmac/skopeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtrmac/skopeo/labels{/name}","releases_url":"https://api.github.com/repos/mtrmac/skopeo/releases{/id}","deployments_url":"https://api.github.com/repos/mtrmac/skopeo/deployments","created_at":"2016-03-12T08:17:36Z","updated_at":"2016-05-16T16:30:07Z","pushed_at":"2016-05-16T18:51:59Z","git_url":"git://github.com/mtrmac/skopeo.git","ssh_url":"git@github.com:mtrmac/skopeo.git","clone_url":"https://github.com/mtrmac/skopeo.git","svn_url":"https://github.com/mtrmac/skopeo","homepage":"","size":1634,"stargazers_count":0,"watchers_count":0,"language":"Go","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":"projectatomic:master","ref":"master","sha":"c75f0f67802eb4678e865bf9c573399f4e699927","user":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"repo":{"id":53356367,"name":"skopeo","full_name":"projectatomic/skopeo","owner":{"login":"projectatomic","id":6852258,"avatar_url":"https://avatars.githubusercontent.com/u/6852258?v=3","gravatar_id":"","url":"https://api.github.com/users/projectatomic","html_url":"https://github.com/projectatomic","followers_url":"https://api.github.com/users/projectatomic/followers","following_url":"https://api.github.com/users/projectatomic/following{/other_user}","gists_url":"https://api.github.com/users/projectatomic/gists{/gist_id}","starred_url":"https://api.github.com/users/projectatomic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/projectatomic/subscriptions","organizations_url":"https://api.github.com/users/projectatomic/orgs","repos_url":"https://api.github.com/users/projectatomic/repos","events_url":"https://api.github.com/users/projectatomic/events{/privacy}","received_events_url":"https://api.github.com/users/projectatomic/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/projectatomic/skopeo","description":"Work with remote images registries - retrieving information, images, signing content","fork":false,"url":"https://api.github.com/repos/projectatomic/skopeo","forks_url":"https://api.github.com/repos/projectatomic/skopeo/forks","keys_url":"https://api.github.com/repos/projectatomic/skopeo/keys{/key_id}","collaborators_url":"https://api.github.com/repos/projectatomic/skopeo/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/projectatomic/skopeo/teams","hooks_url":"https://api.github.com/repos/projectatomic/skopeo/hooks","issue_events_url":"https://api.github.com/repos/projectatomic/skopeo/issues/events{/number}","events_url":"https://api.github.com/repos/projectatomic/skopeo/events","assignees_url":"https://api.github.com/repos/projectatomic/skopeo/assignees{/user}","branches_url":"https://api.github.com/repos/projectatomic/skopeo/branches{/branch}","tags_url":"https://api.github.com/repos/projectatomic/skopeo/tags","blobs_url":"https://api.github.com/repos/projectatomic/skopeo/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/projectatomic/skopeo/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/projectatomic/skopeo/git/refs{/sha}","trees_url":"https://api.github.com/repos/projectatomic/skopeo/git/trees{/sha}","statuses_url":"https://api.github.com/repos/projectatomic/skopeo/statuses/{sha}","languages_url":"https://api.github.com/repos/projectatomic/skopeo/languages","stargazers_url":"https://api.github.com/repos/projectatomic/skopeo/stargazers","contributors_url":"https://api.github.com/repos/projectatomic/skopeo/contributors","subscribers_url":"https://api.github.com/repos/projectatomic/skopeo/subscribers","subscription_url":"https://api.github.com/repos/projectatomic/skopeo/subscription","commits_url":"https://api.github.com/repos/projectatomic/skopeo/commits{/sha}","git_commits_url":"https://api.github.com/repos/projectatomic/skopeo/git/commits{/sha}","comments_url":"https://api.github.com/repos/projectatomic/skopeo/comments{/number}","issue_comment_url":"https://api.github.com/repos/projectatomic/skopeo/issues/comments{/number}","contents_url":"https://api.github.com/repos/projectatomic/skopeo/contents/{+path}","compare_url":"https://api.github.com/repos/projectatomic/skopeo/compare/{base}...{head}","merges_url":"https://api.github.com/repos/projectatomic/skopeo/merges","archive_url":"https://api.github.com/repos/projectatomic/skopeo/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/projectatomic/skopeo/downloads","issues_url":"https://api.github.com/repos/projectatomic/skopeo/issues{/number}","pulls_url":"https://api.github.com/repos/projectatomic/skopeo/pulls{/number}","milestones_url":"https://api.github.com/repos/projectatomic/skopeo/milestones{/number}","notifications_url":"https://api.github.com/repos/projectatomic/skopeo/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/projectatomic/skopeo/labels{/name}","releases_url":"https://api.github.com/repos/projectatomic/skopeo/releases{/id}","deployments_url":"https://api.github.com/repos/projectatomic/skopeo/deployments","created_at":"2016-03-07T20:23:29Z","updated_at":"2016-05-09T18:25:28Z","pushed_at":"2016-05-16T18:51:59Z","git_url":"git://github.com/projectatomic/skopeo.git","ssh_url":"git@github.com:projectatomic/skopeo.git","clone_url":"https://github.com/projectatomic/skopeo.git","svn_url":"https://github.com/projectatomic/skopeo","homepage":"","size":1662,"stargazers_count":9,"watchers_count":9,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":5,"mirror_url":null,"open_issues_count":12,"forks":5,"open_issues":12,"watchers":9,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/58"},"html":{"href":"https://github.com/projectatomic/skopeo/pull/58"},"issue":{"href":"https://api.github.com/repos/projectatomic/skopeo/issues/58"},"comments":{"href":"https://api.github.com/repos/projectatomic/skopeo/issues/58/comments"},"review_comments":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/58/comments"},"review_comment":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/projectatomic/skopeo/pulls/58/commits"},"statuses":{"href":"https://api.github.com/repos/projectatomic/skopeo/statuses/aa157364da2379193f1fbdc99642901936f0c81d"}}}}