bzl: fix broken :gazelle-update-repos (#48634)

Some deps were missing an broke :gazelle-update-repos

## Test plan

<!-- All pull requests REQUIRE a test plan:
https://docs.sourcegraph.com/dev/background-information/testing_principles
-->

fixed locally
This commit is contained in:
Jean-Hadrien Chabran 2023-03-03 18:07:15 +01:00 committed by GitHub
parent 554175d597
commit 38ef5f8324
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 296 additions and 1521 deletions

View File

@ -192,8 +192,8 @@ rules_proto_toolchains()
load("@io_bazel_rules_go//go:deps.bzl", "go_register_toolchains", "go_rules_dependencies")
load("@bazel_gazelle//:deps.bzl", "gazelle_dependencies", "go_repository")
load("//:deps.bzl", "go_dependencies")
load("//:linter_deps.bzl", "linter_dependencies")
load("//:deps.bzl", "go_dependencies")
go_repository(
name = "com_github_aws_aws_sdk_go_v2_service_ssooidc",
@ -208,12 +208,15 @@ go_dependencies()
go_rules_dependencies()
go_register_toolchains(version = "1.19.3", nogo = "@//:sg_nogo")
gazelle_dependencies()
go_register_toolchains(
nogo = "@//:sg_nogo",
version = "1.19.3",
)
linter_dependencies()
gazelle_dependencies()
load("@com_google_protobuf//:protobuf_deps.bzl", "protobuf_deps")
protobuf_deps()

1783
deps.bzl

File diff suppressed because it is too large Load Diff

View File

@ -5,8 +5,5 @@ go_library(
srcs = ["bodyclose.go"],
importpath = "github.com/sourcegraph/sourcegraph/dev/linters/bodyclose",
visibility = ["//visibility:public"],
deps = [
"@com_github_timakin_bodyclose//passes/bodyclose",
"@org_golang_x_tools//go/analysis:go_default_library",
],
deps = ["@com_github_timakin_bodyclose//passes/bodyclose:go_default_library"],
)

View File

@ -8,3 +8,21 @@ def linter_dependencies():
sum = "h1:ig99OeTyDwQWhPe2iw9lwfQVF1KB3Q4fpP3X7/2VBG8=",
version = "v0.0.0-20200424151742-cb6215831a94",
)
go_repository(
name = "com_github_gostaticanalysis_analysisutil",
build_file_proto_mode = "disable_global",
importpath = "github.com/gostaticanalysis/analysisutil",
version = "v0.7.1",
sum = "h1:ZMCjoue3DtDWQ5WyU16YbjbQEQ3VuzwxALrpYd+HeKk=",
)
go_repository(
name = "com_github_gostaticanalysis_comment",
build_file_proto_mode = "disable_global",
importpath = "github.com/gostaticanalysis/comment",
version = "v1.4.2",
sum = "h1:hlnx5+S2fY9Zo9ePo4AhgYsYHbM2+eAv8m/s1JiCd6Q=",
)