From cd422eff155c63cd73bd559c78480a1b2d4d42fd Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Tue, 10 Dec 2024 16:27:29 +0200 Subject: Update module infrastructure --- mod/mod-ci.hxx | 2 +- mod/module.cli | 7 ++----- mod/module.hxx | 3 +++ 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'mod') 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 void l1 (const F& f) const {if (verb_ >= 1) f ();} template void l2 (const F& f) const {if (verb_ >= 2) f ();} + template void l3 (const F& f) const {if (verb_ >= 3) f ();} // Set to true when the handler is successfully initialized. // -- cgit v1.1