diff --git a/internal/bzlmod/default_gazelle_overrides.bzl b/internal/bzlmod/default_gazelle_overrides.bzl index 1c8cdd3ef..b6cc0d70e 100644 --- a/internal/bzlmod/default_gazelle_overrides.bzl +++ b/internal/bzlmod/default_gazelle_overrides.bzl @@ -22,6 +22,13 @@ DEFAULT_BUILD_FILE_GENERATION_BY_PATH = { } DEFAULT_DIRECTIVES_BY_PATH = { + "github.com/argoproj/argo-workflows/v3": [ + "gazelle:proto disable", + ], + "github.com/argoproj/argo-events": [ + "gazelle:proto disable", + "gazelle:go_naming_convention import_alias", + ], "github.com/census-instrumentation/opencensus-proto": [ "gazelle:proto disable", ], @@ -31,6 +38,10 @@ DEFAULT_DIRECTIVES_BY_PATH = { "github.com/cockroachdb/errors": [ "gazelle:proto disable", ], + "github.com/colinmarc/hdfs/v2": [ + "gazelle:go_naming_convention import_alias", + "gazelle:proto disable", + ], "github.com/containerd/containerd": [ "gazelle:proto disable", ], @@ -65,6 +76,11 @@ DEFAULT_DIRECTIVES_BY_PATH = { "github.com/googleapis/gnostic": [ "gazelle:proto disable", ], + "github.com/grpc-ecosystem/grpc-gateway": [ + "gazelle:resolve go github.com/grpc-ecosystem/grpc-gateway/internal //internal:go_default_library", + "gazelle:go_naming_convention import_alias", + "gazelle:proto disable", + ], "github.com/pseudomuto/protoc-gen-doc": [ # The build file in github.com/mwitkow/go-proto-validators has both go_proto and gogo_proto targets, but the checked # in go files are generated by gogo proto. Resolving to the gogo proto target preserves the behavior of Go modules.