diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-09-02 22:54:21 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-09-25 11:35:25 +0300 |
commit | 8226c7c7a2bffc96d70f297e792f3c0afbce67f0 (patch) | |
tree | 8ab25697081b67b79586405d60b48ec6d3facd52 /bpkg/pkg-build-collect.hxx | |
parent | f660e1c80e3d44d922705ce2a3bcd0b16f67fcac (diff) |
Scratch plan on refinement caused by dependency up/down-grade/drop if any configuration negotiation has been performed
Diffstat (limited to 'bpkg/pkg-build-collect.hxx')
-rw-r--r-- | bpkg/pkg-build-collect.hxx | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/bpkg/pkg-build-collect.hxx b/bpkg/pkg-build-collect.hxx index 3621732..1ce6962 100644 --- a/bpkg/pkg-build-collect.hxx +++ b/bpkg/pkg-build-collect.hxx @@ -1090,8 +1090,6 @@ namespace bpkg // instead. Add entry to replaced_vers and throw replace_version if the // existing version needs to be replaced but the new version cannot be // re-collected recursively in-place (see replaced_versions for details). - // Also add an entry and throw if the existing dependent needs to be - // replaced. // // Optionally, pass the function which verifies the chosen package // version. It is called before replace_version is potentially thrown or @@ -1470,6 +1468,18 @@ namespace bpkg replaced_versions&, postponed_configurations&); + // Non-recursively collect an existing non-deviated dependent previously + // returned by the query_existing_dependents() function call for the + // subsequent re-evaluation. + // + void + collect_existing_dependent ( + const pkg_build_options&, + const existing_dependent&, + postponed_configuration::packages&& dependencies, + replaced_versions&, + postponed_configurations&); + // Non-recursively collect the deviated existing dependent previously // returned by the query_existing_dependents() function call and add it to // the postponed package recollections list. |