diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-05-17 21:16:13 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-05-23 12:25:56 +0300 |
commit | f83ae9ce7a2d7f3158ca043d947b230f27dbe7bd (patch) | |
tree | f81571262df62bd33c8d9cdc4720371bf9d2aa5d /bpkg/pkg-configure.hxx | |
parent | 8bb9424799cbcae6f0455e96dde9e0ecfc6a4411 (diff) |
Postpone failure due to unsatisfied dependency constraint for existing dependent
Diffstat (limited to 'bpkg/pkg-configure.hxx')
-rw-r--r-- | bpkg/pkg-configure.hxx | 26 |
1 files changed, 15 insertions, 11 deletions
diff --git a/bpkg/pkg-configure.hxx b/bpkg/pkg-configure.hxx index c4c2758..099e1e8 100644 --- a/bpkg/pkg-configure.hxx +++ b/bpkg/pkg-configure.hxx @@ -68,6 +68,9 @@ namespace bpkg // dependency decisions" mode). Failed that, select an alternative as if no // prerequisites are specified (the "make dependency decisions" mode). // + // Optionally, remove constraints from the specified dependencies + // (unconstrain_deps). Only allowed in the simulation mode. + // struct configure_prerequisites_result { package_prerequisites prerequisites; @@ -92,17 +95,18 @@ namespace bpkg // Note: loads selected packages. // configure_prerequisites_result - pkg_configure_prerequisites (const common_options&, - database&, - transaction&, - const dependencies&, - const vector<size_t>* alternatives, - package_skeleton&&, - const vector<package_name>* prev_prerequisites, - bool simulate, - const function<find_database_function>&, - const function<find_package_state_function>&); - + pkg_configure_prerequisites ( + const common_options&, + database&, + transaction&, + const dependencies&, + const vector<size_t>* alternatives, + package_skeleton&&, + const vector<package_name>* prev_prerequisites, + bool simulate, + const function<find_database_function>&, + const function<find_package_state_function>&, + const vector<package_key>* unconstrain_deps = nullptr); // Configure the package, update its state, and commit the transaction. // |