Skip to content

Have Gazelle generate py_proto_library targets聽#2994

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    gazelleGazelle plugin related issues

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions