Skip to content

Fix CLI "too long" issues in py_proto_library.#7135

Closed
htuch wants to merge 2 commits into
protocolbuffers:masterfrom
htuch:fix-includes-2
Closed

Fix CLI "too long" issues in py_proto_library.#7135
htuch wants to merge 2 commits into
protocolbuffers:masterfrom
htuch:fix-includes-2

Conversation

@htuch
Copy link
Copy Markdown
Contributor

@htuch htuch commented Jan 24, 2020

Envoy was experiencing failed builds due to lots of duplicate -I in the
CLI. The solution is to generally use depset() as per Starlark best
practice for this sort of thing.

Might fix other issues beyond py_proto_library, anything that depends on
proto_gen.

release notes: no

Signed-off-by: Harvey Tuch htuch@google.com

htuch added 2 commits January 24, 2020 13:55
Envoy was experiencing failed builds due to lots of duplicate -I in the
CLI. The solution is to generally use depset() as per Starlark best
practice for this sort of thing.

Might fix other issues beyond py_proto_library, anything that depends on
proto_gen.

release notes: no

Signed-off-by: Harvey Tuch <htuch@google.com>
Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch htuch changed the title Fix includes 2 Fix CLI "too long" issues in py_proto_library. Jan 24, 2020
@htuch
Copy link
Copy Markdown
Contributor Author

htuch commented Jan 24, 2020

Can someone explain what is going wrong with the release notes here and mergeable? It's a pretty horrible experience as a contributor.

htuch added a commit to htuch/envoy that referenced this pull request Jan 24, 2020
Since envoyproxy#9383 merged, I've been unable to bazel build @envoy_api//...

Upsteam fix at protocolbuffers/protobuf#7135

Adding as a patch to avoid having to bump protobuf version when that
merges just for this.

Risk level: Low
Testing: bazel build @envoy_api//...

Signed-off-by: Harvey Tuch <htuch@google.com>
htuch added a commit to envoyproxy/envoy that referenced this pull request Jan 24, 2020
Since #9383 merged, I've been unable to bazel build @envoy_api//...

Upstream fix at protocolbuffers/protobuf#7135

Adding as a patch to avoid having to bump protobuf version when that
merges just for this.

Risk level: Low
Testing: bazel build @envoy_api//...

Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch
Copy link
Copy Markdown
Contributor Author

htuch commented May 1, 2020

Friendly ping.

@htuch
Copy link
Copy Markdown
Contributor Author

htuch commented May 4, 2020

Closing, will try again in #7458

@htuch htuch closed this May 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants