Skip to content

Prevent addition of redundant protobuf imports #15589

@phlax

Description

@phlax

description

we have a lot of redundant import warnings when generating protos

i have raised a pr to fix this upstream in cncf/xds (cncf/xds#3)

i have previously removed them from the envoy codebase (#15329 ) and have just opened another PR to remove more recently added ones (#15588 )

it would be great if we prevented these from being added

the obvious way would be to turn warnings into errors (see protocolbuffers/protobuf#3980)

the problem with this is that there are a lot of warnings about missing dir paths which i think is harder to fix (bazelbuild/bazel#7157)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions