From d6d72bc6e4545d216d89660f86781bbc34980fe9 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 29 Jul 2022 17:37:33 +0300 Subject: For rep-create, pkg-verify, and rep-info don't verify build-time toolchain dependency constraints if --ignore-unknown option is specified --- bpkg/rep-info.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'bpkg/rep-info.cxx') 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 */)); -- cgit v1.1