From 985f7226c99f892a7e00082d41628fa0c7519262 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Thu, 2 Nov 2023 17:14:54 +0200 Subject: Disable dependency information diagnostics filtering in verbose mode --- bpkg/pkg-build-collect.cxx | 25 +++++++++++++++---------- 1 file changed, 15 insertions(+), 10 deletions(-) diff --git a/bpkg/pkg-build-collect.cxx b/bpkg/pkg-build-collect.cxx index 2be737e..d251a77 100644 --- a/bpkg/pkg-build-collect.cxx +++ b/bpkg/pkg-build-collect.cxx @@ -603,11 +603,12 @@ namespace bpkg // { set printed; - pkgs.print_constraints (dr, - dk, - indent, - printed, - true /* selected_dependent */); + pkgs.print_constraints ( + dr, + dk, + indent, + printed, + (verb >= 2 ? optional () : true) /* selected_dependent */); } // If the dependency we failed to up/downgrade is not explicitly @@ -655,16 +656,20 @@ namespace bpkg } indent += " "; - pkgs.print_constraints (dr, - package_key (pvk.db, pvk.name), - indent, - printed, - false /* selected_dependent */); + pkgs.print_constraints ( + dr, + package_key (pvk.db, pvk.name), + indent, + printed, + (verb >= 2 ? optional () : false) /* selected_dependent */); indent.resize (indent.size () - 2); } } + if (verb < 2) + dr << info << "re-run with -v for additional dependency information"; + dr << info << "consider re-trying with --upgrade|-u potentially combined " << "with --recursive|-r" << info << "or explicitly request up/downgrade of package " << dk.name << -- cgit v1.1