aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrancois Kritzinger <francois@codesynthesis.com>2024-12-10 16:27:29 +0200
committerFrancois Kritzinger <francois@codesynthesis.com>2024-12-10 16:33:49 +0200
commitcd422eff155c63cd73bd559c78480a1b2d4d42fd (patch)
treeef8db9b035020ce52ec6ba39c82e6a8a59241952
parentd716c64e4501a741ac40b0c2fd0303534a7d7f05 (diff)
Update module infrastructure
-rw-r--r--mod/mod-ci.hxx2
-rw-r--r--mod/module.cli7
-rw-r--r--mod/module.hxx3
3 files changed, 6 insertions, 6 deletions
diff --git a/mod/mod-ci.hxx b/mod/mod-ci.hxx
index bd91e99..e4a343c 100644
--- a/mod/mod-ci.hxx
+++ b/mod/mod-ci.hxx
@@ -40,7 +40,7 @@ namespace brep
public tenant_service_build_building,
public tenant_service_build_built
#ifdef BREP_CI_TENANT_SERVICE_UNLOADED
- , tenant_service_build_unloaded
+ , public tenant_service_build_unloaded
#endif
#endif
{
diff --git a/mod/module.cli b/mod/module.cli
index 104337b..e8f7df9 100644
--- a/mod/module.cli
+++ b/mod/module.cli
@@ -845,13 +845,10 @@ namespace brep
{
};
- // @@ TODO Is etc/brep-module.conf updated manually? Yes, will need to
- // replicate there eventually.
- //
class ci_github: ci_start, ci_cancel,
build, build_db,
- handler,
- openssl_options
+ repository_url,
+ handler
{
// GitHub CI-specific options.
//
diff --git a/mod/module.hxx b/mod/module.hxx
index f3e062e..ba8958a 100644
--- a/mod/module.hxx
+++ b/mod/module.hxx
@@ -41,6 +41,8 @@ namespace brep
diag_data data;
server_error (diag_data&& d): data (move (d)) {}
+
+ server_error () = default;
};
// Every handler member function that needs to produce any diagnostics
@@ -93,6 +95,7 @@ namespace brep
template <class F> void l1 (const F& f) const {if (verb_ >= 1) f ();}
template <class F> void l2 (const F& f) const {if (verb_ >= 2) f ();}
+ template <class F> void l3 (const F& f) const {if (verb_ >= 3) f ();}
// Set to true when the handler is successfully initialized.
//