-
Notifications
You must be signed in to change notification settings - Fork 3.8k
/
CODEOWNERS
Validating CODEOWNERS rules...
292 lines (267 loc) · 14.4 KB
/
CODEOWNERS
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
# The CODEOWNERS file is used by GitHub to automate assigning code reviews, see
# [1] and [2]. We also use it in our internal tooling (see [3]) to automate test
# failure issue routing. To do this efficiently, we are enforcing a few rules in
# this file via linting. They are:
#
# - every file under ./pkg has to have at least one owner, and each owner must
# be present in TEAMS.yaml (either as a map key or an alias).
# - you can opt out of GitHub-requested code review assignments (while
# maintaining team ownership) by suffixing the handle with `-noreview`.
# (This will essentially make it an unknown team to GitHub, but our internal
# tooling continues to recognize the original team).
#
# Remember, *the last rule to match wins*, and you need a trailing slash to get
# recursive ownership of a directory.
#
# [1]: https://github.com/blog/2392-introducing-code-owners
# [2]: https://help.github.com/articles/about-codeowners/
# [3]: pkg/internal/codeowners
/.github/ @cockroachdb/dev-inf
/.github/CODEOWNERS @cockroachdb/unowned
/build/ @cockroachdb/dev-inf
/docs/RFCS/ @cockroachdb/rfc-prs
/docs/generated/redact_safe.md @cockroachdb/security
/Makefile @cockroachdb/dev-inf
/pkg/sql/ @cockroachdb/sql-queries-noreview
/pkg/sql/opt/ @cockroachdb/sql-opt-prs
/pkg/sql/stats/ @cockroachdb/sql-opt-prs
/pkg/sql/sem/tree/ @cockroachdb/sql-syntax-prs
/pkg/sql/parser/ @cockroachdb/sql-syntax-prs
/pkg/sql/lex/ @cockroachdb/sql-syntax-prs
/pkg/sql/show_create*.go @cockroachdb/sql-syntax-prs
/pkg/sql/types/ @cockroachdb/sql-syntax-prs
/pkg/sql/crdb_internal.go @cockroachdb/sql-experience
/pkg/sql/pg_catalog.go @cockroachdb/sql-experience
/pkg/sql/pgwire/ @cockroachdb/sql-experience
/pkg/sql/sem/builtins/ @cockroachdb/sql-experience
/pkg/sql/vtable/ @cockroachdb/sql-experience
/pkg/sql/sessiondata/ @cockroachdb/sql-experience
/pkg/sql/tests/rsg_test.go @cockroachdb/sql-experience
/pkg/sql/ttl @cockroachdb/sql-experience
/pkg/ccl/schemachangerccl/ @cockroachdb/sql-schema
/pkg/sql/catalog/ @cockroachdb/sql-schema
/pkg/sql/catalog/multiregion @cockroachdb/multiregion
/pkg/sql/doctor/ @cockroachdb/sql-schema
/pkg/sql/gcjob/ @cockroachdb/sql-schema
/pkg/sql/gcjob_test/ @cockroachdb/sql-schema
/pkg/sql/privilege/ @cockroachdb/sql-schema
/pkg/sql/schemachange/ @cockroachdb/sql-schema
/pkg/sql/schemachanger/ @cockroachdb/sql-schema
/pkg/sql/alter*.go @cockroachdb/sql-schema
/pkg/sql/backfill*.go @cockroachdb/sql-schema
/pkg/sql/create*.go @cockroachdb/sql-schema
/pkg/sql/database*.go @cockroachdb/sql-schema
/pkg/sql/drop*.go @cockroachdb/sql-schema
/pkg/sql/grant*.go @cockroachdb/sql-schema
/pkg/sql/rename*.go @cockroachdb/sql-schema
/pkg/sql/revoke*.go @cockroachdb/sql-schema
/pkg/sql/schema*.go @cockroachdb/sql-schema
/pkg/sql/zone*.go @cockroachdb/sql-schema
/pkg/cli/ @cockroachdb/cli-prs
# last-rule-wins so bulk i/o takes userfile.go even though cli-prs takes pkg/cli
/pkg/cli/userfile.go @cockroachdb/bulk-prs
/pkg/cli/demo*.go @cockroachdb/cli-prs @cockroachdb/sql-experience @cockroachdb/server-prs
/pkg/cli/debug*.go @cockroachdb/cli-prs @cockroachdb/kv-prs
/pkg/cli/debug_job_trace*.go @cockroachdb/bulk-prs
/pkg/cli/doctor*.go @cockroachdb/cli-prs @cockroachdb/sql-schema
/pkg/cli/import_test.go @cockroachdb/cli-prs @cockroachdb/bulk-prs
/pkg/cli/sql*.go @cockroachdb/cli-prs @cockroachdb/sql-experience
/pkg/cli/start*.go @cockroachdb/cli-prs @cockroachdb/server-prs
/pkg/cli/mt_proxy.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/cli/mt_start_sql.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/cli/mt_test_directory.go @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/cli/connect*.go @cockroachdb/cli-prs @cockroachdb/server-prs
/pkg/cli/init.go @cockroachdb/cli-prs @cockroachdb/server-prs
/pkg/cmd/cockroach-sql/ @cockroachdb/cli-prs
/pkg/server/ @cockroachdb/server-prs
/pkg/server/testserver*.go @cockroachdb/server-prs @cockroachdb/test-eng
/pkg/ccl/jobsccl/ @cockroachdb/cdc-prs
/pkg/ccl/changefeedccl/ @cockroachdb/cdc-prs
/pkg/ccl/streamingccl/ @cockroachdb/cdc-prs
# last-rule-wins so *after* CDC takes most of streamingccl bulk-prs takes ingest pkg.
/pkg/ccl/streamingccl/streamingest @cockroachdb/bulk-prs
/pkg/ccl/backupccl/ @cockroachdb/bulk-prs
/pkg/sql/importer/ @cockroachdb/bulk-prs
/pkg/ccl/importerccl/ @cockroachdb/bulk-prs
/pkg/ccl/spanconfigccl/ @cockroachdb/kv-prs
/pkg/ccl/storageccl/ @cockroachdb/bulk-prs
/pkg/cloud/ @cockroachdb/bulk-prs
/pkg/sql/distsql_plan_csv.go @cockroachdb/bulk-prs
/pkg/geo/ @cockroachdb/geospatial
/pkg/kv/ @cockroachdb/kv-prs
/pkg/storage/ @cockroachdb/storage
/pkg/ui/ @cockroachdb/cluster-ui-prs
/pkg/ui/embedded.go @cockroachdb/cluster-ui-prs
/pkg/ui/src/js/protos.d.ts @cockroachdb/cluster-ui-prs
/pkg/ui/src/js/protos.js @cockroachdb/cluster-ui-prs
/docs/generated/http/ @cockroachdb/http-api-prs @cockroachdb/server-prs
/pkg/cmd/docgen/http.go @cockroachdb/http-api-prs @cockroachdb/server-prs
/pkg/ccl/sqlproxyccl/ @cockroachdb/sqlproxy-prs @cockroachdb/server-prs
/pkg/gen/ @cockroachdb/dev-inf
/pkg/acceptance/ @cockroachdb/sql-experience
/pkg/base/ @cockroachdb/server-prs
/pkg/bench/ @cockroachdb/sql-queries-noreview
/pkg/bench/rttanalysis @cockroachdb/sql-schema
/pkg/blobs/ @cockroachdb/bulk-prs
/pkg/build/ @cockroachdb/dev-inf
/pkg/ccl/baseccl/ @cockroachdb/cli-prs
/pkg/ccl/buildccl/ @cockroachdb/dev-inf
/pkg/ccl/cliccl/ @cockroachdb/cli-prs
/pkg/ccl/cmdccl/enc_utils/ @cockroachdb/storage
/pkg/ccl/cmdccl/stub-schema-registry/ @cockroachdb/cdc-prs
/pkg/ccl/gssapiccl/ @cockroachdb/server-prs
/pkg/ccl/kvccl/ @cockroachdb/kv-noreview
/pkg/ccl/migrationccl/ @cockroachdb/kv-prs-noreview
/pkg/ccl/logictestccl/ @cockroachdb/sql-queries-noreview
/pkg/ccl/multiregionccl/ @cockroachdb/multiregion
/pkg/ccl/multitenantccl/ @cockroachdb/unowned
/pkg/ccl/oidcccl/ @cockroachdb/server-prs
/pkg/ccl/partitionccl/ @cockroachdb/sql-schema @cockroachdb/multiregion
/pkg/ccl/serverccl/ @cockroachdb/server-prs
/pkg/ccl/serverccl/statusccl @cockroachdb/sql-observability
/pkg/ccl/telemetryccl/ @cockroachdb/obs-inf-prs
/pkg/ccl/testccl/sqlccl/ @cockroachdb/sql-queries
/pkg/ccl/testccl/workload/schemachange/ @cockroachdb/sql-schema
/pkg/ccl/testutilsccl/ @cockroachdb/test-eng-noreview
/pkg/ccl/utilccl/ @cockroachdb/server-prs
/pkg/ccl/workloadccl/ @cockroachdb/sql-experience-noreview
/pkg/ccl/benchccl/rttanalysisccl/ @cockroachdb/sql-experience
/pkg/clusterversion/ @cockroachdb/kv-prs-noreview
/pkg/cmd/allocsim/ @cockroachdb/kv-prs
/pkg/cmd/bazci/ @cockroachdb/dev-inf
/pkg/cmd/cmdutil/ @cockroachdb/dev-inf
/pkg/cmd/cmp-protocol/ @cockroachdb/sql-experience
/pkg/cmd/cmp-sql/ @cockroachdb/sql-experience
/pkg/cmd/cmpconn/ @cockroachdb/sql-experience
/pkg/cmd/cockroach/ @cockroachdb/cli-prs
/pkg/cmd/cockroach-oss/ @cockroachdb/cli-prs
/pkg/cmd/cockroach-short/ @cockroachdb/cli-prs
/pkg/cmd/compile-build/ @cockroachdb/dev-inf
/pkg/cmd/cr2pg/ @cockroachdb/sql-experience
/pkg/cmd/dev/ @cockroachdb/dev-inf
/pkg/cmd/docgen/ @cockroachdb/docs
/pkg/cmd/fuzz/ @cockroachdb/test-eng
/pkg/cmd/generate-binary/ @cockroachdb/sql-experience
/pkg/cmd/generate-metadata-tables/ @cockroachdb/sql-experience
/pkg/cmd/generate-spatial-ref-sys/ @cockroachdb/geospatial
/pkg/cmd/generate-test-suites/ @cockroachdb/dev-inf
/pkg/cmd/generate-staticcheck/ @cockroachdb/dev-inf
/pkg/cmd/geoviz/ @cockroachdb/geospatial
/pkg/cmd/github-post/ @cockroachdb/test-eng
/pkg/cmd/github-pull-request-make/ @cockroachdb/dev-inf
/pkg/cmd/gossipsim/ @cockroachdb/kv-prs
/pkg/cmd/import-tools/ @cockroachdb/dev-inf
/pkg/cmd/internal/issues/ @cockroachdb/test-eng
/pkg/cmd/mirror/ @cockroachdb/dev-inf
/pkg/cmd/prereqs/ @cockroachdb/dev-inf
/pkg/cmd/protoc-gen-gogoroach/ @cockroachdb/server-prs
/pkg/cmd/publish-artifacts/ @cockroachdb/dev-inf
/pkg/cmd/publish-provisional-artifacts/ @cockroachdb/dev-inf
/pkg/cmd/reduce/ @cockroachdb/sql-queries
/pkg/cmd/release/ @cockroachdb/dev-inf
/pkg/cmd/returncheck/ @cockroachdb/dev-inf
/pkg/cmd/roachprod/ @cockroachdb/test-eng
/pkg/cmd/roachprod-stress/ @cockroachdb/test-eng
/pkg/cmd/roachtest/ @cockroachdb/test-eng
/pkg/cmd/label-merged-pr/ @cockroachdb/dev-inf
# This isn't quite right, each file should ideally be owned
# by a team (or at least most of them), namely the team that
# is the Owner for the roachtest, but until we unify these
# two concepts of ownership we don't want to ping test-eng
# on each test change.
/pkg/cmd/roachtest/tests @cockroachdb/test-eng-noreview
/pkg/cmd/roachvet/ @cockroachdb/dev-inf
/pkg/cmd/skip-test/ @cockroachdb/test-eng
/pkg/cmd/skiperrs/ @cockroachdb/sql-experience
/pkg/cmd/skipped-tests/ @cockroachdb/test-eng
/pkg/cmd/smithcmp/ @cockroachdb/sql-queries
/pkg/cmd/smithtest/ @cockroachdb/sql-queries
/pkg/cmd/teamcity-trigger/ @cockroachdb/dev-inf
/pkg/cmd/testfilter/ @cockroachdb/test-eng
/pkg/cmd/uptodate/ @cockroachdb/dev-inf
/pkg/cmd/urlcheck/ @cockroachdb/docs
/pkg/cmd/whoownsit/ @cockroachdb/test-eng
/pkg/cmd/workload/ @cockroachdb/sql-experience-noreview
/pkg/cmd/wraprules/ @cockroachdb/obs-inf-prs-noreview
/pkg/cmd/zerosum/ @cockroachdb/kv-noreview
/pkg/col/ @cockroachdb/sql-queries
/pkg/compose/ @cockroachdb/sql-experience
/pkg/config/ @cockroachdb/server-prs
/pkg/docs/ @cockroachdb/docs
/pkg/featureflag/ @cockroachdb/cli-prs-noreview
/pkg/gossip/ @cockroachdb/kv-noreview
/pkg/internal/client/requestbatcher/ @cockroachdb/kv-prs
/pkg/internal/codeowners/ @cockroachdb/test-eng
/pkg/internal/reporoot @cockroachdb/dev-inf
/pkg/internal/rsg/ @cockroachdb/sql-queries
/pkg/internal/sqlsmith/ @cockroachdb/sql-queries
/pkg/internal/team/ @cockroachdb/test-eng
/pkg/jobs/ @cockroachdb/cdc-prs
/pkg/keys/ @cockroachdb/kv-prs
/pkg/keysbase/ @cockroachdb/kv-prs
# Don't ping KV on updates to reserved descriptor IDs and such.
/pkg/keys/constants.go @cockroachdb/kv-prs-noreview
/pkg/migration/ @cockroachdb/kv-prs-noreview @cockroachdb/sql-schema
/pkg/multitenant @cockroachdb/unowned
/pkg/release/ @cockroachdb/dev-inf
/pkg/roachpb/.gitattributes @cockroachdb/dev-inf
/pkg/roachpb/ambiguous_* @cockroachdb/kv-prs
/pkg/roachpb/api* @cockroachdb/kv-prs
/pkg/roachpb/batch* @cockroachdb/kv-prs
/pkg/roachpb/BUILD.bazel @cockroachdb/kv-prs-noreview
/pkg/roachpb/data* @cockroachdb/kv-prs
/pkg/roachpb/dep_test.go @cockroachdb/dev-inf
/pkg/roachpb/error* @cockroachdb/kv-prs
/pkg/roachpb/gen @cockroachdb/dev-inf
/pkg/roachpb/gen.bzl @cockroachdb/dev-inf
/pkg/roachpb/app* @cockroachdb/sql-observability
/pkg/roachpb/index* @cockroachdb/sql-observability
/pkg/roachpb/internal* @cockroachdb/kv-prs
/pkg/roachpb/io-formats* @cockroachdb/bulk-io
/pkg/roachpb/main_test.go @cockroachdb/kv-prs-noreview
/pkg/roachpb/merge_spans* @cockroachdb/kv-prs
/pkg/roachpb/metadata* @cockroachdb/kv-prs
/pkg/roachpb/method* @cockroachdb/kv-prs
/pkg/roachpb/roachpbmock/ @cockroachdb/kv-prs
/pkg/roachpb/replica_* @cockroachdb/kv-prs
/pkg/roachpb/span* @cockroachdb/kv-prs
/pkg/roachpb/string_test.go @cockroachdb/kv-prs
/pkg/roachpb/tenant* @cockroachdb/kv-prs
/pkg/roachpb/testdata/ambi* @cockroachdb/kv-prs
/pkg/roachpb/testdata/repl* @cockroachdb/kv-prs
/pkg/roachpb/version* @cockroachdb/unowned
/pkg/roachprod/ @cockroachdb/test-eng
/pkg/rpc/ @cockroachdb/server-prs
/pkg/scheduledjobs/ @cockroachdb/bulk-prs
/pkg/security/ @cockroachdb/server-prs @cockroachdb/prodsec
/pkg/settings/ @cockroachdb/server-prs
/pkg/spanconfig/ @cockroachdb/kv-prs
/pkg/startupmigrations/ @cockroachdb/server-prs @cockroachdb/sql-schema
/pkg/streaming/ @cockroachdb/bulk-prs
/pkg/testutils/ @cockroachdb/test-eng-noreview
/pkg/testutils/reduce/ @cockroachdb/sql-queries
/pkg/testutils/sqlutils/ @cockroachdb/sql-queries
/pkg/ts/ @cockroachdb/kv-prs
/pkg/ts/catalog/ @cockroachdb/obs-inf-prs
/pkg/util/ @cockroachdb/unowned
/pkg/util/log @cockroachdb/server-prs
/pkg/util/metric @cockroachdb/obs-inf-prs
/pkg/util/stop @cockroachdb/server-prs
/pkg/util/tracing @cockroachdb/obs-inf-prs
/pkg/workload/ @cockroachdb/sql-experience-noreview
# Allow the security team to have insight into changes to
# authn/authz code.
/pkg/cmd/roachprod/vm/azure/auth.go @cockroachdb/prodsec
/pkg/cli/auth.go @cockroachdb/prodsec
/pkg/rpc/auth.go @cockroachdb/prodsec
/pkg/sql/pgwire/auth.go @cockroachdb/prodsec
# Own all bazel files to dev-inf, but don't request reviews for them
# as they are mostly - but not only - generated code that changes with
# changes to the Go code in the package.
**/BUILD.bazel @cockroachdb/dev-inf-noreview
# Avoid mass pings when updating proto tooling.
# For some reason, **/*.pb.go does not work (in the
# sense that ./pkg/cmd/whoownsit will not match this
# pattern to any files).
**.pb.go @cockroachdb/unowned
**.pb.gw.go @cockroachdb/unowned