aboutsummaryrefslogtreecommitdiff
path: root/mod/module.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-03-12 12:48:15 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-03-13 12:16:35 +0300
commit962c725f9fba6b7b4803f31dbcd497169b237f57 (patch)
treedf9cf7e257323d81fd638b6d43f5ab060600ad3c /mod/module.cli
parent351f89ffe10a2f3aadfbc3a80704b5954dc356ca (diff)
Change semantics for build-toolchain-email configuration option
Diffstat (limited to 'mod/module.cli')
-rw-r--r--mod/module.cli17
1 files changed, 10 insertions, 7 deletions
diff --git a/mod/module.cli b/mod/module.cli
index 3e81b38..552a60b 100644
--- a/mod/module.cli
+++ b/mod/module.cli
@@ -586,15 +586,18 @@ namespace brep
default is 10M."
}
- std::map<string, bool> build-toolchain-email
+ std::map<string, build_email> build-toolchain-email
{
- "<name>=<bool>",
- "Enable or disable package build notification emails. If \cb{true} is
+ "<name>=<mode>",
+ "Enable or disable package build notification emails. The valid <mode>
+ values are \cb{none}, \cb{latest}, and \cb{all}. If \cb{all} is
specified for a toolchain name, then emails are sent according to the
- \cb{build-*email} package manifest values when the package is built
- with this toolchain. If \cb{false} is specified, then no emails are
- sent for this toolchain name. By default build notification emails
- are enabled. Repeat this option to enable/disable emails for multiple
+ \cb{build-*email} package manifest values when all versions of a
+ package are built with this toolchain. If \cb{latest} is specified,
+ then for this toolchain name the emails are only sent for the latest
+ version of a package. If \cb{none} is specified, then no emails are
+ sent for this toolchain name. By default the \cb{latest} mode is
+ assumed. Repeat this option to enable/disable emails for multiple
toolchains. See \l{bpkg#manifest-package Package Manifest} for
details on \cb{build-*email} values."
}