{"action":"closed","number":119,"pull_request":{"url":"https://api.github.com/repos/gojp/goreportcard/pulls/119","id":68209837,"html_url":"https://github.com/gojp/goreportcard/pull/119","diff_url":"https://github.com/gojp/goreportcard/pull/119.diff","patch_url":"https://github.com/gojp/goreportcard/pull/119.patch","issue_url":"https://api.github.com/repos/gojp/goreportcard/issues/119","number":119,"state":"closed","locked":false,"title":"Fix edge case where we can not go get the repo","user":{"login":"hermanschaaf","id":1121616,"avatar_url":"https://avatars.githubusercontent.com/u/1121616?v=3","gravatar_id":"","url":"https://api.github.com/users/hermanschaaf","html_url":"https://github.com/hermanschaaf","followers_url":"https://api.github.com/users/hermanschaaf/followers","following_url":"https://api.github.com/users/hermanschaaf/following{/other_user}","gists_url":"https://api.github.com/users/hermanschaaf/gists{/gist_id}","starred_url":"https://api.github.com/users/hermanschaaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hermanschaaf/subscriptions","organizations_url":"https://api.github.com/users/hermanschaaf/orgs","repos_url":"https://api.github.com/users/hermanschaaf/repos","events_url":"https://api.github.com/users/hermanschaaf/events{/privacy}","received_events_url":"https://api.github.com/users/hermanschaaf/received_events","type":"User","site_admin":false},"body":"This fixes an edge case where the repo being tested has a dependency that\r\nhas had its git history rebased, thus causing go get to fail, and a subsequent\r\ndelete of that repo and another go get to fail as well. Now, if go get fails the first time,\r\nwe read the error message and clear the directory that caused the error. Then we try again.\r\nIf we get the same error two times in a row, something is wrong, and we return failure. If not,\r\nwe keep going and deleting cached repos until no error is returned.","created_at":"2016-04-28T12:11:58Z","updated_at":"2016-04-28T12:45:12Z","closed_at":"2016-04-28T12:45:12Z","merged_at":"2016-04-28T12:45:12Z","merge_commit_sha":"f5de0d298ffa15e0cd89eb8d4ed0751ac8fd174f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/gojp/goreportcard/pulls/119/commits","review_comments_url":"https://api.github.com/repos/gojp/goreportcard/pulls/119/comments","review_comment_url":"https://api.github.com/repos/gojp/goreportcard/pulls/comments{/number}","comments_url":"https://api.github.com/repos/gojp/goreportcard/issues/119/comments","statuses_url":"https://api.github.com/repos/gojp/goreportcard/statuses/b7d740ac6db03127516e5b386aa7a6a69d08494b","head":{"label":"gojp:fix-error-could-not-go-get","ref":"fix-error-could-not-go-get","sha":"b7d740ac6db03127516e5b386aa7a6a69d08494b","user":{"login":"gojp","id":5365998,"avatar_url":"https://avatars.githubusercontent.com/u/5365998?v=3","gravatar_id":"","url":"https://api.github.com/users/gojp","html_url":"https://github.com/gojp","followers_url":"https://api.github.com/users/gojp/followers","following_url":"https://api.github.com/users/gojp/following{/other_user}","gists_url":"https://api.github.com/users/gojp/gists{/gist_id}","starred_url":"https://api.github.com/users/gojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojp/subscriptions","organizations_url":"https://api.github.com/users/gojp/orgs","repos_url":"https://api.github.com/users/gojp/repos","events_url":"https://api.github.com/users/gojp/events{/privacy}","received_events_url":"https://api.github.com/users/gojp/received_events","type":"Organization","site_admin":false},"repo":{"id":30025542,"name":"goreportcard","full_name":"gojp/goreportcard","owner":{"login":"gojp","id":5365998,"avatar_url":"https://avatars.githubusercontent.com/u/5365998?v=3","gravatar_id":"","url":"https://api.github.com/users/gojp","html_url":"https://github.com/gojp","followers_url":"https://api.github.com/users/gojp/followers","following_url":"https://api.github.com/users/gojp/following{/other_user}","gists_url":"https://api.github.com/users/gojp/gists{/gist_id}","starred_url":"https://api.github.com/users/gojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojp/subscriptions","organizations_url":"https://api.github.com/users/gojp/orgs","repos_url":"https://api.github.com/users/gojp/repos","events_url":"https://api.github.com/users/gojp/events{/privacy}","received_events_url":"https://api.github.com/users/gojp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gojp/goreportcard","description":"A report card for your Go application","fork":false,"url":"https://api.github.com/repos/gojp/goreportcard","forks_url":"https://api.github.com/repos/gojp/goreportcard/forks","keys_url":"https://api.github.com/repos/gojp/goreportcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gojp/goreportcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gojp/goreportcard/teams","hooks_url":"https://api.github.com/repos/gojp/goreportcard/hooks","issue_events_url":"https://api.github.com/repos/gojp/goreportcard/issues/events{/number}","events_url":"https://api.github.com/repos/gojp/goreportcard/events","assignees_url":"https://api.github.com/repos/gojp/goreportcard/assignees{/user}","branches_url":"https://api.github.com/repos/gojp/goreportcard/branches{/branch}","tags_url":"https://api.github.com/repos/gojp/goreportcard/tags","blobs_url":"https://api.github.com/repos/gojp/goreportcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gojp/goreportcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gojp/goreportcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/gojp/goreportcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gojp/goreportcard/statuses/{sha}","languages_url":"https://api.github.com/repos/gojp/goreportcard/languages","stargazers_url":"https://api.github.com/repos/gojp/goreportcard/stargazers","contributors_url":"https://api.github.com/repos/gojp/goreportcard/contributors","subscribers_url":"https://api.github.com/repos/gojp/goreportcard/subscribers","subscription_url":"https://api.github.com/repos/gojp/goreportcard/subscription","commits_url":"https://api.github.com/repos/gojp/goreportcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/gojp/goreportcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/gojp/goreportcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/gojp/goreportcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/gojp/goreportcard/contents/{+path}","compare_url":"https://api.github.com/repos/gojp/goreportcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gojp/goreportcard/merges","archive_url":"https://api.github.com/repos/gojp/goreportcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gojp/goreportcard/downloads","issues_url":"https://api.github.com/repos/gojp/goreportcard/issues{/number}","pulls_url":"https://api.github.com/repos/gojp/goreportcard/pulls{/number}","milestones_url":"https://api.github.com/repos/gojp/goreportcard/milestones{/number}","notifications_url":"https://api.github.com/repos/gojp/goreportcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gojp/goreportcard/labels{/name}","releases_url":"https://api.github.com/repos/gojp/goreportcard/releases{/id}","deployments_url":"https://api.github.com/repos/gojp/goreportcard/deployments","created_at":"2015-01-29T15:07:37Z","updated_at":"2016-04-28T12:31:00Z","pushed_at":"2016-04-28T12:45:12Z","git_url":"git://github.com/gojp/goreportcard.git","ssh_url":"git@github.com:gojp/goreportcard.git","clone_url":"https://github.com/gojp/goreportcard.git","svn_url":"https://github.com/gojp/goreportcard","homepage":"https://goreportcard.com","size":3785,"stargazers_count":209,"watchers_count":209,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":29,"forks":26,"open_issues":29,"watchers":209,"default_branch":"master"}},"base":{"label":"gojp:master","ref":"master","sha":"a039cb3ec8932560654efe742ca55301161da8fe","user":{"login":"gojp","id":5365998,"avatar_url":"https://avatars.githubusercontent.com/u/5365998?v=3","gravatar_id":"","url":"https://api.github.com/users/gojp","html_url":"https://github.com/gojp","followers_url":"https://api.github.com/users/gojp/followers","following_url":"https://api.github.com/users/gojp/following{/other_user}","gists_url":"https://api.github.com/users/gojp/gists{/gist_id}","starred_url":"https://api.github.com/users/gojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojp/subscriptions","organizations_url":"https://api.github.com/users/gojp/orgs","repos_url":"https://api.github.com/users/gojp/repos","events_url":"https://api.github.com/users/gojp/events{/privacy}","received_events_url":"https://api.github.com/users/gojp/received_events","type":"Organization","site_admin":false},"repo":{"id":30025542,"name":"goreportcard","full_name":"gojp/goreportcard","owner":{"login":"gojp","id":5365998,"avatar_url":"https://avatars.githubusercontent.com/u/5365998?v=3","gravatar_id":"","url":"https://api.github.com/users/gojp","html_url":"https://github.com/gojp","followers_url":"https://api.github.com/users/gojp/followers","following_url":"https://api.github.com/users/gojp/following{/other_user}","gists_url":"https://api.github.com/users/gojp/gists{/gist_id}","starred_url":"https://api.github.com/users/gojp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gojp/subscriptions","organizations_url":"https://api.github.com/users/gojp/orgs","repos_url":"https://api.github.com/users/gojp/repos","events_url":"https://api.github.com/users/gojp/events{/privacy}","received_events_url":"https://api.github.com/users/gojp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/gojp/goreportcard","description":"A report card for your Go application","fork":false,"url":"https://api.github.com/repos/gojp/goreportcard","forks_url":"https://api.github.com/repos/gojp/goreportcard/forks","keys_url":"https://api.github.com/repos/gojp/goreportcard/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gojp/goreportcard/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gojp/goreportcard/teams","hooks_url":"https://api.github.com/repos/gojp/goreportcard/hooks","issue_events_url":"https://api.github.com/repos/gojp/goreportcard/issues/events{/number}","events_url":"https://api.github.com/repos/gojp/goreportcard/events","assignees_url":"https://api.github.com/repos/gojp/goreportcard/assignees{/user}","branches_url":"https://api.github.com/repos/gojp/goreportcard/branches{/branch}","tags_url":"https://api.github.com/repos/gojp/goreportcard/tags","blobs_url":"https://api.github.com/repos/gojp/goreportcard/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gojp/goreportcard/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gojp/goreportcard/git/refs{/sha}","trees_url":"https://api.github.com/repos/gojp/goreportcard/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gojp/goreportcard/statuses/{sha}","languages_url":"https://api.github.com/repos/gojp/goreportcard/languages","stargazers_url":"https://api.github.com/repos/gojp/goreportcard/stargazers","contributors_url":"https://api.github.com/repos/gojp/goreportcard/contributors","subscribers_url":"https://api.github.com/repos/gojp/goreportcard/subscribers","subscription_url":"https://api.github.com/repos/gojp/goreportcard/subscription","commits_url":"https://api.github.com/repos/gojp/goreportcard/commits{/sha}","git_commits_url":"https://api.github.com/repos/gojp/goreportcard/git/commits{/sha}","comments_url":"https://api.github.com/repos/gojp/goreportcard/comments{/number}","issue_comment_url":"https://api.github.com/repos/gojp/goreportcard/issues/comments{/number}","contents_url":"https://api.github.com/repos/gojp/goreportcard/contents/{+path}","compare_url":"https://api.github.com/repos/gojp/goreportcard/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gojp/goreportcard/merges","archive_url":"https://api.github.com/repos/gojp/goreportcard/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gojp/goreportcard/downloads","issues_url":"https://api.github.com/repos/gojp/goreportcard/issues{/number}","pulls_url":"https://api.github.com/repos/gojp/goreportcard/pulls{/number}","milestones_url":"https://api.github.com/repos/gojp/goreportcard/milestones{/number}","notifications_url":"https://api.github.com/repos/gojp/goreportcard/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gojp/goreportcard/labels{/name}","releases_url":"https://api.github.com/repos/gojp/goreportcard/releases{/id}","deployments_url":"https://api.github.com/repos/gojp/goreportcard/deployments","created_at":"2015-01-29T15:07:37Z","updated_at":"2016-04-28T12:31:00Z","pushed_at":"2016-04-28T12:45:12Z","git_url":"git://github.com/gojp/goreportcard.git","ssh_url":"git@github.com:gojp/goreportcard.git","clone_url":"https://github.com/gojp/goreportcard.git","svn_url":"https://github.com/gojp/goreportcard","homepage":"https://goreportcard.com","size":3785,"stargazers_count":209,"watchers_count":209,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":26,"mirror_url":null,"open_issues_count":29,"forks":26,"open_issues":29,"watchers":209,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/gojp/goreportcard/pulls/119"},"html":{"href":"https://github.com/gojp/goreportcard/pull/119"},"issue":{"href":"https://api.github.com/repos/gojp/goreportcard/issues/119"},"comments":{"href":"https://api.github.com/repos/gojp/goreportcard/issues/119/comments"},"review_comments":{"href":"https://api.github.com/repos/gojp/goreportcard/pulls/119/comments"},"review_comment":{"href":"https://api.github.com/repos/gojp/goreportcard/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/gojp/goreportcard/pulls/119/commits"},"statuses":{"href":"https://api.github.com/repos/gojp/goreportcard/statuses/b7d740ac6db03127516e5b386aa7a6a69d08494b"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"shawnps","id":80111,"avatar_url":"https://avatars.githubusercontent.com/u/80111?v=3","gravatar_id":"","url":"https://api.github.com/users/shawnps","html_url":"https://github.com/shawnps","followers_url":"https://api.github.com/users/shawnps/followers","following_url":"https://api.github.com/users/shawnps/following{/other_user}","gists_url":"https://api.github.com/users/shawnps/gists{/gist_id}","starred_url":"https://api.github.com/users/shawnps/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shawnps/subscriptions","organizations_url":"https://api.github.com/users/shawnps/orgs","repos_url":"https://api.github.com/users/shawnps/repos","events_url":"https://api.github.com/users/shawnps/events{/privacy}","received_events_url":"https://api.github.com/users/shawnps/received_events","type":"User","site_admin":false},"comments":1,"review_comments":0,"commits":1,"additions":34,"deletions":7,"changed_files":1}}