comparison test.ini @ 4068:17e3926c3753

added ini files into codecleaner
author Marcin Kuzminski <marcin@python-works.com>
date Sat, 29 Jun 2013 23:00:10 +0200
parents 5293d4bbb1ea
children 7e5f8c12a3fc
comparison
equal deleted inserted replaced
4067:20c21b8f387c 4068:17e3926c3753
1 ################################################################################ 1 ################################################################################
2 ################################################################################ 2 ################################################################################
3 # RhodeCode - Pylons environment configuration # 3 # RhodeCode - Pylons environment configuration #
4 # # 4 # #
5 # The %(here)s variable will be replaced with the parent directory of this file# 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 ################################################################################ 6 ################################################################################
7 7
8 [DEFAULT] 8 [DEFAULT]
9 debug = true 9 debug = true
10 pdebug = false 10 pdebug = false
11 ################################################################################ 11 ################################################################################
12 ## Uncomment and replace with the address which should receive ## 12 ## Uncomment and replace with the address which should receive ##
13 ## any error reports after application crash ## 13 ## any error reports after application crash ##
14 ## Additionally those settings will be used by RhodeCode mailing system ## 14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 ################################################################################ 15 ################################################################################
16 #email_to = admin@localhost 16 #email_to = admin@localhost
17 #error_email_from = paste_error@localhost 17 #error_email_from = paste_error@localhost
18 #app_email_from = rhodecode-noreply@localhost 18 #app_email_from = rhodecode-noreply@localhost
19 #error_message = 19 #error_message =
20 #email_prefix = [RhodeCode] 20 #email_prefix = [RhodeCode]
21 21
22 #smtp_server = mail.server.com 22 #smtp_server = mail.server.com
23 #smtp_username = 23 #smtp_username =
24 #smtp_password = 24 #smtp_password =
25 #smtp_port = 25 #smtp_port =
26 #smtp_use_tls = false 26 #smtp_use_tls = false
27 #smtp_use_ssl = true 27 #smtp_use_ssl = true
28 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) 28 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth = 29 #smtp_auth =
30 30
31 [server:main] 31 [server:main]
32 ## PASTE 32 ## PASTE
33 ## nr of threads to spawn 33 ## nr of threads to spawn
34 #threadpool_workers = 5 34 #threadpool_workers = 5
137 137
138 ## overwrite schema of clone url 138 ## overwrite schema of clone url
139 ## available vars: 139 ## available vars:
140 ## scheme - http/https 140 ## scheme - http/https
141 ## user - current user 141 ## user - current user
142 ## pass - password 142 ## pass - password
143 ## netloc - network location 143 ## netloc - network location
144 ## path - usually repo_name 144 ## path - usually repo_name
145 145
146 #clone_uri = {scheme}://{user}{pass}{netloc}{path} 146 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
147 147
165 165
166 issue_prefix = # 166 issue_prefix = #
167 167
168 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify 168 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
169 ## multiple patterns, to other issues server, wiki or others 169 ## multiple patterns, to other issues server, wiki or others
170 ## below an example how to create a wiki pattern 170 ## below an example how to create a wiki pattern
171 # #wiki-some-id -> https://mywiki.com/some-id 171 # #wiki-some-id -> https://mywiki.com/some-id
172 172
173 #issue_pat_wiki = (?:wiki-)(.+) 173 #issue_pat_wiki = (?:wiki-)(.+)
174 #issue_server_link_wiki = https://mywiki.com/{id} 174 #issue_server_link_wiki = https://mywiki.com/{id}
175 #issue_prefix_wiki = WIKI- 175 #issue_prefix_wiki = WIKI-
176 176
177 177
178 ## instance-id prefix 178 ## instance-id prefix
179 ## a prefix key for this instance used for cache invalidation when running 179 ## a prefix key for this instance used for cache invalidation when running
180 ## multiple instances of rhodecode, make sure it's globally unique for 180 ## multiple instances of rhodecode, make sure it's globally unique for
181 ## all running rhodecode instances. Leave empty if you don't use it 181 ## all running rhodecode instances. Leave empty if you don't use it
182 instance_id = 182 instance_id =
183 183
184 ## alternative return HTTP header for failed authentication. Default HTTP 184 ## alternative return HTTP header for failed authentication. Default HTTP
185 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with 185 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
186 ## handling that. Set this variable to 403 to return HTTPForbidden 186 ## handling that. Set this variable to 403 to return HTTPForbidden
187 auth_ret_code = 187 auth_ret_code =
188 188
189 ## locking return code. When repository is locked return this HTTP code. 2XX 189 ## locking return code. When repository is locked return this HTTP code. 2XX
190 ## codes don't break the transactions while 4XX codes do 190 ## codes don't break the transactions while 4XX codes do
251 beaker.cache.sql_cache_long.key_length = 256 251 beaker.cache.sql_cache_long.key_length = 256
252 252
253 #################################### 253 ####################################
254 ### BEAKER SESSION #### 254 ### BEAKER SESSION ####
255 #################################### 255 ####################################
256 ## Type of storage used for the session, current types are 256 ## Type of storage used for the session, current types are
257 ## dbm, file, memcached, database, and memory. 257 ## dbm, file, memcached, database, and memory.
258 ## The storage uses the Container API 258 ## The storage uses the Container API
259 ## that is also used by the cache system. 259 ## that is also used by the cache system.
260 260
261 ## db session ## 261 ## db session ##
262 #beaker.session.type = ext:database 262 #beaker.session.type = ext:database
263 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode 263 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
264 #beaker.session.table_name = db_session 264 #beaker.session.table_name = db_session
265 265
266 ## encrypted cookie client side session, good for many instances ## 266 ## encrypted cookie client side session, good for many instances ##
267 #beaker.session.type = cookie 267 #beaker.session.type = cookie
268 268
269 ## file based cookies (default) ## 269 ## file based cookies (default) ##
296 296
297 #################### 297 ####################
298 ### [errormator] ### 298 ### [errormator] ###
299 #################### 299 ####################
300 300
301 ## Errormator is tailored to work with RhodeCode, see 301 ## Errormator is tailored to work with RhodeCode, see
302 ## http://errormator.com for details how to obtain an account 302 ## http://errormator.com for details how to obtain an account
303 ## you must install python package `errormator_client` to make it work 303 ## you must install python package `errormator_client` to make it work
304 304
305 ## errormator enabled 305 ## errormator enabled
306 errormator = false 306 errormator = false
328 328
329 ## send logs only from erroneous/slow requests 329 ## send logs only from erroneous/slow requests
330 ## (saves API quota for intensive logging) 330 ## (saves API quota for intensive logging)
331 errormator.logging_on_error = false 331 errormator.logging_on_error = false
332 332
333 ## list of additonal keywords that should be grabbed from environ object 333 ## list of additonal keywords that should be grabbed from environ object
334 ## can be string with comma separated list of words in lowercase 334 ## can be string with comma separated list of words in lowercase
335 ## (by default client will always send following info: 335 ## (by default client will always send following info:
336 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that 336 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
337 ## start with HTTP* this list be extended with additional keywords here 337 ## start with HTTP* this list be extended with additional keywords here
338 errormator.environ_keys_whitelist = 338 errormator.environ_keys_whitelist =
339 339
340 340
341 ## list of keywords that should be blanked from request object 341 ## list of keywords that should be blanked from request object
342 ## can be string with comma separated list of words in lowercase 342 ## can be string with comma separated list of words in lowercase
343 ## (by default client will always blank keys that contain following words 343 ## (by default client will always blank keys that contain following words
344 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' 344 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
345 ## this list be extended with additional keywords set here 345 ## this list be extended with additional keywords set here
346 errormator.request_keys_blacklist = 346 errormator.request_keys_blacklist =
347 347
348 348
349 ## list of namespaces that should be ignores when gathering log entries 349 ## list of namespaces that should be ignores when gathering log entries
350 ## can be string with comma separated list of namespaces 350 ## can be string with comma separated list of namespaces
351 ## (by default the client ignores own entries: errormator_client.client) 351 ## (by default the client ignores own entries: errormator_client.client)
352 errormator.log_namespace_blacklist = 352 errormator.log_namespace_blacklist =
353 353
354 354
355 ################ 355 ################
356 ### [sentry] ### 356 ### [sentry] ###
357 ################ 357 ################
358 358
359 ## sentry is a alternative open source error aggregator 359 ## sentry is a alternative open source error aggregator
360 ## you must install python packages `sentry` and `raven` to enable 360 ## you must install python packages `sentry` and `raven` to enable
361 361
362 sentry.dsn = YOUR_DNS 362 sentry.dsn = YOUR_DNS
363 sentry.servers = 363 sentry.servers =
364 sentry.name = 364 sentry.name =
365 sentry.key = 365 sentry.key =
414 level = DEBUG 414 level = DEBUG
415 handlers = console 415 handlers = console
416 416
417 [logger_routes] 417 [logger_routes]
418 level = DEBUG 418 level = DEBUG
419 handlers = 419 handlers =
420 qualname = routes.middleware 420 qualname = routes.middleware
421 ## "level = DEBUG" logs the route matched and routing variables. 421 ## "level = DEBUG" logs the route matched and routing variables.
422 propagate = 1 422 propagate = 1
423 423
424 [logger_beaker] 424 [logger_beaker]
425 level = DEBUG 425 level = DEBUG
426 handlers = 426 handlers =
427 qualname = beaker.container 427 qualname = beaker.container
428 propagate = 1 428 propagate = 1
429 429
430 [logger_templates] 430 [logger_templates]
431 level = INFO 431 level = INFO
432 handlers = 432 handlers =
433 qualname = pylons.templating 433 qualname = pylons.templating
434 propagate = 1 434 propagate = 1
435 435
436 [logger_rhodecode] 436 [logger_rhodecode]
437 level = DEBUG 437 level = DEBUG
438 handlers = 438 handlers =
439 qualname = rhodecode 439 qualname = rhodecode
440 propagate = 1 440 propagate = 1
441 441
442 [logger_sqlalchemy] 442 [logger_sqlalchemy]
443 level = ERROR 443 level = ERROR
445 qualname = sqlalchemy.engine 445 qualname = sqlalchemy.engine
446 propagate = 0 446 propagate = 0
447 447
448 [logger_whoosh_indexer] 448 [logger_whoosh_indexer]
449 level = DEBUG 449 level = DEBUG
450 handlers = 450 handlers =
451 qualname = whoosh_indexer 451 qualname = whoosh_indexer
452 propagate = 1 452 propagate = 1
453 453
454 ############## 454 ##############
455 ## HANDLERS ## 455 ## HANDLERS ##