Skip to content

Have Gazelle generate py_proto_library targets #2994

Open
@dougthor42

Description

@dougthor42

🚀 feature request

Relevant Rules

gazelle

Description

As far as I know, there is no gazelle support for making py_proto_library targets.

Describe the solution you'd like

gazelle_binary(
    name = "gazelle_multilang",
    languages = [
        "@rules_python_gazelle_plugin//python",
        "@rules_python_gazelle_plugin//python_proto",  // or something
        "@bazel_gazelle//language/proto",
    ],
    visibility = ["//visibility:public"],
)

Thoughts, notes, addendums, provisios, questions, etc.

As #1703 (comment) says: we'd basically just look at what bazel-gazelle does and copy that here, modulo some name changes.

Describe alternatives you've considered

Bespoke, artisanal, hand-crafted py_proto_library targets.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions