aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2023-11-02 17:14:54 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2023-11-02 17:14:54 +0200
commit985f7226c99f892a7e00082d41628fa0c7519262 (patch)
treeac9e613857d392b5e50502034db7376220c7df84
parent300f66bb8447301bfc23b5e3bbc5b952506f0b42 (diff)
Disable dependency information diagnostics filtering in verbose mode
-rw-r--r--bpkg/pkg-build-collect.cxx25
1 files 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<package_key> printed;
- pkgs.print_constraints (dr,
- dk,
- indent,
- printed,
- true /* selected_dependent */);
+ pkgs.print_constraints (
+ dr,
+ dk,
+ indent,
+ printed,
+ (verb >= 2 ? optional<bool> () : 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<bool> () : 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 <<