/[glsr]/trunk/setup/config.py
Gentoo

Contents of /trunk/setup/config.py

Parent Directory Parent Directory | Revision Log Revision Log


Revision 100 - (show annotations) (download) (as text)
Sat Jul 30 18:18:01 2005 UTC (9 years, 4 months ago) by port001
File MIME type: text/x-python
File size: 1290 byte(s)
Remove obsolete import statement
1 # Copyright 2004 Ian Leitch
2 # Copyright 1999-2005 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 #
5
6 __revision__ = '$Id$'
7 __version__ = "0.3"
8 __modulename__ = "config"
9
10 db = {
11 "db_type": "mysql",
12 "host": "localhost",
13 "port": "",
14 "user": "glsrusr",
15 "passwd": "glsrusr",
16 "db": "glsr",
17 "prefix": "glsr_"
18 }
19
20 theme = "gentoo"
21 contact = "port001@gentoo.org"
22
23 host = 'localhost'
24 root = "/usr/local/share/glsr/%s/" % host
25 url = "http://%s:8080/" % host
26
27 # FIXME: The next three settings should be set in the web UI.
28 who_is_online_offset = 300
29
30 # Should all scripts being submitted require approval by an admin?
31 require_approval = False
32
33 # The number of error messages to display in the admin area.
34 error_report_list_length = 5
35
36
37 template_loc = root + "templates/" + theme
38 template_cache = root + "templates/tmpl_cache/"
39
40 debug = True
41
42 logging = True
43 error_reporting = True
44 logging_loc = root + "log/glsr/"
45 logfile = "glsr.log"
46 error_logfile = "error_reports.log"
47
48 cookie_domain = "scriptstest.gentoo.org"
49 cookie_path = "/"
50 cookie_secure = False
51 cookie_secret = "T0mm3yT4n5"
52
53 session_timeout = 259200 # Time in seconds (1 day = 86400)
54
55 # Time in seconds we should wait for each thread
56 threads_timeout = 3

Properties

Name Value
svn:keywords Id

  ViewVC Help
Powered by ViewVC 1.1.20