From 7407647bf6c73c1b128749ed788d53b5f174b4be Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 20 Jul 2018 22:48:34 +0300 Subject: Add support for submission simulating --- mod/options.cli | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) (limited to 'mod/options.cli') diff --git a/mod/options.cli b/mod/options.cli index 62a339d..66f19b1 100644 --- a/mod/options.cli +++ b/mod/options.cli @@ -623,8 +623,8 @@ namespace brep string result | rs = "*"; }; - // Parameters must either be all present (actual submission) or absent - // (submission form request). + // Parameters, except simulate, must either be all present (actual + // submission) or absent (submission form request). // // Note also that besides these parameters there can be others. We don't // recognize their semantics and just save them to the submission request @@ -642,6 +642,15 @@ namespace brep // Package archive file SHA256 checksum. // string sha256sum; + + // Simulate submission. Tells the submission handler not to publish the + // package but to respond as if it does. + // + // Note that the package submission email (see submit-email + // configuration option for details) is not sent for the simulated + // submission. + // + bool simulate; }; } } -- cgit v1.1