diff options
Diffstat (limited to 'etc')
-rw-r--r-- | etc/brep-module.conf | 32 | ||||
-rwxr-xr-x | etc/private/install/brep-install | 9 | ||||
-rw-r--r-- | etc/private/install/brep-module.conf | 32 |
3 files changed, 59 insertions, 14 deletions
diff --git a/etc/brep-module.conf b/etc/brep-module.conf index 606c2d5..d5a5e78 100644 --- a/etc/brep-module.conf +++ b/etc/brep-module.conf @@ -14,6 +14,13 @@ # search-title Packages +# Package search page description. If specified, it is displayed before the +# search form on the first page only. The value is treated as an XHTML5 +# fragment. +# +# search-description "" + + # Web page logo. It is displayed in the page header aligned to the left edge. # The value is treated as an XHTML5 fragment. # @@ -201,6 +208,14 @@ menu About=?about # build-alt-hard-rebuild-stop +# Time to wait before assuming the 'queued' notifications are delivered for +# package CI requests submitted via third-party services (GitHub, etc). During +# this time a package is not considered for a build. Must be specified in +# seconds. Default is 30 seconds. +# +# build-queued-timeout 30 + + # The maximum size of the build task request 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 @@ -222,14 +237,17 @@ menu About=?about # build-result-request-max-size 10485760 -# Enable or disable package build notification emails in the <name>=<bool> -# form. If true is specified for a toolchain name, then emails are sent -# according to the build-*email package manifest values when the package is -# built with this toolchain. If 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 toolchains. +# Enable or disable package build notification emails in the <name>=<mode> +# form. The valid <mode> values are 'none', 'latest', and 'all'. If 'all' is +# specified for a toolchain name, then emails are sent according to the +# build-*email package manifest values when all versions of a package are +# built with this toolchain. If 'latest' is specified, then for this toolchain +# name the emails are only sent for the latest version of a package. If 'none' +# is specified, then no emails are sent for this toolchain name. By default +# the 'latest' mode is assumed. Repeat this option to enable/disable emails +# for multiple toolchains. # -# build-toolchain-email <toolchain-name>=true|false +# build-toolchain-email <toolchain-name>=latest|none|all # The build database connection configuration. By default, brep will try to diff --git a/etc/private/install/brep-install b/etc/private/install/brep-install index 29c3310..37179c2 100755 --- a/etc/private/install/brep-install +++ b/etc/private/install/brep-install @@ -271,6 +271,12 @@ GRANT ALL PRIVILEGES ON DATABASE brep_package, brep_build TO brep; CREATE USER "www-data" INHERIT IN ROLE brep; CREATE USER "brep-build" INHERIT IN ROLE brep PASSWORD '-'; + +\c brep_package +GRANT ALL PRIVILEGES ON SCHEMA public TO brep; + +\c brep_build +GRANT ALL PRIVILEGES ON SCHEMA public TO brep; EOF # Create the "staging" package database for the submit-pub package submission @@ -284,6 +290,9 @@ LC_COLLATE 'en_US.UTF8' LC_CTYPE 'en_US.UTF8'; GRANT ALL PRIVILEGES ON DATABASE brep_submit_package TO brep; + +\c brep_submit_package +GRANT ALL PRIVILEGES ON SCHEMA public TO brep; EOF # Make sure the 'brep' and Apache2 user's logins work properly. diff --git a/etc/private/install/brep-module.conf b/etc/private/install/brep-module.conf index df439f4..bfaa8f6 100644 --- a/etc/private/install/brep-module.conf +++ b/etc/private/install/brep-module.conf @@ -14,6 +14,13 @@ # search-title Packages +# Package search page description. If specified, it is displayed before the +# search form on the first page only. The value is treated as an XHTML5 +# fragment. +# +# search-description "" + + # Web page logo. It is displayed in the page header aligned to the left edge. # The value is treated as an XHTML5 fragment. # @@ -201,6 +208,14 @@ menu About=?about # build-alt-hard-rebuild-stop +# Time to wait before assuming the 'queued' notifications are delivered for +# package CI requests submitted via third-party services (GitHub, etc). During +# this time a package is not considered for a build. Must be specified in +# seconds. Default is 30 seconds. +# +# build-queued-timeout 30 + + # The maximum size of the build task request 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 @@ -222,14 +237,17 @@ menu About=?about # build-result-request-max-size 10485760 -# Enable or disable package build notification emails in the <name>=<bool> -# form. If true is specified for a toolchain name, then emails are sent -# according to the build-*email package manifest values when the package is -# built with this toolchain. If 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 toolchains. +# Enable or disable package build notification emails in the <name>=<mode> +# form. The valid <mode> values are 'none', 'latest', and 'all'. If 'all' is +# specified for a toolchain name, then emails are sent according to the +# build-*email package manifest values when all versions of a package are +# built with this toolchain. If 'latest' is specified, then for this toolchain +# name the emails are only sent for the latest version of a package. If 'none' +# is specified, then no emails are sent for this toolchain name. By default +# the 'latest' mode is assumed. Repeat this option to enable/disable emails +# for multiple toolchains. # -# build-toolchain-email <toolchain-name>=true|false +# build-toolchain-email <toolchain-name>=latest|none|all # The build database connection configuration. By default, brep will try to |