Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from May 14, 2020

Conversation

htuch
Copy link
Contributor

@htuch htuch commented May 4, 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

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>
@acozzette
Copy link
Member

@htuch I see a Bazel error in the CI test, do you know what that is about?

@acozzette acozzette self-assigned this May 8, 2020
Signed-off-by: Harvey Tuch <htuch@google.com>
@htuch
Copy link
Contributor Author

htuch commented May 12, 2020

@acozzette should be fixed now, can you run CI again? Thanks.

@acozzette acozzette merged commit 9482bfd into protocolbuffers:master May 14, 2020
@acozzette
Copy link
Member

Thanks, @htuch.

@Yannic
Copy link
Contributor

Yannic commented May 23, 2020

@htuch Suspecting this as the root-cause for the failure on Bazel-CI. https://buildkite.com/bazel/protobuf/builds/3316

htuch added a commit to htuch/protobuf that referenced this pull request May 26, 2020
See
protocolbuffers#7458 (comment).

release notes: no

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

htuch commented May 26, 2020

@Yannic thanks, I think #7554 should fix this.

acozzette pushed a commit that referenced this pull request May 29, 2020
See
#7458 (comment).

release notes: no

Signed-off-by: Harvey Tuch <htuch@google.com>
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.

None yet

5 participants