##// END OF EJS Templates
added ini files into codecleaner
marcink -
r4068:17e3926c default
parent child Browse files
Show More
@@ -1,7 +1,7 b''
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
@@ -9,7 +9,7 b''
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 ################################################################################
@@ -20,13 +20,13 b' pdebug = false'
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 ##
@@ -103,16 +103,16 b' max_request_body_size = 107374182400'
103 ## set cheaper algorithm to use, if not set default will be used
103 ## set cheaper algorithm to use, if not set default will be used
104 #cheaper-algo = spare
104 #cheaper-algo = spare
105
105
106 # minimum number of workers to keep at all times
106 ## minimum number of workers to keep at all times
107 #cheaper = 1
107 #cheaper = 1
108
108
109 # number of workers to spawn at startup
109 ## number of workers to spawn at startup
110 #cheaper-initial = 1
110 #cheaper-initial = 1
111
111
112 # maximum number of workers that can be spawned
112 ## maximum number of workers that can be spawned
113 #workers = 4
113 #workers = 4
114
114
115 # how many workers should be spawned at a time
115 ## how many workers should be spawned at a time
116 #cheaper-step = 1
116 #cheaper-step = 1
117
117
118 ## COMMON ##
118 ## COMMON ##
@@ -222,7 +222,7 b' default_encoding = utf8'
222 ## available vars:
222 ## available vars:
223 ## scheme - http/https
223 ## scheme - http/https
224 ## user - current user
224 ## user - current user
225 ## pass - password
225 ## pass - password
226 ## netloc - network location
226 ## netloc - network location
227 ## path - usually repo_name
227 ## path - usually repo_name
228
228
@@ -253,7 +253,7 b' issue_prefix = #'
253
253
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
255 ## multiple patterns, to other issues server, wiki or others
255 ## multiple patterns, to other issues server, wiki or others
256 ## below an example how to create a wiki pattern
256 ## below an example how to create a wiki pattern
257 # #wiki-some-id -> https://mywiki.com/some-id
257 # #wiki-some-id -> https://mywiki.com/some-id
258
258
259 #issue_pat_wiki = (?:wiki-)(.+)
259 #issue_pat_wiki = (?:wiki-)(.+)
@@ -262,13 +262,13 b' issue_prefix = #'
262
262
263
263
264 ## instance-id prefix
264 ## instance-id prefix
265 ## a prefix key for this instance used for cache invalidation when running
265 ## a prefix key for this instance used for cache invalidation when running
266 ## multiple instances of rhodecode, make sure it's globally unique for
266 ## multiple instances of rhodecode, make sure it's globally unique for
267 ## all running rhodecode instances. Leave empty if you don't use it
267 ## all running rhodecode instances. Leave empty if you don't use it
268 instance_id =
268 instance_id =
269
269
270 ## alternative return HTTP header for failed authentication. Default HTTP
270 ## alternative return HTTP header for failed authentication. Default HTTP
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
272 ## handling that. Set this variable to 403 to return HTTPForbidden
272 ## handling that. Set this variable to 403 to return HTTPForbidden
273 auth_ret_code =
273 auth_ret_code =
274
274
@@ -345,15 +345,15 b' beaker.cache.sql_cache_long.key_length ='
345 ####################################
345 ####################################
346 ### BEAKER SESSION ####
346 ### BEAKER SESSION ####
347 ####################################
347 ####################################
348 ## Type of storage used for the session, current types are
348 ## Type of storage used for the session, current types are
349 ## dbm, file, memcached, database, and memory.
349 ## dbm, file, memcached, database, and memory.
350 ## The storage uses the Container API
350 ## The storage uses the Container API
351 ## that is also used by the cache system.
351 ## that is also used by the cache system.
352
352
353 ## db session ##
353 ## db session ##
354 #beaker.session.type = ext:database
354 #beaker.session.type = ext:database
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
356 #beaker.session.table_name = db_session
356 #beaker.session.table_name = db_session
357
357
358 ## encrypted cookie client side session, good for many instances ##
358 ## encrypted cookie client side session, good for many instances ##
359 #beaker.session.type = cookie
359 #beaker.session.type = cookie
@@ -392,7 +392,7 b' beaker.session.auto = False'
392 ### [errormator] ###
392 ### [errormator] ###
393 ####################
393 ####################
394
394
395 ## Errormator is tailored to work with RhodeCode, see
395 ## Errormator is tailored to work with RhodeCode, see
396 ## http://errormator.com for details how to obtain an account
396 ## http://errormator.com for details how to obtain an account
397 ## you must install python package `errormator_client` to make it work
397 ## you must install python package `errormator_client` to make it work
398
398
@@ -424,17 +424,17 b' errormator.slow_requests = true'
424 ## (saves API quota for intensive logging)
424 ## (saves API quota for intensive logging)
425 errormator.logging_on_error = false
425 errormator.logging_on_error = false
426
426
427 ## list of additonal keywords that should be grabbed from environ object
427 ## list of additonal keywords that should be grabbed from environ object
428 ## can be string with comma separated list of words in lowercase
428 ## can be string with comma separated list of words in lowercase
429 ## (by default client will always send following info:
429 ## (by default client will always send following info:
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
431 ## start with HTTP* this list be extended with additional keywords here
431 ## start with HTTP* this list be extended with additional keywords here
432 errormator.environ_keys_whitelist =
432 errormator.environ_keys_whitelist =
433
433
434
434
435 ## list of keywords that should be blanked from request object
435 ## list of keywords that should be blanked from request object
436 ## can be string with comma separated list of words in lowercase
436 ## can be string with comma separated list of words in lowercase
437 ## (by default client will always blank keys that contain following words
437 ## (by default client will always blank keys that contain following words
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
439 ## this list be extended with additional keywords set here
439 ## this list be extended with additional keywords set here
440 errormator.request_keys_blacklist =
440 errormator.request_keys_blacklist =
@@ -443,7 +443,7 b' errormator.request_keys_blacklist ='
443 ## list of namespaces that should be ignores when gathering log entries
443 ## list of namespaces that should be ignores when gathering log entries
444 ## can be string with comma separated list of namespaces
444 ## can be string with comma separated list of namespaces
445 ## (by default the client ignores own entries: errormator_client.client)
445 ## (by default the client ignores own entries: errormator_client.client)
446 errormator.log_namespace_blacklist =
446 errormator.log_namespace_blacklist =
447
447
448
448
449 ################
449 ################
@@ -451,7 +451,7 b' errormator.log_namespace_blacklist ='
451 ################
451 ################
452
452
453 ## sentry is a alternative open source error aggregator
453 ## sentry is a alternative open source error aggregator
454 ## you must install python packages `sentry` and `raven` to enable
454 ## you must install python packages `sentry` and `raven` to enable
455
455
456 sentry.dsn = YOUR_DNS
456 sentry.dsn = YOUR_DNS
457 sentry.servers =
457 sentry.servers =
@@ -510,26 +510,26 b' handlers = console'
510
510
511 [logger_routes]
511 [logger_routes]
512 level = DEBUG
512 level = DEBUG
513 handlers =
513 handlers =
514 qualname = routes.middleware
514 qualname = routes.middleware
515 ## "level = DEBUG" logs the route matched and routing variables.
515 ## "level = DEBUG" logs the route matched and routing variables.
516 propagate = 1
516 propagate = 1
517
517
518 [logger_beaker]
518 [logger_beaker]
519 level = DEBUG
519 level = DEBUG
520 handlers =
520 handlers =
521 qualname = beaker.container
521 qualname = beaker.container
522 propagate = 1
522 propagate = 1
523
523
524 [logger_templates]
524 [logger_templates]
525 level = INFO
525 level = INFO
526 handlers =
526 handlers =
527 qualname = pylons.templating
527 qualname = pylons.templating
528 propagate = 1
528 propagate = 1
529
529
530 [logger_rhodecode]
530 [logger_rhodecode]
531 level = DEBUG
531 level = DEBUG
532 handlers =
532 handlers =
533 qualname = rhodecode
533 qualname = rhodecode
534 propagate = 1
534 propagate = 1
535
535
@@ -541,7 +541,7 b' propagate = 0'
541
541
542 [logger_whoosh_indexer]
542 [logger_whoosh_indexer]
543 level = DEBUG
543 level = DEBUG
544 handlers =
544 handlers =
545 qualname = whoosh_indexer
545 qualname = whoosh_indexer
546 propagate = 1
546 propagate = 1
547
547
@@ -1,7 +1,7 b''
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
@@ -9,7 +9,7 b''
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 ################################################################################
@@ -20,13 +20,13 b' pdebug = false'
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 ##
@@ -103,16 +103,16 b' max_request_body_size = 107374182400'
103 ## set cheaper algorithm to use, if not set default will be used
103 ## set cheaper algorithm to use, if not set default will be used
104 #cheaper-algo = spare
104 #cheaper-algo = spare
105
105
106 # minimum number of workers to keep at all times
106 ## minimum number of workers to keep at all times
107 #cheaper = 1
107 #cheaper = 1
108
108
109 # number of workers to spawn at startup
109 ## number of workers to spawn at startup
110 #cheaper-initial = 1
110 #cheaper-initial = 1
111
111
112 # maximum number of workers that can be spawned
112 ## maximum number of workers that can be spawned
113 #workers = 4
113 #workers = 4
114
114
115 # how many workers should be spawned at a time
115 ## how many workers should be spawned at a time
116 #cheaper-step = 1
116 #cheaper-step = 1
117
117
118 ## COMMON ##
118 ## COMMON ##
@@ -222,7 +222,7 b' default_encoding = utf8'
222 ## available vars:
222 ## available vars:
223 ## scheme - http/https
223 ## scheme - http/https
224 ## user - current user
224 ## user - current user
225 ## pass - password
225 ## pass - password
226 ## netloc - network location
226 ## netloc - network location
227 ## path - usually repo_name
227 ## path - usually repo_name
228
228
@@ -253,7 +253,7 b' issue_prefix = #'
253
253
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
255 ## multiple patterns, to other issues server, wiki or others
255 ## multiple patterns, to other issues server, wiki or others
256 ## below an example how to create a wiki pattern
256 ## below an example how to create a wiki pattern
257 # #wiki-some-id -> https://mywiki.com/some-id
257 # #wiki-some-id -> https://mywiki.com/some-id
258
258
259 #issue_pat_wiki = (?:wiki-)(.+)
259 #issue_pat_wiki = (?:wiki-)(.+)
@@ -262,13 +262,13 b' issue_prefix = #'
262
262
263
263
264 ## instance-id prefix
264 ## instance-id prefix
265 ## a prefix key for this instance used for cache invalidation when running
265 ## a prefix key for this instance used for cache invalidation when running
266 ## multiple instances of rhodecode, make sure it's globally unique for
266 ## multiple instances of rhodecode, make sure it's globally unique for
267 ## all running rhodecode instances. Leave empty if you don't use it
267 ## all running rhodecode instances. Leave empty if you don't use it
268 instance_id =
268 instance_id =
269
269
270 ## alternative return HTTP header for failed authentication. Default HTTP
270 ## alternative return HTTP header for failed authentication. Default HTTP
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
272 ## handling that. Set this variable to 403 to return HTTPForbidden
272 ## handling that. Set this variable to 403 to return HTTPForbidden
273 auth_ret_code =
273 auth_ret_code =
274
274
@@ -345,15 +345,15 b' beaker.cache.sql_cache_long.key_length ='
345 ####################################
345 ####################################
346 ### BEAKER SESSION ####
346 ### BEAKER SESSION ####
347 ####################################
347 ####################################
348 ## Type of storage used for the session, current types are
348 ## Type of storage used for the session, current types are
349 ## dbm, file, memcached, database, and memory.
349 ## dbm, file, memcached, database, and memory.
350 ## The storage uses the Container API
350 ## The storage uses the Container API
351 ## that is also used by the cache system.
351 ## that is also used by the cache system.
352
352
353 ## db session ##
353 ## db session ##
354 #beaker.session.type = ext:database
354 #beaker.session.type = ext:database
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
356 #beaker.session.table_name = db_session
356 #beaker.session.table_name = db_session
357
357
358 ## encrypted cookie client side session, good for many instances ##
358 ## encrypted cookie client side session, good for many instances ##
359 #beaker.session.type = cookie
359 #beaker.session.type = cookie
@@ -392,7 +392,7 b' beaker.session.auto = False'
392 ### [errormator] ###
392 ### [errormator] ###
393 ####################
393 ####################
394
394
395 ## Errormator is tailored to work with RhodeCode, see
395 ## Errormator is tailored to work with RhodeCode, see
396 ## http://errormator.com for details how to obtain an account
396 ## http://errormator.com for details how to obtain an account
397 ## you must install python package `errormator_client` to make it work
397 ## you must install python package `errormator_client` to make it work
398
398
@@ -424,17 +424,17 b' errormator.slow_requests = true'
424 ## (saves API quota for intensive logging)
424 ## (saves API quota for intensive logging)
425 errormator.logging_on_error = false
425 errormator.logging_on_error = false
426
426
427 ## list of additonal keywords that should be grabbed from environ object
427 ## list of additonal keywords that should be grabbed from environ object
428 ## can be string with comma separated list of words in lowercase
428 ## can be string with comma separated list of words in lowercase
429 ## (by default client will always send following info:
429 ## (by default client will always send following info:
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
431 ## start with HTTP* this list be extended with additional keywords here
431 ## start with HTTP* this list be extended with additional keywords here
432 errormator.environ_keys_whitelist =
432 errormator.environ_keys_whitelist =
433
433
434
434
435 ## list of keywords that should be blanked from request object
435 ## list of keywords that should be blanked from request object
436 ## can be string with comma separated list of words in lowercase
436 ## can be string with comma separated list of words in lowercase
437 ## (by default client will always blank keys that contain following words
437 ## (by default client will always blank keys that contain following words
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
439 ## this list be extended with additional keywords set here
439 ## this list be extended with additional keywords set here
440 errormator.request_keys_blacklist =
440 errormator.request_keys_blacklist =
@@ -443,7 +443,7 b' errormator.request_keys_blacklist ='
443 ## list of namespaces that should be ignores when gathering log entries
443 ## list of namespaces that should be ignores when gathering log entries
444 ## can be string with comma separated list of namespaces
444 ## can be string with comma separated list of namespaces
445 ## (by default the client ignores own entries: errormator_client.client)
445 ## (by default the client ignores own entries: errormator_client.client)
446 errormator.log_namespace_blacklist =
446 errormator.log_namespace_blacklist =
447
447
448
448
449 ################
449 ################
@@ -451,7 +451,7 b' errormator.log_namespace_blacklist ='
451 ################
451 ################
452
452
453 ## sentry is a alternative open source error aggregator
453 ## sentry is a alternative open source error aggregator
454 ## you must install python packages `sentry` and `raven` to enable
454 ## you must install python packages `sentry` and `raven` to enable
455
455
456 sentry.dsn = YOUR_DNS
456 sentry.dsn = YOUR_DNS
457 sentry.servers =
457 sentry.servers =
@@ -510,26 +510,26 b' handlers = console'
510
510
511 [logger_routes]
511 [logger_routes]
512 level = DEBUG
512 level = DEBUG
513 handlers =
513 handlers =
514 qualname = routes.middleware
514 qualname = routes.middleware
515 ## "level = DEBUG" logs the route matched and routing variables.
515 ## "level = DEBUG" logs the route matched and routing variables.
516 propagate = 1
516 propagate = 1
517
517
518 [logger_beaker]
518 [logger_beaker]
519 level = DEBUG
519 level = DEBUG
520 handlers =
520 handlers =
521 qualname = beaker.container
521 qualname = beaker.container
522 propagate = 1
522 propagate = 1
523
523
524 [logger_templates]
524 [logger_templates]
525 level = INFO
525 level = INFO
526 handlers =
526 handlers =
527 qualname = pylons.templating
527 qualname = pylons.templating
528 propagate = 1
528 propagate = 1
529
529
530 [logger_rhodecode]
530 [logger_rhodecode]
531 level = DEBUG
531 level = DEBUG
532 handlers =
532 handlers =
533 qualname = rhodecode
533 qualname = rhodecode
534 propagate = 1
534 propagate = 1
535
535
@@ -541,7 +541,7 b' propagate = 0'
541
541
542 [logger_whoosh_indexer]
542 [logger_whoosh_indexer]
543 level = DEBUG
543 level = DEBUG
544 handlers =
544 handlers =
545 qualname = whoosh_indexer
545 qualname = whoosh_indexer
546 propagate = 1
546 propagate = 1
547
547
@@ -1,7 +1,7 b''
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
@@ -9,7 +9,7 b''
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 ################################################################################
@@ -20,13 +20,13 b' pdebug = false'
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 ##
@@ -103,16 +103,16 b' max_request_body_size = 107374182400'
103 ## set cheaper algorithm to use, if not set default will be used
103 ## set cheaper algorithm to use, if not set default will be used
104 #cheaper-algo = spare
104 #cheaper-algo = spare
105
105
106 # minimum number of workers to keep at all times
106 ## minimum number of workers to keep at all times
107 #cheaper = 1
107 #cheaper = 1
108
108
109 # number of workers to spawn at startup
109 ## number of workers to spawn at startup
110 #cheaper-initial = 1
110 #cheaper-initial = 1
111
111
112 # maximum number of workers that can be spawned
112 ## maximum number of workers that can be spawned
113 #workers = 4
113 #workers = 4
114
114
115 # how many workers should be spawned at a time
115 ## how many workers should be spawned at a time
116 #cheaper-step = 1
116 #cheaper-step = 1
117
117
118 ## COMMON ##
118 ## COMMON ##
@@ -222,7 +222,7 b' default_encoding = utf8'
222 ## available vars:
222 ## available vars:
223 ## scheme - http/https
223 ## scheme - http/https
224 ## user - current user
224 ## user - current user
225 ## pass - password
225 ## pass - password
226 ## netloc - network location
226 ## netloc - network location
227 ## path - usually repo_name
227 ## path - usually repo_name
228
228
@@ -253,7 +253,7 b' issue_prefix = #'
253
253
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
254 ## issue_pat, issue_server_link, issue_prefix can have suffixes to specify
255 ## multiple patterns, to other issues server, wiki or others
255 ## multiple patterns, to other issues server, wiki or others
256 ## below an example how to create a wiki pattern
256 ## below an example how to create a wiki pattern
257 # #wiki-some-id -> https://mywiki.com/some-id
257 # #wiki-some-id -> https://mywiki.com/some-id
258
258
259 #issue_pat_wiki = (?:wiki-)(.+)
259 #issue_pat_wiki = (?:wiki-)(.+)
@@ -262,13 +262,13 b' issue_prefix = #'
262
262
263
263
264 ## instance-id prefix
264 ## instance-id prefix
265 ## a prefix key for this instance used for cache invalidation when running
265 ## a prefix key for this instance used for cache invalidation when running
266 ## multiple instances of rhodecode, make sure it's globally unique for
266 ## multiple instances of rhodecode, make sure it's globally unique for
267 ## all running rhodecode instances. Leave empty if you don't use it
267 ## all running rhodecode instances. Leave empty if you don't use it
268 instance_id =
268 instance_id =
269
269
270 ## alternative return HTTP header for failed authentication. Default HTTP
270 ## alternative return HTTP header for failed authentication. Default HTTP
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
271 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
272 ## handling that. Set this variable to 403 to return HTTPForbidden
272 ## handling that. Set this variable to 403 to return HTTPForbidden
273 auth_ret_code =
273 auth_ret_code =
274
274
@@ -345,15 +345,15 b' beaker.cache.sql_cache_long.key_length ='
345 ####################################
345 ####################################
346 ### BEAKER SESSION ####
346 ### BEAKER SESSION ####
347 ####################################
347 ####################################
348 ## Type of storage used for the session, current types are
348 ## Type of storage used for the session, current types are
349 ## dbm, file, memcached, database, and memory.
349 ## dbm, file, memcached, database, and memory.
350 ## The storage uses the Container API
350 ## The storage uses the Container API
351 ## that is also used by the cache system.
351 ## that is also used by the cache system.
352
352
353 ## db session ##
353 ## db session ##
354 #beaker.session.type = ext:database
354 #beaker.session.type = ext:database
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
355 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
356 #beaker.session.table_name = db_session
356 #beaker.session.table_name = db_session
357
357
358 ## encrypted cookie client side session, good for many instances ##
358 ## encrypted cookie client side session, good for many instances ##
359 #beaker.session.type = cookie
359 #beaker.session.type = cookie
@@ -392,7 +392,7 b' beaker.session.auto = False'
392 ### [errormator] ###
392 ### [errormator] ###
393 ####################
393 ####################
394
394
395 ## Errormator is tailored to work with RhodeCode, see
395 ## Errormator is tailored to work with RhodeCode, see
396 ## http://errormator.com for details how to obtain an account
396 ## http://errormator.com for details how to obtain an account
397 ## you must install python package `errormator_client` to make it work
397 ## you must install python package `errormator_client` to make it work
398
398
@@ -424,17 +424,17 b' errormator.slow_requests = true'
424 ## (saves API quota for intensive logging)
424 ## (saves API quota for intensive logging)
425 errormator.logging_on_error = false
425 errormator.logging_on_error = false
426
426
427 ## list of additonal keywords that should be grabbed from environ object
427 ## list of additonal keywords that should be grabbed from environ object
428 ## can be string with comma separated list of words in lowercase
428 ## can be string with comma separated list of words in lowercase
429 ## (by default client will always send following info:
429 ## (by default client will always send following info:
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
430 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
431 ## start with HTTP* this list be extended with additional keywords here
431 ## start with HTTP* this list be extended with additional keywords here
432 errormator.environ_keys_whitelist =
432 errormator.environ_keys_whitelist =
433
433
434
434
435 ## list of keywords that should be blanked from request object
435 ## list of keywords that should be blanked from request object
436 ## can be string with comma separated list of words in lowercase
436 ## can be string with comma separated list of words in lowercase
437 ## (by default client will always blank keys that contain following words
437 ## (by default client will always blank keys that contain following words
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
438 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
439 ## this list be extended with additional keywords set here
439 ## this list be extended with additional keywords set here
440 errormator.request_keys_blacklist =
440 errormator.request_keys_blacklist =
@@ -443,7 +443,7 b' errormator.request_keys_blacklist ='
443 ## list of namespaces that should be ignores when gathering log entries
443 ## list of namespaces that should be ignores when gathering log entries
444 ## can be string with comma separated list of namespaces
444 ## can be string with comma separated list of namespaces
445 ## (by default the client ignores own entries: errormator_client.client)
445 ## (by default the client ignores own entries: errormator_client.client)
446 errormator.log_namespace_blacklist =
446 errormator.log_namespace_blacklist =
447
447
448
448
449 ################
449 ################
@@ -451,7 +451,7 b' errormator.log_namespace_blacklist ='
451 ################
451 ################
452
452
453 ## sentry is a alternative open source error aggregator
453 ## sentry is a alternative open source error aggregator
454 ## you must install python packages `sentry` and `raven` to enable
454 ## you must install python packages `sentry` and `raven` to enable
455
455
456 sentry.dsn = YOUR_DNS
456 sentry.dsn = YOUR_DNS
457 sentry.servers =
457 sentry.servers =
@@ -485,7 +485,7 b' logview.pylons.util = #eee'
485
485
486 # SQLITE [default]
486 # SQLITE [default]
487 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
487 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode.db?timeout=30
488
488
489 # POSTGRESQL
489 # POSTGRESQL
490 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
490 # sqlalchemy.db1.url = postgresql://user:pass@localhost/rhodecode
491
491
@@ -519,26 +519,26 b' handlers = console'
519
519
520 [logger_routes]
520 [logger_routes]
521 level = DEBUG
521 level = DEBUG
522 handlers =
522 handlers =
523 qualname = routes.middleware
523 qualname = routes.middleware
524 ## "level = DEBUG" logs the route matched and routing variables.
524 ## "level = DEBUG" logs the route matched and routing variables.
525 propagate = 1
525 propagate = 1
526
526
527 [logger_beaker]
527 [logger_beaker]
528 level = DEBUG
528 level = DEBUG
529 handlers =
529 handlers =
530 qualname = beaker.container
530 qualname = beaker.container
531 propagate = 1
531 propagate = 1
532
532
533 [logger_templates]
533 [logger_templates]
534 level = INFO
534 level = INFO
535 handlers =
535 handlers =
536 qualname = pylons.templating
536 qualname = pylons.templating
537 propagate = 1
537 propagate = 1
538
538
539 [logger_rhodecode]
539 [logger_rhodecode]
540 level = DEBUG
540 level = DEBUG
541 handlers =
541 handlers =
542 qualname = rhodecode
542 qualname = rhodecode
543 propagate = 1
543 propagate = 1
544
544
@@ -550,7 +550,7 b' propagate = 0'
550
550
551 [logger_whoosh_indexer]
551 [logger_whoosh_indexer]
552 level = DEBUG
552 level = DEBUG
553 handlers =
553 handlers =
554 qualname = whoosh_indexer
554 qualname = whoosh_indexer
555 propagate = 1
555 propagate = 1
556
556
@@ -1,7 +1,7 b''
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
@@ -9,7 +9,7 b''
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 ################################################################################
@@ -20,13 +20,13 b' pdebug = false'
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
@@ -139,7 +139,7 b' default_encoding = utf8'
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
@@ -167,7 +167,7 b' 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-)(.+)
@@ -176,13 +176,13 b' issue_prefix = #'
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
@@ -253,15 +253,15 b' beaker.cache.sql_cache_long.key_length ='
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
@@ -298,7 +298,7 b' beaker.session.auto = False'
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
@@ -330,17 +330,17 b' errormator.slow_requests = true'
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 =
@@ -349,7 +349,7 b' errormator.request_keys_blacklist ='
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 ################
@@ -357,7 +357,7 b' errormator.log_namespace_blacklist ='
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 =
@@ -416,26 +416,26 b' 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
@@ -447,7 +447,7 b' 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
@@ -10,13 +10,13 b' envlist = py25-sqlite,'
10 py27-postgresql
10 py27-postgresql
11
11
12
12
13 #### PYTHON 2.5 ####
13 #### PYTHON 2.5 ####
14 [testenv:py25-sqlite]
14 [testenv:py25-sqlite]
15 basepython =
15 basepython =
16 python2.5
16 python2.5
17 commands =
17 commands =
18 nosetests []
18 nosetests []
19 setenv =
19 setenv =
20 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
20 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
21
21
22 [testenv:py25-mysql]
22 [testenv:py25-mysql]
@@ -28,7 +28,7 b' commands ='
28 nosetests []
28 nosetests []
29 deps =
29 deps =
30 mysql-python
30 mysql-python
31 setenv =
31 setenv =
32 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
32 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
33
33
34 [testenv:py25-postgresql]
34 [testenv:py25-postgresql]
@@ -39,8 +39,8 b' commands ='
39 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
39 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
40 nosetests []
40 nosetests []
41 deps =
41 deps =
42 psycopg2
42 psycopg2
43 setenv =
43 setenv =
44 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test
44 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test
45
45
46
46
@@ -50,7 +50,7 b' basepython ='
50 python2.6
50 python2.6
51 commands =
51 commands =
52 nosetests []
52 nosetests []
53 setenv =
53 setenv =
54 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
54 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
55
55
56 [testenv:py26-mysql]
56 [testenv:py26-mysql]
@@ -62,7 +62,7 b' commands ='
62 nosetests []
62 nosetests []
63 deps =
63 deps =
64 mysql-python
64 mysql-python
65 setenv =
65 setenv =
66 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
66 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
67
67
68 [testenv:py26-postgresql]
68 [testenv:py26-postgresql]
@@ -73,8 +73,8 b' commands ='
73 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
73 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
74 nosetests []
74 nosetests []
75 deps =
75 deps =
76 psycopg2
76 psycopg2
77 setenv =
77 setenv =
78 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test
78 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test
79
79
80
80
@@ -84,7 +84,7 b' basepython ='
84 python2.7
84 python2.7
85 commands =
85 commands =
86 nosetests []
86 nosetests []
87 setenv =
87 setenv =
88 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
88 TEST_DB=sqlite:////tmp/rhodecode_test.sqlite
89
89
90 [testenv:py27-mysql]
90 [testenv:py27-mysql]
@@ -96,7 +96,7 b' commands ='
96 nosetests []
96 nosetests []
97 deps =
97 deps =
98 mysql-python
98 mysql-python
99 setenv =
99 setenv =
100 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
100 TEST_DB=mysql://root:qwe@localhost/rhodecode_test
101
101
102 [testenv:py27-postgresql]
102 [testenv:py27-postgresql]
@@ -107,6 +107,6 b' commands ='
107 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
107 psql -Upostgres -Wqwe -hlocalhost -c 'create database rhodecode_test;'
108 nosetests []
108 nosetests []
109 deps =
109 deps =
110 psycopg2
110 psycopg2
111 setenv =
111 setenv =
112 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test No newline at end of file
112 TEST_DB=postgresql://postgres:qwe@localhost/rhodecode_test
General Comments 0
You need to be logged in to leave comments. Login now