aboutsummaryrefslogtreecommitdiff
path: root/mod/options.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-07-20 22:48:34 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-07-25 20:32:30 +0300
commit7407647bf6c73c1b128749ed788d53b5f174b4be (patch)
treec2ea4b5f745baa86b4ed414d21778f6ddfefa4c1 /mod/options.cli
parent8c0326c9433d47dfbeab8d1514512de1160d5792 (diff)
Add support for submission simulating
Diffstat (limited to 'mod/options.cli')
-rw-r--r--mod/options.cli13
1 files changed, 11 insertions, 2 deletions
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;
};
}
}