@@ -9,6 +9,7 @@ bazel_dep(name = "gazelle", version = "0.42.0")
9
9
bazel_dep (name = "googleapis" , version = "0.0.0-20241220-5e258e33" )
10
10
bazel_dep (name = "protobuf" , version = "29.3" )
11
11
bazel_dep (name = "rules_go" , version = "0.53.0" )
12
+ bazel_dep (name = "rules_jsonnet" , version = "0.6.0" )
12
13
bazel_dep (name = "rules_proto" , version = "7.1.0" )
13
14
bazel_dep (name = "toolchains_llvm" , version = "1.3.0" )
14
15
@@ -27,6 +28,7 @@ git_override(
27
28
git_override (
28
29
module_name = "com_github_buildbarn_bb_storage" ,
29
30
commit = "85aafcb236ac1365a693d9390a6813db99dbaa0f" ,
31
+ patches = ["//:patches/com_github_buildbarn_bb_storage/no-golint.diff" ],
30
32
remote = "https://github.com/buildbarn/bb-storage.git" ,
31
33
)
32
34
@@ -62,6 +64,7 @@ go_deps.from_file(go_mod = "//:go.mod")
62
64
use_repo (
63
65
go_deps ,
64
66
"cc_mvdan_gofumpt" ,
67
+ "com_github_bazelbuild_buildtools" ,
65
68
"com_github_bluekeyes_go_gitdiff" ,
66
69
"com_github_buildbarn_go_cdc" ,
67
70
"com_github_google_uuid" ,
@@ -83,11 +86,25 @@ use_repo(
83
86
)
84
87
85
88
go_deps_dev = use_extension ("@gazelle//:extensions.bzl" , "go_deps" , dev_dependency = True )
89
+ go_deps_dev .module_override (
90
+ patches = ["//:patches/com_github_bluekeyes_go_gitdiff/no-drop-a-b-slash.diff" ],
91
+ path = "github.com/bluekeyes/go-gitdiff" ,
92
+ )
93
+ go_deps_dev .gazelle_override (
94
+ build_file_generation = "on" ,
95
+ path = "github.com/cncf/xds/go" ,
96
+ )
97
+ go_deps_dev .module_override (
98
+ patches = ["@com_github_buildbarn_bb_storage//:patches/com_github_grpc_ecosystem_go_grpc_prometheus/client-metrics-prevent-handled-twice.diff" ],
99
+ path = "github.com/grpc-ecosystem/go-grpc-prometheus" ,
100
+ )
86
101
go_deps_dev .module_override (
87
102
patches = [
88
- "//:patches/com_github_bluekeyes_go_gitdiff/no-drop-a-b-slash.diff" ,
103
+ "@com_github_buildbarn_bb_remote_execution//:patches/com_github_hanwen_go_fuse_v2/direntrylist-offsets-and-testability.diff" ,
104
+ "@com_github_buildbarn_bb_remote_execution//:patches/com_github_hanwen_go_fuse_v2/writeback-cache.diff" ,
105
+ "@com_github_buildbarn_bb_remote_execution//:patches/com_github_hanwen_go_fuse_v2/notify-testability.diff" ,
89
106
],
90
- path = "github.com/bluekeyes /go-gitdiff " ,
107
+ path = "github.com/hanwen /go-fuse/v2 " ,
91
108
)
92
109
go_deps_dev .module_override (
93
110
patches = ["@com_github_buildbarn_bb_storage//:patches/org_golang_x_sys/o-search.diff" ],
@@ -111,10 +128,6 @@ go_deps_dev.module_override(
111
128
],
112
129
path = "go.starlark.net" ,
113
130
)
114
- go_deps_dev .gazelle_override (
115
- build_file_generation = "on" ,
116
- path = "github.com/cncf/xds/go" ,
117
- )
118
131
119
132
llvm = use_extension ("@toolchains_llvm//toolchain/extensions:llvm.bzl" , "llvm" , dev_dependency = True )
120
133
llvm .toolchain (
0 commit comments