{"action":"created","comment":{"url":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments/139332549","pull_request_review_id":63249462,"id":139332549,"diff_hunk":"@@ -59,8 +59,21 @@ lint:\n \t@echo \"checking lint\"\n \t@./.tool/lint\n \n-test:\n-\tgo test -v -race -cover $(shell go list ./... | grep -v /vendor/)\n+.PHONY: .gofmt .govet .gotest\n+\n+PACKAGES = $(shell go list ./... | grep -v /vendor/)\n+test: .gofmt .govet .gotest\n+\n+FILES = $(shell find ./ -name *.go | grep -v vendor)\n+.gofmt:\n+\tOUT=$$(gofmt -s -d $(FILES)); if test -n \"$${OUT}\"; then echo \"$${OUT}\" && exit 1; fi\n+\n+.govet:\n+\tgo vet -x $(PACKAGES)\n+\n+UTDIRS = ./image/...\n+.gotest:\n+\tgo test -v -race -cover $(UTDIRS)","path":"Makefile","position":null,"original_position":20,"commit_id":"3ace3abdc45763e404c982e130007568a54dc8f7","original_commit_id":"cddee97bfa74ed00667a5cfead7b76d3cc28e34f","user":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars0.githubusercontent.com/u/19640187?v=4","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":"Fine, updated.","created_at":"2017-09-18T03:21:01Z","updated_at":"2017-09-18T03:21:01Z","html_url":"https://github.com/opencontainers/image-tools/pull/161#discussion_r139332549","pull_request_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/161","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/comments/139332549"},"html":{"href":"https://github.com/opencontainers/image-tools/pull/161#discussion_r139332549"},"pull_request":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/161"}},"in_reply_to_id":139328066},"pull_request":{"url":"https://api.github.com/repos/opencontainers/image-tools/pulls/161","id":131269088,"html_url":"https://github.com/opencontainers/image-tools/pull/161","diff_url":"https://github.com/opencontainers/image-tools/pull/161.diff","patch_url":"https://github.com/opencontainers/image-tools/pull/161.patch","issue_url":"https://api.github.com/repos/opencontainers/image-tools/issues/161","number":161,"state":"open","locked":false,"title":"Makefile: add gofmt and govet to test","user":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars0.githubusercontent.com/u/19640187?v=4","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":"Signed-off-by: zhouhao <zhouhao@cn.fujitsu.com>","created_at":"2017-07-19T08:57:07Z","updated_at":"2017-09-18T03:21:01Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f057a7c510d4af46b29327916efa505294b17af8","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/161/commits","review_comments_url":"https://api.github.com/repos/opencontainers/image-tools/pulls/161/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/161/comments","statuses_url":"https://api.github.com/repos/opencontainers/image-tools/statuses/3ace3abdc45763e404c982e130007568a54dc8f7","head":{"label":"q384566678:makefile-test-fix","ref":"makefile-test-fix","sha":"3ace3abdc45763e404c982e130007568a54dc8f7","user":{"login":"q384566678","id":19640187,"avatar_url":"https://avatars0.githubusercontent.com/u/19640187?v=4","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://avatars0.githubusercontent.com/u/19640187?v=4","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-09-18T03:20:32Z","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":2244,"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":"da685aae24c509f5636a3920f1d460966ed1f1e0","user":{"login":"opencontainers","id":12563465,"avatar_url":"https://avatars1.githubusercontent.com/u/12563465?v=4","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://avatars1.githubusercontent.com/u/12563465?v=4","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-09-16T13:34:39Z","pushed_at":"2017-09-18T03:20:33Z","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":2228,"stargazers_count":49,"watchers_count":49,"language":"Go","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":41,"mirror_url":null,"open_issues_count":60,"forks":41,"open_issues":60,"watchers":49,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/161"},"html":{"href":"https://github.com/opencontainers/image-tools/pull/161"},"issue":{"href":"https://api.github.com/repos/opencontainers/image-tools/issues/161"},"comments":{"href":"https://api.github.com/repos/opencontainers/image-tools/issues/161/comments"},"review_comments":{"href":"https://api.github.com/repos/opencontainers/image-tools/pulls/161/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/161/commits"},"statuses":{"href":"https://api.github.com/repos/opencontainers/image-tools/statuses/3ace3abdc45763e404c982e130007568a54dc8f7"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"q384566678"}}