Skip to content

Commit 11c1386

Browse files
committed
update
Signed-off-by: Weizhen Wang <[email protected]>
1 parent 66bd453 commit 11c1386

File tree

166 files changed

+215
-206
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+215
-206
lines changed

DEPS.bzl

Lines changed: 26 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -372,6 +372,7 @@ def go_deps():
372372
sum = "h1:G2HAfAmvm/GcKan2oOQpBXOd2tT2G57ZnZGWa1PxPBQ=",
373373
version = "v4.1.1",
374374
)
375+
375376
go_repository(
376377
name = "com_github_census_instrumentation_opencensus_proto",
377378
build_file_proto_mode = "disable_global",
@@ -1388,6 +1389,7 @@ def go_deps():
13881389
sum = "h1:rcc4lwaZgFMCZ5jxF9ABolDcIHdBytAFgqFPbSJQAYs=",
13891390
version = "v4.4.2",
13901391
)
1392+
13911393
go_repository(
13921394
name = "com_github_golang_mock",
13931395
build_file_proto_mode = "disable_global",
@@ -1399,12 +1401,8 @@ def go_deps():
13991401
name = "com_github_golang_protobuf",
14001402
build_file_proto_mode = "disable_global",
14011403
importpath = "github.com/golang/protobuf",
1402-
patch_args = ["-p1"],
1403-
patches = [
1404-
"//build/patches:com_github_golang_protobuf.patch",
1405-
],
1406-
sum = "h1:KhyjKVUg7Usr/dYsdSqoFveMYd5ko72D+zANwlG1mmg=",
1407-
version = "v1.5.3",
1404+
sum = "h1:i7eJL8qZTpSEXOPTxNKhASYpMn+8e5Q6AdndVa1dWek=",
1405+
version = "v1.5.4",
14081406
)
14091407
go_repository(
14101408
name = "com_github_golang_snappy",
@@ -1522,8 +1520,8 @@ def go_deps():
15221520
name = "com_github_google_go_cmp",
15231521
build_file_proto_mode = "disable_global",
15241522
importpath = "github.com/google/go-cmp",
1525-
sum = "h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI=",
1526-
version = "v0.6.0",
1523+
sum = "h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38=",
1524+
version = "v0.5.9",
15271525
)
15281526
go_repository(
15291527
name = "com_github_google_go_querystring",
@@ -1574,6 +1572,7 @@ def go_deps():
15741572
sum = "h1:1kZ/sQM3srePvKs3tXAvQzo66XfcReoqFpIpIccE7Oc=",
15751573
version = "v0.1.4",
15761574
)
1575+
15771576
go_repository(
15781577
name = "com_github_google_uuid",
15791578
build_file_proto_mode = "disable_global",
@@ -4209,6 +4208,7 @@ def go_deps():
42094208
sum = "h1:4OpSiPMMGV3XmtPqskBU/RwYpj3yMFjtMLj/exi425Q=",
42104209
version = "v2.0.1",
42114210
)
4211+
42124212
go_repository(
42134213
name = "com_google_cloud_go_dataqna",
42144214
build_file_proto_mode = "disable",
@@ -5055,6 +5055,7 @@ def go_deps():
50555055
sum = "h1:XItAMIhOojXFQMgrxjnd2EIIHun/d5qL0Pf7FzVTkFg=",
50565056
version = "v0.1.0",
50575057
)
5058+
50585059
go_repository(
50595060
name = "io_k8s_api",
50605061
build_file_proto_mode = "disable",
@@ -5189,6 +5190,7 @@ def go_deps():
51895190
sum = "h1:CFMFNoz+CGprjFAFy+RJFrfEe4GBia3RRm2a4fREvCA=",
51905191
version = "v1.0.1",
51915192
)
5193+
51925194
go_repository(
51935195
name = "io_opentelemetry_go_otel_metric",
51945196
build_file_proto_mode = "disable_global",
@@ -5308,6 +5310,7 @@ def go_deps():
53085310
sum = "h1:uvYuEyMHKNt+lT4K3bN6fGswmK8qSvcreM3BwjDh+y4=",
53095311
version = "v0.0.0-20230822172742-b8732ec3820d",
53105312
)
5313+
53115314
go_repository(
53125315
name = "org_golang_google_grpc",
53135316
build_file_proto_mode = "disable_global",
@@ -5333,8 +5336,8 @@ def go_deps():
53335336
name = "org_golang_x_crypto",
53345337
build_file_proto_mode = "disable_global",
53355338
importpath = "golang.org/x/crypto",
5336-
sum = "h1:mnl8DM0o513X8fdIkmyFE/5hTYxbwYOjDS/+rK6qpRI=",
5337-
version = "v0.24.0",
5339+
sum = "h1:dIJU/v2J8Mdglj/8rJ6UUOM3Zc9zLZxVZwwxMooUSAI=",
5340+
version = "v0.23.0",
53385341
)
53395342
go_repository(
53405343
name = "org_golang_x_exp",
@@ -5382,8 +5385,8 @@ def go_deps():
53825385
name = "org_golang_x_net",
53835386
build_file_proto_mode = "disable_global",
53845387
importpath = "golang.org/x/net",
5385-
sum = "h1:soB7SVo0PWrY4vPW/+ay0jKDNScG2X9wFeYlXIvJsOQ=",
5386-
version = "v0.26.0",
5388+
sum = "h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac=",
5389+
version = "v0.25.0",
53875390
)
53885391
go_repository(
53895392
name = "org_golang_x_oauth2",
@@ -5424,8 +5427,8 @@ def go_deps():
54245427
name = "org_golang_x_text",
54255428
build_file_proto_mode = "disable_global",
54265429
importpath = "golang.org/x/text",
5427-
sum = "h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4=",
5428-
version = "v0.16.0",
5430+
sum = "h1:h1V/4gjBv8v9cjcR6+AR5+/cIYK5N/WAgiv4xlsEtAk=",
5431+
version = "v0.15.0",
54295432
)
54305433
go_repository(
54315434
name = "org_golang_x_time",
@@ -5438,8 +5441,8 @@ def go_deps():
54385441
name = "org_golang_x_tools",
54395442
build_file_proto_mode = "disable_global",
54405443
importpath = "golang.org/x/tools",
5441-
sum = "h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg=",
5442-
version = "v0.21.1-0.20240508182429-e35e4ccd0d2d",
5444+
sum = "h1:zdAyfUGbYmuVokhzVmghFl2ZJh5QhcfebBgmVPFYA+8=",
5445+
version = "v0.15.0",
54435446
)
54445447
go_repository(
54455448
name = "org_golang_x_xerrors",
@@ -5560,6 +5563,13 @@ def go_deps():
55605563
sum = "h1:xqgm/S+aQvhWFTtR0XK3Jvg7z8kGV8P4X14IzwN3Eqk=",
55615564
version = "v1.2.0",
55625565
)
5566+
go_repository(
5567+
name = "org_uber_go_mock",
5568+
build_file_proto_mode = "disable",
5569+
importpath = "go.uber.org/mock",
5570+
sum = "h1:VcM4ZOtdbR4f6VXfiOpwpVJDL6lCReaZ6mw31wqh7KU=",
5571+
version = "v0.4.0",
5572+
)
55635573
go_repository(
55645574
name = "org_uber_go_multierr",
55655575
build_file_proto_mode = "disable_global",

WORKSPACE

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ http_archive(
44
name = "io_bazel_rules_go",
55
sha256 = "d6ab6b57e48c09523e93050f13698f708428cfd5e619252e369d377af6597707",
66
urls = [
7-
"http://bazel-cache.pingcap.net:8080/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
8-
"http://ats.apps.svc/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
9-
"https://github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
107
"https://mirror.bazel.build/github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
8+
"https://github.com/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
9+
"https://ats.apps.svc/bazelbuild/rules_go/releases/download/v0.43.0/rules_go-v0.43.0.zip",
1110
],
1211
)
1312

1413
http_archive(
1514
name = "bazel_gazelle",
16-
sha256 = "b7387f72efb59f876e4daae42f1d3912d0d45563eac7cb23d1de0b094ab588cf",
15+
sha256 = "d3fa66a39028e97d76f9e2db8f1b0c11c099e8e01bf363a923074784e451f809",
1716
urls = [
18-
"http://bazel-cache.pingcap.net:8080/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
19-
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
20-
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
21-
"http://ats.apps.svc/bazelbuild/bazel-gazelle/releases/download/v0.34.0/bazel-gazelle-v0.34.0.tar.gz",
17+
"http://bazel-cache.pingcap.net:8080/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
18+
"https://mirror.bazel.build/github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
19+
"https://github.com/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
20+
"http://ats.apps.svc/bazelbuild/bazel-gazelle/releases/download/v0.33.0/bazel-gazelle-v0.33.0.tar.gz",
2221
],
2322
)
2423

@@ -39,7 +38,7 @@ go_download_sdk(
3938
"https://mirrors.aliyun.com/golang/{}",
4039
"https://dl.google.com/go/{}",
4140
],
42-
version = "1.19.12",
41+
version = "1.19.13",
4342
)
4443

4544
go_register_toolchains(

bindinfo/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
func TestMain(m *testing.M) {
2525
testsetup.SetupForCommonTest()
2626
opts := []goleak.Option{
27-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
27+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2828
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2929
goleak.IgnoreTopFunction("go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop"),
3030
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),

br/pkg/backup/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
func TestMain(m *testing.M) {
2525
testsetup.SetupForCommonTest()
2626
opts := []goleak.Option{
27-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
27+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2828
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2929
goleak.IgnoreTopFunction("github.com/klauspost/compress/zstd.(*blockDec).startDecoder"),
3030
goleak.IgnoreTopFunction("github.com/pingcap/goleveldb/leveldb.(*DB).mpoolDrain"),

br/pkg/checksum/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
func TestMain(m *testing.M) {
2525
opts := []goleak.Option{
26-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
26+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2727
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2828
goleak.IgnoreTopFunction("github.com/klauspost/compress/zstd.(*blockDec).startDecoder"),
2929
goleak.IgnoreTopFunction("go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop"),

br/pkg/conn/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
func TestMain(m *testing.M) {
2525
opts := []goleak.Option{
26-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
26+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2727
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2828
goleak.IgnoreTopFunction("go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop"),
2929
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),

br/pkg/lightning/checkpoints/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
func TestMain(m *testing.M) {
2525
testsetup.SetupForCommonTest()
2626
opts := []goleak.Option{
27-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
27+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2828
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2929
goleak.IgnoreTopFunction("github.com/klauspost/compress/zstd.(*blockDec).startDecoder"),
3030
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),

br/pkg/lightning/common/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
func TestMain(m *testing.M) {
2525
testsetup.SetupForCommonTest()
2626
opts := []goleak.Option{
27-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
27+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2828
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2929
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
3030
}

br/pkg/lightning/mydump/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ import (
2424
func TestMain(m *testing.M) {
2525
testsetup.SetupForCommonTest()
2626
opts := []goleak.Option{
27-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
27+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2828
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2929
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
3030
goleak.IgnoreTopFunction("github.com/klauspost/compress/zstd.(*blockDec).startDecoder"),

br/pkg/metautil/main_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ import (
2323

2424
func TestMain(m *testing.M) {
2525
opts := []goleak.Option{
26-
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
26+
goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"),
2727
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
2828
goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"),
2929
}

0 commit comments

Comments
 (0)