Skip to content

move probes/external/proto/*.proto to another file to fix gazelle builds #947

Closed

Description

@antholeole

currently, gazelle is almost able to build this project through auto-generated build files.

the one issue that is stopping it working out of the box is the fact that there are two protos in the probes/external/proto/ folder, which gazelle does not support.

I've solved this in an internal repository by patching this to concat the two protos in that folder, but it would be nice if this was supported in-trunk so we don't have to maintain a patch. I won't post the patch here because I'm not entirely sure if its the right way to solve this problem, but I'm willing to make the change if we discuss what is the correct direction, if any.

Activity

  1. added
    enhancement
    on Dec 18, 2024
  2. manugarg commented on Jan 7, 2025

    @manugarg
    Contributor

    Hello @antholeole! I did some research and it looks like merging config.proto and server.proto won't be a bad idea; see #956 .

    I've solved this in an internal repository by patching this to concat the two protos in that folder, but it would be nice if this was supported in-trunk so we don't have to maintain a patch.

    If by internal, you mean Google's internal copy, it's kind of interesting that it ended up being like this because of how it started at Google :)

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

    enhancement

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions