From ea566856673876541020af32a68f2b0a90b91130 Mon Sep 17 00:00:00 2001 From: Chenxiong Qi Date: Mar 06 2019 06:38:37 +0000 Subject: Fix config name MODULES_ALLOW_SCRATCH in docs Signed-off-by: Chenxiong Qi --- diff --git a/README.rst b/README.rst index 0c0b855..290a3b3 100644 --- a/README.rst +++ b/README.rst @@ -106,7 +106,7 @@ Options: - ``require_overrides`` - the requires to override the modulemd with. The overrides must be to existing requires on the modulemd. The expected format is ``{'platform': ['f28', 'f29']}``. - ``scratch`` - a boolean indicating if a scratch module build should be performed. - Only allowed to be ``True`` if the MBS setting ``MODULE_ALLOW_SCRATCH`` is ``True``. + Only allowed to be ``True`` if the MBS setting ``MODULES_ALLOW_SCRATCH`` is ``True``. - ``yaml`` - a string of the input file when submitting a YAML file directly in a ``multipart/form-data`` request. The MBS setting ``YAML_SUBMIT_ALLOWED`` must be set to ``True`` for this to be allowed. diff --git a/docs/HOW_MBS_BUILDS_MODULES.rst b/docs/HOW_MBS_BUILDS_MODULES.rst index bfac023..a15383d 100644 --- a/docs/HOW_MBS_BUILDS_MODULES.rst +++ b/docs/HOW_MBS_BUILDS_MODULES.rst @@ -26,7 +26,7 @@ POST request directly including the contents of a YAML modulemd file ``utils.submit.submit_module_build_from_yaml(...)`` method which also goes down to ``submit_module_build(...)``. -If module scratch builds are allowed (MBS setting ``MODULE_ALLOW_SCRATCH`` is +If module scratch builds are allowed (MBS setting ``MODULES_ALLOW_SCRATCH`` is ``True``), the user can also upload one or more source RPMs uploaded to Koji via calls to Koji's ``session.uploadWrapper(..)``, and supply the list of upload links to MBS (called ``srpms``). Such custom SRPMs will be used to