{"action":"opened","number":1151,"pull_request":{"url":"https://api.github.com/repos/google/protobuf/pulls/1151","id":56437146,"html_url":"https://github.com/google/protobuf/pull/1151","diff_url":"https://github.com/google/protobuf/pull/1151.diff","patch_url":"https://github.com/google/protobuf/pull/1151.patch","issue_url":"https://api.github.com/repos/google/protobuf/issues/1151","number":1151,"state":"open","locked":false,"title":"Use labels for proto bazel include paths","user":{"login":"earhart","id":10557912,"avatar_url":"https://avatars.githubusercontent.com/u/10557912?v=3","gravatar_id":"","url":"https://api.github.com/users/earhart","html_url":"https://github.com/earhart","followers_url":"https://api.github.com/users/earhart/followers","following_url":"https://api.github.com/users/earhart/following{/other_user}","gists_url":"https://api.github.com/users/earhart/gists{/gist_id}","starred_url":"https://api.github.com/users/earhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earhart/subscriptions","organizations_url":"https://api.github.com/users/earhart/orgs","repos_url":"https://api.github.com/users/earhart/repos","events_url":"https://api.github.com/users/earhart/events{/privacy}","received_events_url":"https://api.github.com/users/earhart/received_events","type":"User","site_admin":false},"body":"This change uses bazel labels to reference the directories to add to the\r\ninclude path for protoc invocations, inheriting include labels from\r\ndependencies.  This gets the include path right even when getting\r\ninclude paths from external dependencies (for example, the well-known\r\nprotos provided by the protocol buffers package itself).","created_at":"2016-01-19T08:56:34Z","updated_at":"2016-01-19T08:56:34Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/google/protobuf/pulls/1151/commits","review_comments_url":"https://api.github.com/repos/google/protobuf/pulls/1151/comments","review_comment_url":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}","comments_url":"https://api.github.com/repos/google/protobuf/issues/1151/comments","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/4d9b727b88a5c7d962f3899c7424c1696bb1364c","head":{"label":"earhart:master","ref":"master","sha":"4d9b727b88a5c7d962f3899c7424c1696bb1364c","user":{"login":"earhart","id":10557912,"avatar_url":"https://avatars.githubusercontent.com/u/10557912?v=3","gravatar_id":"","url":"https://api.github.com/users/earhart","html_url":"https://github.com/earhart","followers_url":"https://api.github.com/users/earhart/followers","following_url":"https://api.github.com/users/earhart/following{/other_user}","gists_url":"https://api.github.com/users/earhart/gists{/gist_id}","starred_url":"https://api.github.com/users/earhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earhart/subscriptions","organizations_url":"https://api.github.com/users/earhart/orgs","repos_url":"https://api.github.com/users/earhart/repos","events_url":"https://api.github.com/users/earhart/events{/privacy}","received_events_url":"https://api.github.com/users/earhart/received_events","type":"User","site_admin":false},"repo":{"id":49938055,"name":"protobuf","full_name":"earhart/protobuf","owner":{"login":"earhart","id":10557912,"avatar_url":"https://avatars.githubusercontent.com/u/10557912?v=3","gravatar_id":"","url":"https://api.github.com/users/earhart","html_url":"https://github.com/earhart","followers_url":"https://api.github.com/users/earhart/followers","following_url":"https://api.github.com/users/earhart/following{/other_user}","gists_url":"https://api.github.com/users/earhart/gists{/gist_id}","starred_url":"https://api.github.com/users/earhart/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/earhart/subscriptions","organizations_url":"https://api.github.com/users/earhart/orgs","repos_url":"https://api.github.com/users/earhart/repos","events_url":"https://api.github.com/users/earhart/events{/privacy}","received_events_url":"https://api.github.com/users/earhart/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/earhart/protobuf","description":"Protocol Buffers - Google's data interchange format","fork":true,"url":"https://api.github.com/repos/earhart/protobuf","forks_url":"https://api.github.com/repos/earhart/protobuf/forks","keys_url":"https://api.github.com/repos/earhart/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/earhart/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/earhart/protobuf/teams","hooks_url":"https://api.github.com/repos/earhart/protobuf/hooks","issue_events_url":"https://api.github.com/repos/earhart/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/earhart/protobuf/events","assignees_url":"https://api.github.com/repos/earhart/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/earhart/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/earhart/protobuf/tags","blobs_url":"https://api.github.com/repos/earhart/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/earhart/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/earhart/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/earhart/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/earhart/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/earhart/protobuf/languages","stargazers_url":"https://api.github.com/repos/earhart/protobuf/stargazers","contributors_url":"https://api.github.com/repos/earhart/protobuf/contributors","subscribers_url":"https://api.github.com/repos/earhart/protobuf/subscribers","subscription_url":"https://api.github.com/repos/earhart/protobuf/subscription","commits_url":"https://api.github.com/repos/earhart/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/earhart/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/earhart/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/earhart/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/earhart/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/earhart/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/earhart/protobuf/merges","archive_url":"https://api.github.com/repos/earhart/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/earhart/protobuf/downloads","issues_url":"https://api.github.com/repos/earhart/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/earhart/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/earhart/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/earhart/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/earhart/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/earhart/protobuf/releases{/id}","created_at":"2016-01-19T08:29:35Z","updated_at":"2016-01-19T08:29:40Z","pushed_at":"2016-01-19T08:55:07Z","git_url":"git://github.com/earhart/protobuf.git","ssh_url":"git@github.com:earhart/protobuf.git","clone_url":"https://github.com/earhart/protobuf.git","svn_url":"https://github.com/earhart/protobuf","homepage":"https://developers.google.com/protocol-buffers/","size":34259,"stargazers_count":0,"watchers_count":0,"language":"C++","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":"google:master","ref":"master","sha":"bbe6e430f62fc89aac6712403a42121665f00a88","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":23357588,"name":"protobuf","full_name":"google/protobuf","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/protobuf","description":"Protocol Buffers - Google's data interchange format","fork":false,"url":"https://api.github.com/repos/google/protobuf","forks_url":"https://api.github.com/repos/google/protobuf/forks","keys_url":"https://api.github.com/repos/google/protobuf/keys{/key_id}","collaborators_url":"https://api.github.com/repos/google/protobuf/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/google/protobuf/teams","hooks_url":"https://api.github.com/repos/google/protobuf/hooks","issue_events_url":"https://api.github.com/repos/google/protobuf/issues/events{/number}","events_url":"https://api.github.com/repos/google/protobuf/events","assignees_url":"https://api.github.com/repos/google/protobuf/assignees{/user}","branches_url":"https://api.github.com/repos/google/protobuf/branches{/branch}","tags_url":"https://api.github.com/repos/google/protobuf/tags","blobs_url":"https://api.github.com/repos/google/protobuf/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/google/protobuf/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/google/protobuf/git/refs{/sha}","trees_url":"https://api.github.com/repos/google/protobuf/git/trees{/sha}","statuses_url":"https://api.github.com/repos/google/protobuf/statuses/{sha}","languages_url":"https://api.github.com/repos/google/protobuf/languages","stargazers_url":"https://api.github.com/repos/google/protobuf/stargazers","contributors_url":"https://api.github.com/repos/google/protobuf/contributors","subscribers_url":"https://api.github.com/repos/google/protobuf/subscribers","subscription_url":"https://api.github.com/repos/google/protobuf/subscription","commits_url":"https://api.github.com/repos/google/protobuf/commits{/sha}","git_commits_url":"https://api.github.com/repos/google/protobuf/git/commits{/sha}","comments_url":"https://api.github.com/repos/google/protobuf/comments{/number}","issue_comment_url":"https://api.github.com/repos/google/protobuf/issues/comments{/number}","contents_url":"https://api.github.com/repos/google/protobuf/contents/{+path}","compare_url":"https://api.github.com/repos/google/protobuf/compare/{base}...{head}","merges_url":"https://api.github.com/repos/google/protobuf/merges","archive_url":"https://api.github.com/repos/google/protobuf/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/google/protobuf/downloads","issues_url":"https://api.github.com/repos/google/protobuf/issues{/number}","pulls_url":"https://api.github.com/repos/google/protobuf/pulls{/number}","milestones_url":"https://api.github.com/repos/google/protobuf/milestones{/number}","notifications_url":"https://api.github.com/repos/google/protobuf/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/google/protobuf/labels{/name}","releases_url":"https://api.github.com/repos/google/protobuf/releases{/id}","created_at":"2014-08-26T15:52:15Z","updated_at":"2016-01-19T08:36:16Z","pushed_at":"2016-01-18T08:00:49Z","git_url":"git://github.com/google/protobuf.git","ssh_url":"git@github.com:google/protobuf.git","clone_url":"https://github.com/google/protobuf.git","svn_url":"https://github.com/google/protobuf","homepage":"https://developers.google.com/protocol-buffers/","size":45408,"stargazers_count":7024,"watchers_count":7024,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":2051,"mirror_url":null,"open_issues_count":342,"forks":2051,"open_issues":342,"watchers":7024,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/google/protobuf/pulls/1151"},"html":{"href":"https://github.com/google/protobuf/pull/1151"},"issue":{"href":"https://api.github.com/repos/google/protobuf/issues/1151"},"comments":{"href":"https://api.github.com/repos/google/protobuf/issues/1151/comments"},"review_comments":{"href":"https://api.github.com/repos/google/protobuf/pulls/1151/comments"},"review_comment":{"href":"https://api.github.com/repos/google/protobuf/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/google/protobuf/pulls/1151/commits"},"statuses":{"href":"https://api.github.com/repos/google/protobuf/statuses/4d9b727b88a5c7d962f3899c7424c1696bb1364c"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":12,"deletions":20,"changed_files":1}}