From f95f24412ea85149556b34abb91f06e247d6db6d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Mon, 19 Jun 2023 18:45:26 +0300 Subject: Fix deinit command to try bpkg-pkg-build --deorphan if bpkg-pkg drop fails --- bdep/sync.hxx | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'bdep/sync.hxx') diff --git a/bdep/sync.hxx b/bdep/sync.hxx index b025e40..fdd6d0b 100644 --- a/bdep/sync.hxx +++ b/bdep/sync.hxx @@ -112,6 +112,19 @@ namespace bdep bool create_host_config = false, bool create_build2_config = false); + // As above but deinitialize the specified project packages in the specified + // configuration instead of upgrading them. + // + // Specifically, in bpkg terms, unhold and deorphan these packages in the + // specified configuration with their project directory repository being + // masked. + // + void + cmd_sync_deinit (const common_options&, + const dir_path& prj, + const shared_ptr&, + const strings& pkgs); + int cmd_sync (cmd_sync_options&&, cli::group_scanner& args); -- cgit v1.1