|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### Secret key for the Flask application
|
|
Pierre-Yves Chibon |
9a6466 |
SECRET_KEY='<the application="" key="" secret="" web="">'</the>
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### url to the database server:
|
|
Pierre-Yves Chibon |
9a6466 |
#DB_URL=mysql://user:pass@host/db_name
|
|
Pierre-Yves Chibon |
9a6466 |
#DB_URL=postgres://user:pass@host/db_name
|
|
Pierre-Yves Chibon |
9a6466 |
DB_URL = 'sqlite:////var/tmp/progit_dev.sqlite'
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### the number of items (packages, packagers..) to display on the search
|
|
Pierre-Yves Chibon |
9a6466 |
### pages
|
|
Pierre-Yves Chibon |
9a6466 |
ITEMS_PER_PAGE = 50
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### The FAS group in which the admin of progit are
|
|
Pierre-Yves Chibon |
9a6466 |
ADMIN_GROUP = ['sysadmin-main', 'sysadmin-cvs']
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### The email address to which the flask.log will send the errors (tracebacks)
|
|
Pierre-Yves Chibon |
9a6466 |
EMAIL_ERROR = 'pingou@pingoured.fr'
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### The URL at which the project is available.
|
|
Pierre-Yves Chibon |
e4b805 |
APP_URL = 'https://fedorahosted.org/progit/'
|
|
Pierre-Yves Chibon |
e4b805 |
|
|
Pierre-Yves Chibon |
e4b805 |
### The URL to use to clone git repositories.
|
|
Pierre-Yves Chibon |
e4b805 |
GIT_URL = 'git@progit.fedorahosted.org'
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### Folder containing to the git repos
|
|
Pierre-Yves Chibon |
9a6466 |
GIT_FOLDER = os.path.join(
|
|
Pierre-Yves Chibon |
9a6466 |
os.path.abspath(os.path.dirname(__file__)),
|
|
Pierre-Yves Chibon |
9a6466 |
'..',
|
|
Pierre-Yves Chibon |
9a6466 |
'repos'
|
|
Pierre-Yves Chibon |
9a6466 |
)
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### Folder containing the forks repos
|
|
Pierre-Yves Chibon |
9a6466 |
FORK_FOLDER = os.path.join(
|
|
Pierre-Yves Chibon |
9a6466 |
os.path.abspath(os.path.dirname(__file__)),
|
|
Pierre-Yves Chibon |
9a6466 |
'..',
|
|
Pierre-Yves Chibon |
9a6466 |
'forks'
|
|
Pierre-Yves Chibon |
9a6466 |
)
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### Folder containing the docs repos
|
|
Pierre-Yves Chibon |
9a6466 |
DOCS_FOLDER = os.path.join(
|
|
Pierre-Yves Chibon |
9a6466 |
os.path.abspath(os.path.dirname(__file__)),
|
|
Pierre-Yves Chibon |
9a6466 |
'..',
|
|
Pierre-Yves Chibon |
9a6466 |
'docs'
|
|
Pierre-Yves Chibon |
9a6466 |
)
|
|
Pierre-Yves Chibon |
9a6466 |
|
|
Pierre-Yves Chibon |
9a6466 |
### Configuration file for gitolite
|
|
Pierre-Yves Chibon |
9a6466 |
GITOLITE_CONFIG = os.path.join(
|
|
Pierre-Yves Chibon |
9a6466 |
os.path.abspath(os.path.dirname(__file__)),
|
|
Pierre-Yves Chibon |
9a6466 |
'..',
|
|
Pierre-Yves Chibon |
9a6466 |
'gitolite.conf'
|
|
Pierre-Yves Chibon |
9a6466 |
)
|