summaryrefslogtreecommitdiff
path: root/patchtracker/Conf.py
blob: e89a12983fc072dd3c2f286b4e79d0f0f55e7359 (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
41
42
43
44
archive_root = '/scratch/debian-archive/debian'
archive_root_url = 'ftp://ftp.se.debian.org/debian'
template_dir  = './templates'
#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? """

archive_lists_compressed = False
""" Are the archive lists in the local partial mirror compressed?  Different
    versions of reprepro seem to behave differently here so this is an
    indication flag for the scripts that interact with it.  
"""

try:
  from localconfig import *
except ImportError:
  pass