From 5163436b00711318baea4fc0ad43a4de8222354a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sun, 14 May 2017 00:37:16 +0300 Subject: Implement builds page --- mod/build-config.hxx | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'mod/build-config.hxx') diff --git a/mod/build-config.hxx b/mod/build-config.hxx index 13024dc..6058774 100644 --- a/mod/build-config.hxx +++ b/mod/build-config.hxx @@ -10,6 +10,8 @@ #include #include +#include + namespace brep { // Return pointer to the shared build configurations instance, creating one @@ -18,6 +20,19 @@ namespace brep // shared_ptr shared_build_config (const path&); + + // Return the package configuration build log url. By default the url is to + // the operations combined log. + // + string + build_log_url (const string& host, const dir_path& root, + const build&, + const string* operation = nullptr); + + // Return the package configuration forced rebuild url. + // + string + force_rebuild_url (const string& host, const dir_path& root, const build&); } #endif // MOD_BUILD_CONFIG_HXX -- cgit v1.1