RSS

(root)/packagedb/0.5.x : /test.cfg.sample (revision 616)

To get this branch, use:
bzr branch /bzr/packagedb/0.5.x
Line Revision Contents
1 590.1.1
[global]
2
pkgdb.admin_grp = 'cvsadmin'
3
pkgdb.pkger_grp = 'packager'
4 592
pkgdb.mod_grp = 'sysadmin'
5
pkgdb.provenpkger_grp = 'provenpackager'
6
pkgdb.newpkger_grp = 'newpackager'
7
pkgdb.critpath_grps = ['cvsadmin', 'critpathadmin']
8 590.1.1
9
fas.url = 'https://admin.fedoraproject.org/accounts/'
10 592
fas.username = 'user'
11
fas.password = 'password'
12 590.1.1
13
# Public URL for bugzilla.  It's the base of all our bugzilla addresses
14
bugzilla.url='https://bugzilla.redhat.com/'
15
# If our internal queries have to go to a different bugzilla address, set this.
16
# Data returned with this URL will be rewritten to the public URL before
17
# display.
18
#bugzilla.queryurl='https://bzprx.vip.phx.redhat.com'
19 592
bugzilla.user = 'user@somewhere.com'
20
bugzilla.password = 'password'
21 590.1.1
# Whether we want pkgdb to modify bugzilla bugs (right now, just to reassign
22
# bugs when the owner changes.).  Leave off for testing and
23
# set to True in production.
24
bugzilla.enable_modification = False
25
26
# Koji configuration
27
koji.huburl='https://koji.fedoraproject.org/kojihub'
28
29 592
memcached.servers=['127.0.0.1:11211']
30
#sync-yum.cachedir="/misc/tmp"
31
32 590.1.1
# Certificates
33
cert.user='/etc/pki/pkgdb/pkgdb.pem'
34
cert.user_ca='/etc/pki/pkgdb/fedora-server-ca.cert'
35
cert.server_ca='/etc/pki/pkgdb/fedora-upload-ca.cert'
36
37
email.recipients=('packager-list@localhost',)
38 592
email.sender=('Fedora PackageDB', 'pkgdb@localhost')
39 590.1.1
40
# TurboMail settings
41
mail.on=False
42
mail.server='localhost'
43
mail.encoding='utf-8'
44
mail.debug=True
45
46
# DATABASE
47 592
sqlalchemy.dburi="postgres://pkgdbadmin:bunbunbun@127.0.0.1/test"
48 590.1.1
database.admin_dburi="postgres://test:test@127.0.0.1/test"
49
database.common_user='pkgdbadmin'
50
database.readonly_user='pkgdbreadonly'
51
52 592
# path to db_repo
53
database.repo="%(current_dir_uri)s/db_repo"
54
55 590.1.1
# set to 1 to make SQLAlchemy echo SQL commands on the console
56 592
sqlalchemy.echo = 0
57 590.1.1
58
# WSGI doesn't need a lot of db connections.  Up these if you're deploying as a
59
# standalone daemon
60 592
sqlalchemy.pool_size=1
61
sqlalchemy.max_overflow=1
62 590.1.1
63
# SERVER
64
65
# Some server parameters that you may want to tweak
66 592
server.socket_port=8086
67 590.1.1
server.socket_host="localhost"
68
server.webpath="/"
69 592
server.static_media_dir="/var/pkgdb/static"
70 590.1.1
server.allow_static_icons=True
71
72
# WSGI Takes care of scaling these via httpd daemons.  Up these if you're
73
# deploying as a standalone daemon
74
server.thread_pool=1
75
#server.socket_queue_size=30
76
77 592
base_url_filter.on = True
78 590.1.1
base_url_filter.use_x_forwarded_host = False
79 592
base_url_filter.base_url = "https://localhost/"
80 590.1.1
81
visit.cookie.secure = True
82
#jsonfas.debug = True
83
84
# Enable the debug output at the end on pages.
85 592
# log_debug_info_filter.on = False
86 590.1.1
87
# You may want to turn this to development if testing standalone
88 592
89
server.environment="production"
90
server.log_to_screen = False
91 590.1.1
autoreload.package="pkgdb"
92 592
# Never under mod_wsgi:
93
autoreload.on = False
94 590.1.1
package='pkgdb'
95
96
# session_filter.on = True
97
98
# Set to True if you'd like to abort execution if a controller gets an
99
# unexpected parameter. False by default
100
tg.strict_parameters = True
101
102
# LOGGING
103
# Logging configuration generally follows the style of the standard
104
# Python logging module configuration. Note that when specifying
105
# log format messages, you need to use *() for formatting variables.
106
# Deployment independent log configuration is in pkgdb/config/log.cfg
107
108
[logging]
109
[[formatters]]
110
# *(asctime)s can be added to these if not using apache logging
111
[[[message_only]]]
112
format='*(message)s'
113
114
[[[full_content]]]
115
format='*(name)s *(levelname)s *(message)s'
116
117
[[handlers]]
118
[[[cron_out]]]
119
class='StreamHandler'
120
level='DEBUG'
121
args='(sys.stdout,)'
122
formatter='full_content'
123
124
[[[debug_out]]]
125
class='StreamHandler'
126
level='DEBUG'
127
args='(sys.stdout,)'
128
formatter='full_content'
129
130
[[[access_out]]]
131
class='StreamHandler'
132
level='INFO'
133
args='(sys.stdout,)'
134
formatter='message_only'
135
136
[[[error_out]]]
137
class='StreamHandler'
138
level='ERROR'
139
args='(sys.stdout,)'
140
formatter='full_content'
141
142
[[loggers]]
143
[[[pkgdb]]]
144
level='DEBUG'
145
qualname='pkgdb'
146
handlers=['debug_out']
147
148
[[[pkgdb-sync-yum]]]
149 592
# Set to alter the verbosity of import script
150 590.1.1
level='DEBUG'
151
qualname='pkgdb-sync-yum'
152
handlers=['debug_out']
153
154
[[[allinfo]]]
155 592
level='INFO'
156 590.1.1
qualname='*'
157
handlers=['debug_out']
158
159
[[[access]]]
160
level='INFO'
161
qualname='turbogears.access'
162
handlers=['access_out']
163
propagate=0
164
165
[[[repo]]]
166
level='DEBUG'
167
qualname='pkgdb.repo'
168
handlers=['cron_out']
169
170
[[[database]]]
171
# Set to INFO to make SQLAlchemy display SQL commands
172
level='ERROR'
173
qualname='sqlalchemy.engine'
174 592
handlers=['error_out']
175 590.1.1
propagate=0

Loggerhead 1.18.1 is a web-based interface for Bazaar branches