Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@ load("@gazelle//:def.bzl", "gazelle")

# gazelle:prefix github.com/uber/submitqueue

# Add a go_default_library alias next to every native-named Go target so
# consumers pinning go-code's naming convention (e.g. go-code's own
# go_repository consumption with build_file_generation="off") can depend on
# ":go_default_library" without renaming our own targets or breaking existing
# consumers that use the native short names.
# gazelle:go_naming_convention import_alias

# Exclude nested worktrees (created under .claude/worktrees) so gazelle does not
# index them as duplicate rule definitions and corrupt the canonical BUILD files.
# gazelle:exclude .claude
Expand Down
6 changes: 6 additions & 0 deletions api/base/change/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ go_library(
"@org_golang_google_protobuf//runtime/protoimpl",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/base/mergestrategy/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,9 @@ go_library(
"@org_golang_google_protobuf//runtime/protoimpl",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/base/messagequeue/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ go_library(
"@org_golang_google_protobuf//types/descriptorpb",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/runway/messagequeue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -30,3 +30,9 @@ go_test(
"@org_golang_google_protobuf//proto",
],
)

alias(
name = "go_default_library",
actual = ":messagequeue",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/runway/messagequeue/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ go_library(
"@org_golang_google_protobuf//runtime/protoimpl",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/runway/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ go_library(
"@org_uber_go_yarpc//encoding/protobuf/v2:protobuf",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/stovepipe/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ go_library(
"@org_uber_go_yarpc//encoding/protobuf/v2:protobuf",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/submitqueue/gateway/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ go_library(
"@org_uber_go_yarpc//encoding/protobuf/v2:protobuf",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions api/submitqueue/orchestrator/protopb/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,9 @@ go_library(
"@org_uber_go_yarpc//encoding/protobuf/v2:protobuf",
],
)

alias(
name = "go_default_library",
actual = ":protopb",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/base",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":base",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/change/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/base/change",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":change",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/change/changeutil/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ go_test(
embed = [":changeutil"],
deps = ["@com_github_stretchr_testify//assert"],
)

alias(
name = "go_default_library",
actual = ":changeutil",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/change/git/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":git",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/change/github/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":github",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/change/phabricator/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":phabricator",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/mergestrategy/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/base/mergestrategy",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":mergestrategy",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/messagequeue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,9 @@ go_test(
embed = [":messagequeue"],
deps = ["@com_github_stretchr_testify//assert"],
)

alias(
name = "go_default_library",
actual = ":messagequeue",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/base/page/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/base/page",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":page",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/consumer/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,9 @@ go_test(
"@org_uber_go_zap//zaptest",
],
)

alias(
name = "go_default_library",
actual = ":consumer",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/consumer/mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ go_library(
"@org_uber_go_mock//gomock",
],
)

alias(
name = "go_default_library",
actual = ":mock",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/errs/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,3 +22,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":errs",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/errs/generic/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,9 @@ go_test(
"@com_github_stretchr_testify//assert",
],
)

alias(
name = "go_default_library",
actual = ":generic",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/errs/mysql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ go_test(
"@com_github_stretchr_testify//assert",
],
)

alias(
name = "go_default_library",
actual = ":mysql",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/extension",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":extension",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/counter/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/platform/extension/counter",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":counter",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/counter/mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ go_library(
visibility = ["//visibility:public"],
deps = ["@org_uber_go_mock//gomock"],
)

alias(
name = "go_default_library",
actual = ":mock",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/counter/mysql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,9 @@ go_library(
"@com_github_uber_go_tally//:tally",
],
)

alias(
name = "go_default_library",
actual = ":mysql",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/messagequeue/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -23,3 +23,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":messagequeue",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/messagequeue/mock/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ go_library(
"@org_uber_go_mock//gomock",
],
)

alias(
name = "go_default_library",
actual = ":mock",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/messagequeue/mysql/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,9 @@ go_test(
"@org_uber_go_zap//zaptest",
],
)

alias(
name = "go_default_library",
actual = ":mysql",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/extension/messagequeue/mysql/ctl/lib/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":lib",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/http/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,9 @@ go_test(
"@com_github_stretchr_testify//require",
],
)

alias(
name = "go_default_library",
actual = ":http",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions platform/metrics/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ go_test(
"@com_github_uber_go_tally//:tally",
],
)

alias(
name = "go_default_library",
actual = ":metrics",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions runway/controller/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,9 @@ go_test(
"@org_uber_go_zap//:zap",
],
)

alias(
name = "go_default_library",
actual = ":controller",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions runway/controller/merge/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ go_test(
"@org_uber_go_zap//zaptest",
],
)

alias(
name = "go_default_library",
actual = ":merge",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions runway/controller/mergeconflictcheck/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -36,3 +36,9 @@ go_test(
"@org_uber_go_zap//zaptest",
],
)

alias(
name = "go_default_library",
actual = ":mergeconflictcheck",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions runway/extension/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,9 @@ go_library(
importpath = "github.com/uber/submitqueue/runway/extension",
visibility = ["//visibility:public"],
)

alias(
name = "go_default_library",
actual = ":extension",
visibility = ["//visibility:public"],
)
6 changes: 6 additions & 0 deletions runway/extension/merger/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -7,3 +7,9 @@ go_library(
visibility = ["//visibility:public"],
deps = ["//api/runway/messagequeue"],
)

alias(
name = "go_default_library",
actual = ":merger",
visibility = ["//visibility:public"],
)
Loading
Loading