{"action":"closed","number":50,"pull_request":{"url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50","id":46222097,"html_url":"https://github.com/sourcegraph/srclib-go/pull/50","diff_url":"https://github.com/sourcegraph/srclib-go/pull/50.diff","patch_url":"https://github.com/sourcegraph/srclib-go/pull/50.patch","issue_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/50","number":50,"state":"closed","locked":false,"title":"scan: ignore dirs with multiple packages","user":{"login":"pararthshah","id":1484859,"avatar_url":"https://avatars.githubusercontent.com/u/1484859?v=3","gravatar_id":"","url":"https://api.github.com/users/pararthshah","html_url":"https://github.com/pararthshah","followers_url":"https://api.github.com/users/pararthshah/followers","following_url":"https://api.github.com/users/pararthshah/following{/other_user}","gists_url":"https://api.github.com/users/pararthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/pararthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pararthshah/subscriptions","organizations_url":"https://api.github.com/users/pararthshah/orgs","repos_url":"https://api.github.com/users/pararthshah/repos","events_url":"https://api.github.com/users/pararthshah/events{/privacy}","received_events_url":"https://api.github.com/users/pararthshah/received_events","type":"User","site_admin":false},"body":"This will fix build errors in repositories where some directories might contain source files from different packages, by ignoring those directories. Usually such directories are example code files, eg https://github.com/golang/go/tree/master/doc/progs, so it is okay to ignore them in the build.","created_at":"2015-09-28T23:48:44Z","updated_at":"2015-09-29T00:59:23Z","closed_at":"2015-09-29T00:59:23Z","merged_at":"2015-09-29T00:59:23Z","merge_commit_sha":"094c2843cb8ab21c18ef92bc91e713f835113bc8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50/commits","review_comments_url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50/comments","review_comment_url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/50/comments","statuses_url":"https://api.github.com/repos/sourcegraph/srclib-go/statuses/1de2ad28d413a8bd864fbc1b5ec134b463137da4","head":{"label":"sourcegraph:ignore-multi-pkg-dirs","ref":"ignore-multi-pkg-dirs","sha":"1de2ad28d413a8bd864fbc1b5ec134b463137da4","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":22002175,"name":"srclib-go","full_name":"sourcegraph/srclib-go","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/srclib-go","description":"Go toolchain for srclib","fork":false,"url":"https://api.github.com/repos/sourcegraph/srclib-go","forks_url":"https://api.github.com/repos/sourcegraph/srclib-go/forks","keys_url":"https://api.github.com/repos/sourcegraph/srclib-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/srclib-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/srclib-go/teams","hooks_url":"https://api.github.com/repos/sourcegraph/srclib-go/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/srclib-go/events","assignees_url":"https://api.github.com/repos/sourcegraph/srclib-go/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/srclib-go/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/srclib-go/tags","blobs_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/srclib-go/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/srclib-go/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/srclib-go/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/srclib-go/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/srclib-go/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/srclib-go/subscription","commits_url":"https://api.github.com/repos/sourcegraph/srclib-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/srclib-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/srclib-go/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/srclib-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/srclib-go/merges","archive_url":"https://api.github.com/repos/sourcegraph/srclib-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/srclib-go/downloads","issues_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/srclib-go/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/srclib-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/srclib-go/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/srclib-go/releases{/id}","created_at":"2014-07-19T04:47:45Z","updated_at":"2015-07-19T03:21:28Z","pushed_at":"2015-09-29T00:59:23Z","git_url":"git://github.com/sourcegraph/srclib-go.git","ssh_url":"git@github.com:sourcegraph/srclib-go.git","clone_url":"https://github.com/sourcegraph/srclib-go.git","svn_url":"https://github.com/sourcegraph/srclib-go","homepage":"https://sourcegraph.com/sourcegraph/srclib-go","size":3039,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":17,"default_branch":"master"}},"base":{"label":"sourcegraph:master","ref":"master","sha":"46077e26fa1312f319d01a9b4c9ed31275308656","user":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"repo":{"id":22002175,"name":"srclib-go","full_name":"sourcegraph/srclib-go","owner":{"login":"sourcegraph","id":3979584,"avatar_url":"https://avatars.githubusercontent.com/u/3979584?v=3","gravatar_id":"","url":"https://api.github.com/users/sourcegraph","html_url":"https://github.com/sourcegraph","followers_url":"https://api.github.com/users/sourcegraph/followers","following_url":"https://api.github.com/users/sourcegraph/following{/other_user}","gists_url":"https://api.github.com/users/sourcegraph/gists{/gist_id}","starred_url":"https://api.github.com/users/sourcegraph/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sourcegraph/subscriptions","organizations_url":"https://api.github.com/users/sourcegraph/orgs","repos_url":"https://api.github.com/users/sourcegraph/repos","events_url":"https://api.github.com/users/sourcegraph/events{/privacy}","received_events_url":"https://api.github.com/users/sourcegraph/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sourcegraph/srclib-go","description":"Go toolchain for srclib","fork":false,"url":"https://api.github.com/repos/sourcegraph/srclib-go","forks_url":"https://api.github.com/repos/sourcegraph/srclib-go/forks","keys_url":"https://api.github.com/repos/sourcegraph/srclib-go/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sourcegraph/srclib-go/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sourcegraph/srclib-go/teams","hooks_url":"https://api.github.com/repos/sourcegraph/srclib-go/hooks","issue_events_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/events{/number}","events_url":"https://api.github.com/repos/sourcegraph/srclib-go/events","assignees_url":"https://api.github.com/repos/sourcegraph/srclib-go/assignees{/user}","branches_url":"https://api.github.com/repos/sourcegraph/srclib-go/branches{/branch}","tags_url":"https://api.github.com/repos/sourcegraph/srclib-go/tags","blobs_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/refs{/sha}","trees_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sourcegraph/srclib-go/statuses/{sha}","languages_url":"https://api.github.com/repos/sourcegraph/srclib-go/languages","stargazers_url":"https://api.github.com/repos/sourcegraph/srclib-go/stargazers","contributors_url":"https://api.github.com/repos/sourcegraph/srclib-go/contributors","subscribers_url":"https://api.github.com/repos/sourcegraph/srclib-go/subscribers","subscription_url":"https://api.github.com/repos/sourcegraph/srclib-go/subscription","commits_url":"https://api.github.com/repos/sourcegraph/srclib-go/commits{/sha}","git_commits_url":"https://api.github.com/repos/sourcegraph/srclib-go/git/commits{/sha}","comments_url":"https://api.github.com/repos/sourcegraph/srclib-go/comments{/number}","issue_comment_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues/comments{/number}","contents_url":"https://api.github.com/repos/sourcegraph/srclib-go/contents/{+path}","compare_url":"https://api.github.com/repos/sourcegraph/srclib-go/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sourcegraph/srclib-go/merges","archive_url":"https://api.github.com/repos/sourcegraph/srclib-go/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sourcegraph/srclib-go/downloads","issues_url":"https://api.github.com/repos/sourcegraph/srclib-go/issues{/number}","pulls_url":"https://api.github.com/repos/sourcegraph/srclib-go/pulls{/number}","milestones_url":"https://api.github.com/repos/sourcegraph/srclib-go/milestones{/number}","notifications_url":"https://api.github.com/repos/sourcegraph/srclib-go/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sourcegraph/srclib-go/labels{/name}","releases_url":"https://api.github.com/repos/sourcegraph/srclib-go/releases{/id}","created_at":"2014-07-19T04:47:45Z","updated_at":"2015-07-19T03:21:28Z","pushed_at":"2015-09-29T00:59:23Z","git_url":"git://github.com/sourcegraph/srclib-go.git","ssh_url":"git@github.com:sourcegraph/srclib-go.git","clone_url":"https://github.com/sourcegraph/srclib-go.git","svn_url":"https://github.com/sourcegraph/srclib-go","homepage":"https://sourcegraph.com/sourcegraph/srclib-go","size":3039,"stargazers_count":17,"watchers_count":17,"language":"Go","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":8,"mirror_url":null,"open_issues_count":9,"forks":8,"open_issues":9,"watchers":17,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50"},"html":{"href":"https://github.com/sourcegraph/srclib-go/pull/50"},"issue":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/issues/50"},"comments":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/issues/50/comments"},"review_comments":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50/comments"},"review_comment":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/pulls/50/commits"},"statuses":{"href":"https://api.github.com/repos/sourcegraph/srclib-go/statuses/1de2ad28d413a8bd864fbc1b5ec134b463137da4"}},"merged":true,"mergeable":null,"mergeable_state":"unknown","merged_by":{"login":"pararthshah","id":1484859,"avatar_url":"https://avatars.githubusercontent.com/u/1484859?v=3","gravatar_id":"","url":"https://api.github.com/users/pararthshah","html_url":"https://github.com/pararthshah","followers_url":"https://api.github.com/users/pararthshah/followers","following_url":"https://api.github.com/users/pararthshah/following{/other_user}","gists_url":"https://api.github.com/users/pararthshah/gists{/gist_id}","starred_url":"https://api.github.com/users/pararthshah/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pararthshah/subscriptions","organizations_url":"https://api.github.com/users/pararthshah/orgs","repos_url":"https://api.github.com/users/pararthshah/repos","events_url":"https://api.github.com/users/pararthshah/events{/privacy}","received_events_url":"https://api.github.com/users/pararthshah/received_events","type":"User","site_admin":false},"comments":1,"review_comments":3,"commits":3,"additions":7,"deletions":2,"changed_files":1}}