diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-11-09 11:56:09 +0100 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2023-11-14 13:35:01 +0100 |
commit | 2a17d5bbfb1cde47af676f49f7409c7a0014758b (patch) | |
tree | 35b7ef9052c26881e4822dc9c140cdd1e58ca5a7 /src/other_tools/just_mr/setup.cpp | |
parent | a53aedf9a2aa568bc9f037925a86de3741af08f6 (diff) | |
download | justbuild-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.cpp | 2 |
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, |