From 32e4cffb444d4ad936c9037eecea9bd78f81f3d0 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Tue, 13 Jun 2023 21:05:35 +0300 Subject: Add --mask-repository pkg-build option --- bpkg/rep-remove.cxx | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'bpkg/rep-remove.cxx') diff --git a/bpkg/rep-remove.cxx b/bpkg/rep-remove.cxx index 700534f..0c28159 100644 --- a/bpkg/rep-remove.cxx +++ b/bpkg/rep-remove.cxx @@ -284,6 +284,28 @@ namespace bpkg } void + rep_mask (const strings& repos) + { + // @@ Do we want to fail if a name or url is not present in all the dbs? + // + + for (database& db: repo_configs) + { + for (const string& repo: repos) + { + if (repository_name (repo)) + { + if (shared_ptr r + } + else + { + + } + } + } + } + + void rep_remove_clean (const common_options& o, database& db, bool quiet) { tracer trace ("rep_remove_clean"); -- cgit v1.1