diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2022-07-29 17:37:33 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2022-08-02 14:26:28 +0300 |
commit | d6d72bc6e4545d216d89660f86781bbc34980fe9 (patch) | |
tree | 2971fda1501575cdc493095fecd1a8e5c0af9668 /bpkg/rep-info.cxx | |
parent | fee16e0139803510bb0666aa56990af5849b0589 (diff) |
For rep-create, pkg-verify, and rep-info don't verify build-time toolchain dependency constraints if --ignore-unknown option is specified
Diffstat (limited to 'bpkg/rep-info.cxx')
-rw-r--r-- | bpkg/rep-info.cxx | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bpkg/rep-info.cxx b/bpkg/rep-info.cxx index 7d78173..190a210 100644 --- a/bpkg/rep-info.cxx +++ b/bpkg/rep-info.cxx @@ -65,11 +65,14 @@ namespace bpkg init_tmp (conf != nullptr ? *conf : empty_dir_path); + bool ignore_unknown (!o.manifest () || o.ignore_unknown ()); + rep_fetch_data rfd ( rep_fetch (o, conf, rl, - !o.manifest () /* ignore_unknow */, + ignore_unknown, + ignore_unknown /* ignore_toolchain */, o.deep () /* expand_values */, o.deep () /* load_buildfiles */)); |