pulumi/proto/google
Ricard Solé ec09ac96aa build: configures gazelle to behave correctly with multiple go.mod
This patch does a few things:
1. Configures a `//:gazelle-update-repos` target that can update the
   deps.bzl file according to the contents of `go.work`
2. Configures gazelle's proto strategy to `package` and `go_package`.
   This helps gazelle do the right thing by only creating one target
   per package, and using the `go_package` option as the grouping
   identifier.
3. It sets a few `gazelle:resolve` directives for gazelle to be able
   to find the right protos - I'm not sure this is required anymore
   (see next point).
4. It configures each go module with `gazelle:prefix` so that gazelle
   knows to use the correct `importpath` (`sdk/v3`, `pkg/v3`, etc).
5. Fixes a few busted imports (or they seemed busted anyway!)
6. Adds a few `gazelle:ignore` and `gazelle:exclude` for code that
   seems to be test input and gazelle shouldn't actually be trying
   create BUILD files for.
2024-03-19 09:15:24 +01:00
..
protobuf build: configures gazelle to behave correctly with multiple go.mod 2024-03-19 09:15:24 +01:00