From 9b6086440aa261fc376c8293df2345050658dd2b Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 7 Oct 2021 22:36:01 +0300 Subject: Allow building build module in multiple configurations if they belong to different configuration clusters --- bpkg/database.hxx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'bpkg/database.hxx') diff --git a/bpkg/database.hxx b/bpkg/database.hxx index c9ef590..cfd2645 100644 --- a/bpkg/database.hxx +++ b/bpkg/database.hxx @@ -214,7 +214,7 @@ namespace bpkg // // Note that we skip dangling links without any warning since they can be // quite common. Think of a shared host configuration with a bunch of - // implicitly linked configurations, which are removed and potentially + // implicitly linked configurations which are removed and potentially // recreated later during the host configuration lifetime. Note however, // that we remove the dangling implicit links during migration (see // migrate() on details). @@ -297,6 +297,12 @@ namespace bpkg linked_databases dependent_configs (bool sys_rep = false); + // Return configurations of the linked cluster which the current + // configuration belongs to. + // + linked_databases + cluster_configs (bool sys_rep = false); + // The following find_*() functions assume that the main database has been // created with the pre_attach flag set to true. // -- cgit v1.1