From 21033565488f6c63b4c40962cccfdc8b6ca32b2a Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Sat, 7 Jul 2018 19:09:53 +0300 Subject: Add support for package submission --- etc/brep-module.conf | 60 +++++++++++++++++++++++++++++++++++++++++++++++++++- 1 file changed, 59 insertions(+), 1 deletion(-) (limited to 'etc') diff --git a/etc/brep-module.conf b/etc/brep-module.conf index 3d53cc7..0612969 100644 --- a/etc/brep-module.conf +++ b/etc/brep-module.conf @@ -22,6 +22,7 @@ # menu Packages= # menu Builds=?builds +# menu Submit=?submit menu About=?about @@ -133,7 +134,7 @@ menu About=?about # The maximum size of the build result manifest accepted. Note that the HTTP # POST request body is cached to retry database transactions in the face of -# recoverable failures (deadlock, loss of connection, etc). Default is 10M +# recoverable failures (deadlock, loss of connection, etc). Default is 10M. # # build-result-request-max-size 10485760 @@ -200,6 +201,63 @@ menu About=?about # +# The directory to save final submission data to. If unspecified, the package +# submission functionality will be disabled. If specified, then submit-temp +# must be specified as well. +# +# Note that the directory path must be absolute and the directory itself must +# exist and have read, write, and execute permissions granted to the user that +# runs the web server. +# +# submit-data + + +# The directory to save temporary submission data to. Must be specified if the +# package submission functionality is enabled. +# +# Note that this directory must be on the same filesystem and satisfy the same +# requirements as submit-data. It is also the user's responsibility to clean +# it up after an unclean web server shutdown. +# +# submit-temp + + +# The maximum size of the submission data accepted. Note that currently the +# entire submission request is read into memory. Default is 10M. +# +# submit-max-size 10485760 + + +# The package submission form fragment. If specified, then its contents are +# treated as an XHTML5 fragment that is inserted into the element of +# the submission page. If unspecified, then no submission page will be +# displayed. Note that the file path must be absolute. +# +# submit-form + + +# The package submission email. If specified, the submission request and +# result manifests will be sent to this address. +# +# submit-email + + +# The handler program to be executed on package submission. The handler is +# executed as part of the submission request and is passed additional +# arguments that can be specified with submit-handler-argument followed by +# the absolute path to the submission directory. Note that the program path +# must be absolute. +# +# submit-handler + + +# Additional arguments to be passed to the submission handler program (see +# submit-handler for details). Repeat this option to specify multiple +# arguments. +# +# submit-handler-argument + + # Trace verbosity. Disabled by default. # # verbosity 0 -- cgit v1.1