summaryrefslogtreecommitdiff
path: root/src/other_tools/just_mr/setup.cpp
diff options
context:
space:
mode:
authorPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-09 11:56:09 +0100
committerPaul Cristian Sarbu <paul.cristian.sarbu@huawei.com>2023-11-14 13:35:01 +0100
commit2a17d5bbfb1cde47af676f49f7409c7a0014758b (patch)
tree35b7ef9052c26881e4822dc9c140cdd1e58ca5a7 /src/other_tools/just_mr/setup.cpp
parenta53aedf9a2aa568bc9f037925a86de3741af08f6 (diff)
downloadjustbuild-2a17d5bbfb1cde47af676f49f7409c7a0014758b.tar.gz
just-mr archives fetch: Add logic for local mirrors and preferred hostnames
Diffstat (limited to 'src/other_tools/just_mr/setup.cpp')
-rw-r--r--src/other_tools/just_mr/setup.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/setup.cpp b/src/other_tools/just_mr/setup.cpp
index 6d568bc8..5aab7095 100644
--- a/src/other_tools/just_mr/setup.cpp
+++ b/src/other_tools/just_mr/setup.cpp
@@ -104,6 +104,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
auto critical_git_op_map = CreateCriticalGitOpMap(crit_git_op_ptr);
auto content_cas_map =
CreateContentCASMap(common_args.just_mr_paths,
+ common_args.alternative_mirrors,
common_args.ca_info,
local_api ? &(*local_api) : nullptr,
remote_api ? &(*remote_api) : nullptr,
@@ -131,6 +132,7 @@ auto MultiRepoSetup(std::shared_ptr<Configuration> const& config,
CreateContentGitMap(&content_cas_map,
&import_to_git_map,
common_args.just_mr_paths,
+ common_args.alternative_mirrors,
common_args.ca_info,
&resolve_symlinks_map,
&critical_git_op_map,