aboutsummaryrefslogtreecommitdiff
path: root/bdep/sync.hxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2023-06-19 18:45:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2023-06-21 12:39:53 +0300
commitf95f24412ea85149556b34abb91f06e247d6db6d (patch)
treed6f019f3b74695bb8322705400a8d8f5430a5a9f /bdep/sync.hxx
parent8336fe72ab8b4a93c54ca775ca88c567cc91c82c (diff)
Fix deinit command to try bpkg-pkg-build --deorphan if bpkg-pkg drop fails
Diffstat (limited to 'bdep/sync.hxx')
-rw-r--r--bdep/sync.hxx13
1 files changed, 13 insertions, 0 deletions
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<configuration>&,
+ const strings& pkgs);
+
int
cmd_sync (cmd_sync_options&&, cli::group_scanner& args);