From 77edd135b01db91f35333180d590a51b4b6f1d7f Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 30 2017 08:36:29 +0000 Subject: Adjust the configuration for some of the newly introduced keys Signed-off-by: Pierre-Yves Chibon --- diff --git a/doc/configuration.rst b/doc/configuration.rst index 2fa4246..da21c94 100644 --- a/doc/configuration.rst +++ b/doc/configuration.rst @@ -77,6 +77,7 @@ Defaults to: ``'ssh://git@pagure.org/'`` GIT_URL_GIT ~~~~~~~~~~~ + This configuration key provides the information to the user on how to clone the git repos hosted on pagure anonymously. This access can be granted via the ``git://`` or ``http(s)://`` protocols. @@ -86,6 +87,18 @@ The URL should end with a slash ``/``. Defaults to: ``'git://pagure.org/'`` +BROKER_URL +~~~~~~~~~~ + +This configuration key is used to point celery to the broker to use. This +is the broker that is used to communicate between the web application and +its workers. + +Defaults to: ``'redis://%s' % APP.config['REDIS_HOST']`` + +.. note:: See the :ref:`redis-section` for the ``REDIS_HOST`` configuration + key + Repo Directories ---------------- @@ -145,6 +158,14 @@ This configuration key points to the folder where user-uploaded tarballs are stored and served from. +ATTACHMENTS_FOLDER +~~~~~~~~~~~~~~~~~~ + +This configuration key points to the folder where attachments can be cached +for easier access by the web-server (allowing to not interact with the git +repo having it to serve it). + + UPLOAD_FOLDER_URL ~~~~~~~~~~~~~~~~~~ @@ -315,6 +336,7 @@ Defaults to: ``False``. below) +.. _redis-section: Redis options ------------- @@ -711,8 +733,8 @@ To give access to just some projects (named ``rpms/test`` and } } -+REQUIRED_GROUPS -~~~~~~~~~~~~~~~~ +REQUIRED_GROUPS +~~~~~~~~~~~~~~~ The required groups allows to specify in which group an user must be to be added to a project with commit or admin access. @@ -775,6 +797,18 @@ information. Defaults to: ``None`` +CELERY_CONFIG +~~~~~~~~~~~~~ + +This configuration key allows you to tweak the configuration of celery for +your needs. +See the documentation about `celery configuration +`_ for +more information. + +Defaults to: ``{}`` + + Deprecated configuration keys -----------------------------