summaryrefslogtreecommitdiff
path: root/patchtracker/Conf.py
blob: 448f595dd017a0aac253f60c8b23fe90345b6916 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
archive_root = '/scratch/debian-archive/debian'
archive_root_url = 'ftp://ftp.se.debian.org/debian'
output_dir = '/scratch/patches'
template_dir  = './templates'
static_dir  = './static'
#root_url = 'http://people.debian.org/~seanius/pts/patches'
root_url = ''
database = 'pt.db'
sqlschema = 'db.sql'

use_apt_pkg = None
""" should we instruct (>= v0.1.12) python-debian to use the faster
    apt_pkg module for parsing?  apt_pkg currently doesn't work on
    some multilined values (see #538376) so if it's available we have
    to explicitly disable it for now.  To do so set this variable
    to False instead of None
"""

pts_index_file = "pts-index.json.gz"
""" The name of the JSON encoded "whole system index" that we can optionally
    export (the -i option to gen-patch-info) for mass-grabbing of statistics
    by the PTS system
"""

caching = True
""" Should caching be enabled? """

cachedir = "cache"
""" The location of the output cache directory.  This directory contains
    cached output from system commands or other nontrivial calculations
    for faster and less resource intensive re-use
"""

cachecompress = False
""" Should compression of cache data be enabled? """

try:
  from localconfig import *
except ImportError:
  pass