diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-13 21:05:35 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2023-06-16 11:10:04 +0300 |
commit | 32e4cffb444d4ad936c9037eecea9bd78f81f3d0 (patch) | |
tree | bbbb4452a88f47449c86a7ff85b9617ab7b621da /bpkg/rep-remove.cxx | |
parent | c98f1215387f993329a96785a2a9102d93cb0328 (diff) |
Add --mask-repository pkg-build optionmask-repos-old
Diffstat (limited to 'bpkg/rep-remove.cxx')
-rw-r--r-- | bpkg/rep-remove.cxx | 22 |
1 files changed, 22 insertions, 0 deletions
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<repository> r + } + else + { + + } + } + } + } + + void rep_remove_clean (const common_options& o, database& db, bool quiet) { tracer trace ("rep_remove_clean"); |