Skip to content

Commit 828d5af

Browse files
zackwintermdbMongoDB Bot
authored and
MongoDB Bot
committed
SERVER-103726 Add comments around install targets to make it easier to search for aliases (#34942)
GitOrigin-RevId: e39b601f5e67dac512656eb7179761af4356142e
1 parent 27ad663 commit 828d5af

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

Diff for: BUILD.bazel

+20
Original file line numberDiff line numberDiff line change
@@ -125,34 +125,39 @@ genrule(
125125
cmd = "echo noop > $(location :compile_commands_done)",
126126
)
127127

128+
# This sets up targets for install-wiredtiger and archive-wiredtiger
128129
mongo_install(
129130
name = "wiredtiger",
130131
srcs = [
131132
"//src/third_party/wiredtiger:wt",
132133
],
133134
)
134135

136+
# This sets up targets for install-mongod and archive-mongod
135137
mongo_install(
136138
name = "mongod",
137139
srcs = [
138140
"//src/mongo/db:mongod",
139141
],
140142
)
141143

144+
# This sets up targets for install-mongos and archive-mongos
142145
mongo_install(
143146
name = "mongos",
144147
srcs = [
145148
"//src/mongo/s:mongos",
146149
],
147150
)
148151

152+
# This sets up targets for install-mongo and archive-mongo
149153
mongo_install(
150154
name = "mongo",
151155
srcs = [
152156
"//src/mongo/shell:mongo",
153157
],
154158
)
155159

160+
# This sets up targets for install-core and archive-core
156161
mongo_install(
157162
name = "core",
158163
srcs = [],
@@ -162,6 +167,7 @@ mongo_install(
162167
],
163168
)
164169

170+
# This sets up targets for install-devcore and archive-devcore
165171
mongo_install(
166172
name = "devcore",
167173
srcs = [],
@@ -172,13 +178,15 @@ mongo_install(
172178
],
173179
)
174180

181+
# This sets up targets for install-mongotest and archive-mongotest
175182
mongo_install(
176183
name = "mongotest",
177184
srcs = [
178185
"//src/mongo/db/query/query_tester:mongotest",
179186
],
180187
)
181188

189+
# This sets up targets for install-mongocryptd and archive-mongocryptd
182190
mongo_install(
183191
name = "mongocryptd",
184192
srcs = [],
@@ -189,6 +197,7 @@ mongo_install(
189197

190198
# This reflects the package that actually gets released during packaging. Be careful
191199
# when changing this definition
200+
# This sets up targets for install-dist and archive-dist
192201
mongo_install(
193202
name = "dist",
194203
srcs = [
@@ -249,6 +258,7 @@ copy_to_directory(
249258
],
250259
)
251260

261+
# This sets up targets for install-dist-test and archive-dist-test
252262
mongo_install(
253263
name = "dist-test",
254264
srcs = [
@@ -280,6 +290,7 @@ mongo_install(
280290
],
281291
)
282292

293+
# This sets up targets for install-mongo_crypt and archive-mongo_crypt
283294
mongo_install(
284295
name = "mongo_crypt",
285296
srcs = [],
@@ -289,6 +300,7 @@ mongo_install(
289300
],
290301
)
291302

303+
# This sets up targets for install-mongo_crypt_shlib_test and archive-mongo_crypt_shlib_test
292304
mongo_install(
293305
name = "mongo_crypt_shlib_test",
294306
srcs = [],
@@ -297,20 +309,23 @@ mongo_install(
297309
],
298310
)
299311

312+
# This sets up targets for install-dbtest and archive-dbtest
300313
mongo_install(
301314
name = "dbtest",
302315
srcs = [
303316
"//src/mongo/dbtests:dbtest",
304317
],
305318
)
306319

320+
# This sets up targets for install-sdam_json_test and archive-sdam_json_test
307321
mongo_install(
308322
name = "sdam_json_test",
309323
srcs = [
310324
"//src/mongo/client/sdam:sdam_json_test",
311325
],
312326
)
313327

328+
# This sets up targets for install-server_selection_json_test and archive-server_selection_json_test
314329
mongo_install(
315330
name = "server_selection_json_test",
316331
srcs = [
@@ -326,6 +341,7 @@ copy_file(
326341
out = "copied_files/stitch_support.h",
327342
)
328343

344+
# This sets up targets for install-stitch_support and archive-stitch_support
329345
mongo_install(
330346
name = "stitch_support",
331347
srcs = ["//src/mongo/embedded/stitch_support"],
@@ -335,6 +351,7 @@ mongo_install(
335351
},
336352
)
337353

354+
# This sets up targets for install-stitch_support_test and archive-stitch_support_test
338355
mongo_install(
339356
name = "stitch_support_test",
340357
testonly = True,
@@ -343,6 +360,7 @@ mongo_install(
343360
],
344361
)
345362

363+
# This sets up targets for install-compass and archive-compass
346364
mongo_install(
347365
name = "compass",
348366
srcs = ["//src/mongo/installer/compass:compass_files"],
@@ -361,6 +379,7 @@ mongo_install(
361379
if target_name != "mongo_integration_test"
362380
]
363381

382+
# This sets up targets for install-mongo_integration_test and archive-mongo_integration_test
364383
mongo_install(
365384
name = "mongo_integration_test",
366385
testonly = True,
@@ -375,6 +394,7 @@ mongo_install(
375394
}),
376395
)
377396

397+
# This sets up targets for install-mongotmock and archive-mongotmock
378398
mongo_install(
379399
name = "mongotmock",
380400
srcs = [

0 commit comments

Comments
 (0)