Blame progit/default_config.py

Pierre-Yves Chibon 2088eb
#-*- coding: utf-8 -*-
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
"""
Pierre-Yves Chibon 2088eb
 (c) 2014 - Copyright Red Hat Inc
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
 Authors:
Pierre-Yves Chibon 2088eb
   Pierre-Yves Chibon <pingou@pingoured.fr></pingou@pingoured.fr>
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
"""
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
import os
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 43b199
# secret key used to generate unique csrf token
Pierre-Yves Chibon 43b199
SECRET_KEY = '<insert here="" key="" own="" your="">'</insert>
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# url to the database server:
Pierre-Yves Chibon 2088eb
DB_URL = 'sqlite:////var/tmp/progit_dev.sqlite'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 767d71
# The FAS group in which the admin of progit are
Pierre-Yves Chibon 2088eb
ADMIN_GROUP = 'progit_admin'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# The email address to which the flask.log will send the errors (tracebacks)
Pierre-Yves Chibon 2088eb
EMAIL_ERROR = 'pingou@pingoured.fr'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# The URL at which the project is available.
Pierre-Yves Chibon 36e0be
APP_URL = 'https://fedorahosted.org/progit/'
Pierre-Yves Chibon 36e0be
Pierre-Yves Chibon 36e0be
# The URL to use to clone the git repositories.
Pierre-Yves Chibon 36e0be
GIT_URL = 'git@progit.fedorahosted.org'
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Number of items displayed per page
Pierre-Yves Chibon 2088eb
ITEM_PER_PAGE = 50
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Folder containing to the git repos
Pierre-Yves Chibon 2088eb
GIT_FOLDER = os.path.join(
Pierre-Yves Chibon 2088eb
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 2088eb
    '..',
Pierre-Yves Chibon 2088eb
    'repos'
Pierre-Yves Chibon 2088eb
)
Pierre-Yves Chibon 2088eb
Pierre-Yves Chibon 2088eb
# Folder containing the forks repos
Pierre-Yves Chibon 2088eb
FORK_FOLDER = os.path.join(
Pierre-Yves Chibon 2088eb
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 2088eb
    '..',
Pierre-Yves Chibon 2088eb
    'forks'
Pierre-Yves Chibon 2088eb
)
Pierre-Yves Chibon 088a3b
Pierre-Yves Chibon 4b7a7d
# Folder containing the docs repos
Pierre-Yves Chibon 4b7a7d
DOCS_FOLDER = os.path.join(
Pierre-Yves Chibon 088a3b
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 088a3b
    '..',
Pierre-Yves Chibon 4b7a7d
    'docs'
Pierre-Yves Chibon 088a3b
)
Pierre-Yves Chibon 12ec09
Pierre-Yves Chibon 12ec09
# Configuration file for gitolite
Pierre-Yves Chibon 12ec09
GITOLITE_CONFIG = os.path.join(
Pierre-Yves Chibon 12ec09
    os.path.abspath(os.path.dirname(__file__)),
Pierre-Yves Chibon 12ec09
    '..',
Pierre-Yves Chibon 12ec09
    'gitolite.conf'
Pierre-Yves Chibon 12ec09
)
Pierre-Yves Chibon fba7ed
Pierre-Yves Chibon fba7ed
# Home folder of the gitolite user -- Folder where to run gl-compile-conf from
Pierre-Yves Chibon fba7ed
GITOLITE_HOME = None
Pierre-Yves Chibon fba7ed
Pierre-Yves Chibon c19c0d
# Folder containing all the public ssh keys for gitolite
Pierre-Yves Chibon c19c0d
GITOLITE_KEYDIR = None
Pierre-Yves Chibon c19c0d
Pierre-Yves Chibon fba7ed
# Path to the gitolite.rc file
Pierre-Yves Chibon fba7ed
GL_RC = None
Pierre-Yves Chibon fba7ed
# Path to the /bin directory where the gitolite tools can be found
Pierre-Yves Chibon fba7ed
GL_BINDIR = None