diff options
author | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-06-02 11:11:39 +0200 |
---|---|---|
committer | Paul Cristian Sarbu <paul.cristian.sarbu@huawei.com> | 2025-06-02 12:44:48 +0200 |
commit | 24cc2e9fbd536ebc87ee56a2fa01096368e143ce (patch) | |
tree | f2f9ce1699090f72dc55abfb175a295bbd35b2eb /src/other_tools/just_mr/setup_utils.hpp | |
parent | f4e9de93b50fe8135d378830577cda687cae28ee (diff) | |
download | justbuild-24cc2e9fbd536ebc87ee56a2fa01096368e143ce.tar.gz |
just-mr: Warn for non-content-fixed repo reached from absent main
If the main repository is marked absent, warn if during the
dependency closure computation any non-content-fixed repositories
are reached, i.e., any "file"-type repositories that are neither
implicitly nor explicitly marked "to_git". Also warn if the main
repository itself is marked absent but is not content fixed.
Add small test checking that the new warning is produced.
Diffstat (limited to 'src/other_tools/just_mr/setup_utils.hpp')
-rw-r--r-- | src/other_tools/just_mr/setup_utils.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/other_tools/just_mr/setup_utils.hpp b/src/other_tools/just_mr/setup_utils.hpp index 6b0d8731..7dc482e6 100644 --- a/src/other_tools/just_mr/setup_utils.hpp +++ b/src/other_tools/just_mr/setup_utils.hpp @@ -63,6 +63,8 @@ struct SetupRepos { namespace Utils { /// \brief Get the repo dependency closure for a given main repository. +/// If main repository is absent, emits a warning for any reachable +/// non-content-fixed repository found. /// \param repos ExpressionPtr of Map type. void ReachableRepositories( ExpressionPtr const& repos, |