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
293
294
295
296
297
|
{ "just-mr":
{ "type": ["@", "rules", "CC", "binary"]
, "arguments_config": ["FINAL_LDFLAGS"]
, "name": ["just-mr"]
, "srcs": ["main.cpp"]
, "private-deps":
[ "cli"
, "exit_codes"
, "fetch"
, "launch"
, "rc"
, "setup"
, "setup_utils"
, "update"
, ["@", "cli11", "", "cli11"]
, ["@", "gsl", "", "gsl"]
, ["@", "json", "", "json"]
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/common", "retry_cli"]
, ["src/buildtool/crypto", "hash_function"]
, ["src/buildtool/file_system", "git_context"]
, ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
, ["src/buildtool/main", "version"]
, ["src/buildtool/storage", "config"]
, ["src/buildtool/storage", "repository_garbage_collector"]
, ["src/buildtool/storage", "storage"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-ldflags":
{ "type": "++"
, "$1":
[ ["-Wl,-z,stack-size=8388608"]
, {"type": "var", "name": "FINAL_LDFLAGS", "default": []}
]
}
}
, "utils":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["utils"]
, "hdrs": ["utils.hpp"]
, "srcs": ["utils.cpp"]
, "deps":
[ ["@", "gsl", "", "gsl"]
, ["@", "json", "", "json"]
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/file_system", "file_system_manager"]
, ["src/buildtool/storage", "config"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
]
}
, "exit_codes":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["exit_codes"]
, "hdrs": ["exit_codes.hpp"]
, "stage": ["src", "other_tools", "just_mr"]
}
, "cli":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["cli"]
, "hdrs": ["cli.hpp"]
, "deps":
[ "mirrors"
, "utils"
, ["@", "cli11", "", "cli11"]
, ["@", "fmt", "", "fmt"]
, ["@", "gsl", "", "gsl"]
, ["@", "json", "", "json"]
, ["src/buildtool/common", "clidefaults"]
, ["src/buildtool/common", "retry_cli"]
, ["src/buildtool/common", "user_structs"]
, ["src/buildtool/execution_api/local", "config"]
, ["src/buildtool/logging", "log_level"]
]
, "stage": ["src", "other_tools", "just_mr"]
}
, "setup_utils":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["setup_utils"]
, "hdrs": ["setup_utils.hpp"]
, "srcs": ["setup_utils.cpp"]
, "deps":
[ "cli"
, ["src/buildtool/auth", "auth"]
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/build_engine/expression", "expression_ptr_interface"]
, ["src/buildtool/execution_api/local", "config"]
, ["src/buildtool/serve_api/remote", "config"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ "exit_codes"
, ["@", "json", "", "json"]
, ["src/buildtool/execution_api/remote", "config"]
, ["src/buildtool/file_system", "file_system_manager"]
, ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
]
}
, "fetch":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["fetch"]
, "hdrs": ["fetch.hpp"]
, "srcs": ["fetch.cpp"]
, "deps":
[ "cli"
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/common", "retry_cli"]
, ["src/buildtool/storage", "config"]
, ["src/buildtool/storage", "storage"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ "exit_codes"
, "setup_utils"
, ["@", "fmt", "", "fmt"]
, ["@", "json", "", "json"]
, ["src/buildtool/auth", "auth"]
, ["src/buildtool/common/remote", "retry_config"]
, ["src/buildtool/crypto", "hash_function"]
, ["src/buildtool/execution_api/bazel_msg", "bazel_msg"]
, ["src/buildtool/execution_api/common", "api_bundle"]
, ["src/buildtool/execution_api/common", "common"]
, ["src/buildtool/execution_api/local", "config"]
, ["src/buildtool/execution_api/local", "context"]
, ["src/buildtool/execution_api/local", "local"]
, ["src/buildtool/execution_api/remote", "bazel"]
, ["src/buildtool/execution_api/remote", "config"]
, ["src/buildtool/execution_api/remote", "context"]
, ["src/buildtool/execution_api/serve", "mr_local_api"]
, ["src/buildtool/logging", "logging"]
, ["src/buildtool/main", "retry"]
, ["src/buildtool/multithreading", "async_map_utils"]
, ["src/buildtool/multithreading", "task_system"]
, ["src/buildtool/serve_api/remote", "config"]
, ["src/buildtool/serve_api/remote", "serve_api"]
, ["src/other_tools/just_mr/progress_reporting", "progress"]
, ["src/other_tools/just_mr/progress_reporting", "progress_reporter"]
, ["src/other_tools/just_mr/progress_reporting", "statistics"]
, ["src/other_tools/ops_maps", "archive_fetch_map"]
, ["src/other_tools/ops_maps", "content_cas_map"]
, ["src/other_tools/ops_maps", "critical_git_op_map"]
, ["src/other_tools/ops_maps", "git_tree_fetch_map"]
, ["src/other_tools/ops_maps", "import_to_git_map"]
, ["src/other_tools/utils", "parse_archive"]
, ["src/other_tools/utils", "parse_git_tree"]
, ["src/utils/cpp", "file_locking"]
]
}
, "update":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["update"]
, "hdrs": ["update.hpp"]
, "srcs": ["update.cpp"]
, "deps":
[ "cli"
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/storage", "config"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ "exit_codes"
, "utils"
, ["@", "fmt", "", "fmt"]
, ["@", "json", "", "json"]
, ["src/buildtool/logging", "logging"]
, ["src/buildtool/multithreading", "async_map_utils"]
, ["src/buildtool/multithreading", "task_system"]
, ["src/other_tools/git_operations", "git_repo_remote"]
, ["src/other_tools/just_mr/progress_reporting", "progress"]
, ["src/other_tools/just_mr/progress_reporting", "progress_reporter"]
, ["src/other_tools/just_mr/progress_reporting", "statistics"]
, ["src/other_tools/ops_maps", "git_update_map"]
]
}
, "setup":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["setup"]
, "hdrs": ["setup.hpp"]
, "srcs": ["setup.cpp"]
, "deps":
[ "cli"
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/common", "retry_cli"]
, ["src/buildtool/storage", "config"]
, ["src/buildtool/storage", "storage"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ "exit_codes"
, "setup_utils"
, "utils"
, ["@", "json", "", "json"]
, ["src/buildtool/auth", "auth"]
, ["src/buildtool/common/remote", "retry_config"]
, ["src/buildtool/crypto", "hash_function"]
, ["src/buildtool/execution_api/bazel_msg", "bazel_msg"]
, ["src/buildtool/execution_api/common", "api_bundle"]
, ["src/buildtool/execution_api/common", "common"]
, ["src/buildtool/execution_api/local", "config"]
, ["src/buildtool/execution_api/local", "context"]
, ["src/buildtool/execution_api/local", "local"]
, ["src/buildtool/execution_api/remote", "bazel"]
, ["src/buildtool/execution_api/remote", "config"]
, ["src/buildtool/execution_api/remote", "context"]
, ["src/buildtool/execution_api/serve", "mr_local_api"]
, ["src/buildtool/file_system/symlinks_map", "resolve_symlinks_map"]
, ["src/buildtool/logging", "logging"]
, ["src/buildtool/main", "retry"]
, ["src/buildtool/multithreading", "async_map_utils"]
, ["src/buildtool/multithreading", "task_system"]
, ["src/buildtool/serve_api/remote", "config"]
, ["src/buildtool/serve_api/remote", "serve_api"]
, ["src/buildtool/storage", "fs_utils"]
, ["src/other_tools/just_mr/progress_reporting", "progress"]
, ["src/other_tools/just_mr/progress_reporting", "progress_reporter"]
, ["src/other_tools/just_mr/progress_reporting", "statistics"]
, ["src/other_tools/ops_maps", "content_cas_map"]
, ["src/other_tools/ops_maps", "critical_git_op_map"]
, ["src/other_tools/ops_maps", "git_tree_fetch_map"]
, ["src/other_tools/repo_map", "repos_to_setup_map"]
, ["src/other_tools/root_maps", "commit_git_map"]
, ["src/other_tools/root_maps", "content_git_map"]
, ["src/other_tools/root_maps", "distdir_git_map"]
, ["src/other_tools/root_maps", "fpath_git_map"]
, ["src/other_tools/root_maps", "tree_id_git_map"]
, ["src/utils/cpp", "file_locking"]
]
}
, "launch":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["launch"]
, "hdrs": ["launch.hpp"]
, "srcs": ["launch.cpp"]
, "deps":
[ "cli"
, ["src/buildtool/common", "retry_cli"]
, ["src/buildtool/storage", "config"]
, ["src/buildtool/storage", "storage"]
]
, "stage": ["src", "other_tools", "just_mr"]
, "private-deps":
[ "exit_codes"
, "setup"
, "setup_utils"
, "utils"
, ["@", "json", "", "json"]
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/logging", "logging"]
, ["src/buildtool/multithreading", "task_system"]
, ["src/buildtool/storage", "repository_garbage_collector"]
, ["src/utils/cpp", "file_locking"]
]
}
, "mirrors":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["mirrors"]
, "hdrs": ["mirrors.hpp"]
, "deps":
[ ["@", "json", "", "json"]
, ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
, ["src/other_tools/utils", "curl_url_handle"]
]
, "stage": ["src", "other_tools", "just_mr"]
}
, "rc":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["rc"]
, "hdrs": ["rc.hpp"]
, "srcs": ["rc.cpp"]
, "deps": ["cli"]
, "private-deps":
[ "exit_codes"
, "rc_merge"
, ["@", "json", "", "json"]
, ["src/buildtool/build_engine/expression", "expression"]
, ["src/buildtool/common", "location"]
, ["src/buildtool/file_system", "file_system_manager"]
, ["src/buildtool/logging", "log_level"]
, ["src/buildtool/logging", "logging"]
]
, "stage": ["src", "other_tools", "just_mr"]
}
, "rc_merge":
{ "type": ["@", "rules", "CC", "library"]
, "name": ["rcmerge"]
, "hdrs": ["rc_merge.hpp"]
, "srcs": ["rc_merge.cpp"]
, "stage": ["src", "other_tools", "just_mr"]
, "deps": [["src/buildtool/build_engine/expression", "expression"]]
}
}
|