{"action":"closed","number":21,"pull_request":{"url":"https://api.github.com/repos/google/godepq/pulls/21","id":85147852,"html_url":"https://github.com/google/godepq/pull/21","diff_url":"https://github.com/google/godepq/pull/21.diff","patch_url":"https://github.com/google/godepq/pull/21.patch","issue_url":"https://api.github.com/repos/google/godepq/issues/21","number":21,"state":"closed","locked":false,"title":"Don't include vendor path in package path","user":{"login":"timstclair","id":3272040,"avatar_url":"https://avatars.githubusercontent.com/u/3272040?v=3","gravatar_id":"","url":"https://api.github.com/users/timstclair","html_url":"https://github.com/timstclair","followers_url":"https://api.github.com/users/timstclair/followers","following_url":"https://api.github.com/users/timstclair/following{/other_user}","gists_url":"https://api.github.com/users/timstclair/gists{/gist_id}","starred_url":"https://api.github.com/users/timstclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstclair/subscriptions","organizations_url":"https://api.github.com/users/timstclair/orgs","repos_url":"https://api.github.com/users/timstclair/repos","events_url":"https://api.github.com/users/timstclair/events{/privacy}","received_events_url":"https://api.github.com/users/timstclair/received_events","type":"User","site_admin":false},"body":"`build.Context.Import` searches vendor directories, and will include the vendor path in the `ImportPath`. This causes the graph construction to fail, the vendor paths don't match the real path names.\r\n\r\nBefore:\r\n```\r\n$ godepq -from ./cmd/kubelet -to github.com/google/cadvisor/storage\r\nNo path found from \"k8s.io/kubernetes/cmd/kubelet\" to \"k8s.io/kubernetes/vendor/github.com/google/cadvisor/storage\"\r\n```\r\n\r\nAfter:\r\n```\r\n$ godepq -from k8s.io/kubernetes/cmd/kubelet -to github.com/google/cadvisor/storage\r\nPackages:\r\n  k8s.io/kubernetes/cmd/kubelet\r\n  k8s.io/kubernetes/cmd/kubelet/app\r\n  k8s.io/kubernetes/pkg/kubelet/server\r\n  k8s.io/kubernetes/pkg/kubelet/server/stats\r\n  k8s.io/kubernetes/pkg/kubelet/cm\r\n  k8s.io/kubernetes/pkg/kubelet/cadvisor\r\n  github.com/google/cadvisor/cache/memory\r\n  github.com/google/cadvisor/storage\r\n```","created_at":"2016-09-14T00:14:50Z","updated_at":"2016-09-14T00:54:24Z","closed_at":"2016-09-14T00:54:24Z","merged_at":"2016-09-14T00:54:24Z","merge_commit_sha":"5b86fdbc403533ab1516490ebf47bc969ac4d717","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/google/godepq/pulls/21/commits","review_comments_url":"https://api.github.com/repos/google/godepq/pulls/21/comments","review_comment_url":"https://api.github.com/repos/google/godepq/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/godepq/issues/21/comments","statuses_url":"https://api.github.com/repos/google/godepq/statuses/b43332857a6af39e65facc048b37df5cd7df12ad","head":{"label":"timstclair:vendor","ref":"vendor","sha":"b43332857a6af39e65facc048b37df5cd7df12ad","user":{"login":"timstclair","id":3272040,"avatar_url":"https://avatars.githubusercontent.com/u/3272040?v=3","gravatar_id":"","url":"https://api.github.com/users/timstclair","html_url":"https://github.com/timstclair","followers_url":"https://api.github.com/users/timstclair/followers","following_url":"https://api.github.com/users/timstclair/following{/other_user}","gists_url":"https://api.github.com/users/timstclair/gists{/gist_id}","starred_url":"https://api.github.com/users/timstclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstclair/subscriptions","organizations_url":"https://api.github.com/users/timstclair/orgs","repos_url":"https://api.github.com/users/timstclair/repos","events_url":"https://api.github.com/users/timstclair/events{/privacy}","received_events_url":"https://api.github.com/users/timstclair/received_events","type":"User","site_admin":false},"repo":{"id":62840692,"name":"godepq","full_name":"timstclair/godepq","owner":{"login":"timstclair","id":3272040,"avatar_url":"https://avatars.githubusercontent.com/u/3272040?v=3","gravatar_id":"","url":"https://api.github.com/users/timstclair","html_url":"https://github.com/timstclair","followers_url":"https://api.github.com/users/timstclair/followers","following_url":"https://api.github.com/users/timstclair/following{/other_user}","gists_url":"https://api.github.com/users/timstclair/gists{/gist_id}","starred_url":"https://api.github.com/users/timstclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstclair/subscriptions","organizations_url":"https://api.github.com/users/timstclair/orgs","repos_url":"https://api.github.com/users/timstclair/repos","events_url":"https://api.github.com/users/timstclair/events{/privacy}","received_events_url":"https://api.github.com/users/timstclair/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/timstclair/godepq","description":null,"fork":true,"url":"https://api.github.com/repos/timstclair/godepq","forks_url":"https://api.github.com/repos/timstclair/godepq/forks","keys_url":"https://api.github.com/repos/timstclair/godepq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/timstclair/godepq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/timstclair/godepq/teams","hooks_url":"https://api.github.com/repos/timstclair/godepq/hooks","issue_events_url":"https://api.github.com/repos/timstclair/godepq/issues/events{/number}","events_url":"https://api.github.com/repos/timstclair/godepq/events","assignees_url":"https://api.github.com/repos/timstclair/godepq/assignees{/user}","branches_url":"https://api.github.com/repos/timstclair/godepq/branches{/branch}","tags_url":"https://api.github.com/repos/timstclair/godepq/tags","blobs_url":"https://api.github.com/repos/timstclair/godepq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/timstclair/godepq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/timstclair/godepq/git/refs{/sha}","trees_url":"https://api.github.com/repos/timstclair/godepq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/timstclair/godepq/statuses/{sha}","languages_url":"https://api.github.com/repos/timstclair/godepq/languages","stargazers_url":"https://api.github.com/repos/timstclair/godepq/stargazers","contributors_url":"https://api.github.com/repos/timstclair/godepq/contributors","subscribers_url":"https://api.github.com/repos/timstclair/godepq/subscribers","subscription_url":"https://api.github.com/repos/timstclair/godepq/subscription","commits_url":"https://api.github.com/repos/timstclair/godepq/commits{/sha}","git_commits_url":"https://api.github.com/repos/timstclair/godepq/git/commits{/sha}","comments_url":"https://api.github.com/repos/timstclair/godepq/comments{/number}","issue_comment_url":"https://api.github.com/repos/timstclair/godepq/issues/comments{/number}","contents_url":"https://api.github.com/repos/timstclair/godepq/contents/{+path}","compare_url":"https://api.github.com/repos/timstclair/godepq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/timstclair/godepq/merges","archive_url":"https://api.github.com/repos/timstclair/godepq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/timstclair/godepq/downloads","issues_url":"https://api.github.com/repos/timstclair/godepq/issues{/number}","pulls_url":"https://api.github.com/repos/timstclair/godepq/pulls{/number}","milestones_url":"https://api.github.com/repos/timstclair/godepq/milestones{/number}","notifications_url":"https://api.github.com/repos/timstclair/godepq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/timstclair/godepq/labels{/name}","releases_url":"https://api.github.com/repos/timstclair/godepq/releases{/id}","deployments_url":"https://api.github.com/repos/timstclair/godepq/deployments","created_at":"2016-07-07T21:59:58Z","updated_at":"2016-07-07T21:59:59Z","pushed_at":"2016-09-14T00:23:42Z","git_url":"git://github.com/timstclair/godepq.git","ssh_url":"git@github.com:timstclair/godepq.git","clone_url":"https://github.com/timstclair/godepq.git","svn_url":"https://github.com/timstclair/godepq","homepage":null,"size":1014,"stargazers_count":0,"watchers_count":0,"language":"Go","has_issues":false,"has_downloads":false,"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":"google:master","ref":"master","sha":"dc79f3e939ad51584b3530b8098ad1e836e9ea88","user":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"repo":{"id":62405464,"name":"godepq","full_name":"google/godepq","owner":{"login":"google","id":1342004,"avatar_url":"https://avatars.githubusercontent.com/u/1342004?v=3","gravatar_id":"","url":"https://api.github.com/users/google","html_url":"https://github.com/google","followers_url":"https://api.github.com/users/google/followers","following_url":"https://api.github.com/users/google/following{/other_user}","gists_url":"https://api.github.com/users/google/gists{/gist_id}","starred_url":"https://api.github.com/users/google/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/google/subscriptions","organizations_url":"https://api.github.com/users/google/orgs","repos_url":"https://api.github.com/users/google/repos","events_url":"https://api.github.com/users/google/events{/privacy}","received_events_url":"https://api.github.com/users/google/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/google/godepq","description":null,"fork":false,"url":"https://api.github.com/repos/google/godepq","forks_url":"https://api.github.com/repos/google/godepq/forks","keys_url":"https://api.github.com/repos/google/godepq/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/godepq/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/godepq/teams","hooks_url":"https://api.github.com/repos/google/godepq/hooks","issue_events_url":"https://api.github.com/repos/google/godepq/issues/events{/number}","events_url":"https://api.github.com/repos/google/godepq/events","assignees_url":"https://api.github.com/repos/google/godepq/assignees{/user}","branches_url":"https://api.github.com/repos/google/godepq/branches{/branch}","tags_url":"https://api.github.com/repos/google/godepq/tags","blobs_url":"https://api.github.com/repos/google/godepq/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/godepq/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/godepq/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/godepq/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/godepq/statuses/{sha}","languages_url":"https://api.github.com/repos/google/godepq/languages","stargazers_url":"https://api.github.com/repos/google/godepq/stargazers","contributors_url":"https://api.github.com/repos/google/godepq/contributors","subscribers_url":"https://api.github.com/repos/google/godepq/subscribers","subscription_url":"https://api.github.com/repos/google/godepq/subscription","commits_url":"https://api.github.com/repos/google/godepq/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/godepq/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/godepq/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/godepq/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/godepq/contents/{+path}","compare_url":"https://api.github.com/repos/google/godepq/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/godepq/merges","archive_url":"https://api.github.com/repos/google/godepq/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/godepq/downloads","issues_url":"https://api.github.com/repos/google/godepq/issues{/number}","pulls_url":"https://api.github.com/repos/google/godepq/pulls{/number}","milestones_url":"https://api.github.com/repos/google/godepq/milestones{/number}","notifications_url":"https://api.github.com/repos/google/godepq/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/godepq/labels{/name}","releases_url":"https://api.github.com/repos/google/godepq/releases{/id}","deployments_url":"https://api.github.com/repos/google/godepq/deployments","created_at":"2016-07-01T16:18:50Z","updated_at":"2016-09-03T15:31:36Z","pushed_at":"2016-09-14T00:54:24Z","git_url":"git://github.com/google/godepq.git","ssh_url":"git@github.com:google/godepq.git","clone_url":"https://github.com/google/godepq.git","svn_url":"https://github.com/google/godepq","homepage":null,"size":1019,"stargazers_count":258,"watchers_count":258,"language":"Go","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":10,"mirror_url":null,"open_issues_count":6,"forks":10,"open_issues":6,"watchers":258,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/godepq/pulls/21"},"html":{"href":"https://github.com/google/godepq/pull/21"},"issue":{"href":"https://api.github.com/repos/google/godepq/issues/21"},"comments":{"href":"https://api.github.com/repos/google/godepq/issues/21/comments"},"review_comments":{"href":"https://api.github.com/repos/google/godepq/pulls/21/comments"},"review_comment":{"href":"https://api.github.com/repos/google/godepq/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/godepq/pulls/21/commits"},"statuses":{"href":"https://api.github.com/repos/google/godepq/statuses/b43332857a6af39e65facc048b37df5cd7df12ad"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"timstclair","id":3272040,"avatar_url":"https://avatars.githubusercontent.com/u/3272040?v=3","gravatar_id":"","url":"https://api.github.com/users/timstclair","html_url":"https://github.com/timstclair","followers_url":"https://api.github.com/users/timstclair/followers","following_url":"https://api.github.com/users/timstclair/following{/other_user}","gists_url":"https://api.github.com/users/timstclair/gists{/gist_id}","starred_url":"https://api.github.com/users/timstclair/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timstclair/subscriptions","organizations_url":"https://api.github.com/users/timstclair/orgs","repos_url":"https://api.github.com/users/timstclair/repos","events_url":"https://api.github.com/users/timstclair/events{/privacy}","received_events_url":"https://api.github.com/users/timstclair/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"commits":1,"additions":23,"deletions":2,"changed_files":2}}
{"actor":{"display_login":"timstclair"}}