Mercurial > kallithea
annotate test.ini @ 3043:b61824e61e68 beta
Don't cache dulwich Repos, in pararell multithreaded evniroment dulwich pack file openers
can break badly. We need to create Repo() objects always for each call, even when it's
taken from cache.
Fixed issue with dulwich filedescriptor leak ref #573
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Thu, 29 Nov 2012 19:29:33 +0100 |
parents | 269c6e0b54cc |
children | 63e58ef80ef1 53ab820a0b7c |
rev | line source |
---|---|
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
1 ################################################################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
2 ################################################################################ |
1079 | 3 # RhodeCode - Pylons environment configuration # |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
4 # # |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
5 # The %(here)s variable will be replaced with the parent directory of this file# |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
6 ################################################################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
7 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
8 [DEFAULT] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
9 debug = true |
1366
9c0f5d558789
fixes #200, rewrote the whole caching mechanism to get rid of such problems. Now cached instances are attached
Marcin Kuzminski <marcin@python-works.com>
parents:
1079
diff
changeset
|
10 pdebug = false |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
11 ################################################################################ |
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
12 ## Uncomment and replace with the address which should receive ## |
552
2642f128ad46
removed egg info, update files for distutils build
Marcin Kuzminski <marcin@python-works.com>
parents:
549
diff
changeset
|
13 ## any error reports after application crash ## |
1079 | 14 ## Additionally those settings will be used by RhodeCode mailing system ## |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
15 ################################################################################ |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
16 #email_to = admin@localhost |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
17 #error_email_from = paste_error@localhost |
549
f99075170eb4
more renames for rhode code !!
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
18 #app_email_from = rhodecode-noreply@localhost |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
19 #error_message = |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
20 #email_prefix = [RhodeCode] |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
21 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
22 #smtp_server = mail.server.com |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
23 #smtp_username = |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
24 #smtp_password = |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
25 #smtp_port = |
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
26 #smtp_use_tls = false |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
27 #smtp_use_ssl = true |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
29 #smtp_auth = |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
30 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
31 [server:main] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
32 ##nr of threads to spawn |
2597
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
33 #threadpool_workers = 5 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
34 |
472
91292686c1ed
updated config files, and added celery dependency
Marcin Kuzminski <marcin@python-works.com>
parents:
459
diff
changeset
|
35 ##max request before thread respawn |
2597
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
36 #threadpool_max_requests = 2 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
37 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
38 ##option to use threads of process |
2597
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
39 #use_threadpool = true |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
40 |
2597
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
41 #use = egg:Paste#http |
7b092b919f4f
Switch to waitress wsgi server by default in rhodecode.
Marcin Kuzminski <marcin@python-works.com>
parents:
2561
diff
changeset
|
42 use = egg:waitress#main |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
43 host = 127.0.0.1 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
44 port = 5000 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
45 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
46 [app:main] |
547
1e757ac98988
renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
473
diff
changeset
|
47 use = egg:rhodecode |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
48 full_stack = true |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
49 static_files = true |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
50 lang=en |
1079 | 51 cache_dir = /tmp/data |
688
8acbfa837180
Tests rewrite for 1.2 added some globals configs to make tests easier.
Marcin Kuzminski <marcin@python-works.com>
parents:
629
diff
changeset
|
52 index_dir = /tmp/index |
1079 | 53 app_instance_uuid = develop-test |
812
30ad41c76fae
fixes #79 cut off limit was added into .ini config files
Marcin Kuzminski <marcin@python-works.com>
parents:
776
diff
changeset
|
54 cut_off_limit = 256000 |
919
6c3d81f9529c
Changelog update
Marcin Kuzminski <marcin@python-works.com>
parents:
812
diff
changeset
|
55 force_https = false |
1079 | 56 commit_parse_limit = 25 |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
57 use_gravatar = true |
1628
de71a4bde097
Some code cleanups and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
1607
diff
changeset
|
58 container_auth_enabled = false |
de71a4bde097
Some code cleanups and fixes
Marcin Kuzminski <marcin@python-works.com>
parents:
1607
diff
changeset
|
59 proxypass_auth_enabled = false |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
60 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
61 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
62 ## overwrite schema of clone url |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
63 ## available vars: |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
64 ## scheme - http/https |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
65 ## user - current user |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
66 ## pass - password |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
67 ## netloc - network location |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
68 ## path - usually repo_name |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
69 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
70 #clone_uri = {scheme}://{user}{pass}{netloc}{path} |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
71 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
72 ## issue tracking mapping for commits messages |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
73 ## comment out issue_pat, issue_server, issue_prefix to enable |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
74 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
75 ## pattern to get the issues from commit messages |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
76 ## default one used here is #<numbers> with a regex passive group for `#` |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
77 ## {id} will be all groups matched from this pattern |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
78 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
79 issue_pat = (?:\s*#)(\d+) |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
80 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
81 ## server url to the issue, each {id} will be replaced with match |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
82 ## fetched from the regex and {repo} is replaced with repository name |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
83 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
84 issue_server_link = https://myissueserver.com/{repo}/issue/{id} |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
85 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
86 ## prefix to add to link to indicate it's an url |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
87 ## #314 will be replaced by <issue_prefix><id> |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
88 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
89 issue_prefix = # |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
90 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
91 ## instance-id prefix |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
92 ## a prefix key for this instance used for cache invalidation when running |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
93 ## multiple instances of rhodecode, make sure it's globally unique for |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
94 ## all running rhodecode instances. Leave empty if you don't use it |
2558
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
95 instance_id = |
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
96 |
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
97 ## alternative return HTTP header for failed authentication. Default HTTP |
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
98 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with |
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
99 ## handling that. Set this variable to 403 to return HTTPForbidden |
ecdfa7a480d2
Sync test.ini with development.ini
Marcin Kuzminski <marcin@python-works.com>
parents:
2149
diff
changeset
|
100 auth_ret_code = |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
101 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
102 #################################### |
776
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
103 ### CELERY CONFIG #### |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
104 #################################### |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
105 use_celery = false |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
106 broker.host = localhost |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
107 broker.vhost = rabbitmqhost |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
108 broker.port = 5672 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
109 broker.user = rabbitmq |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
110 broker.password = qweqwe |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
111 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
112 celery.imports = rhodecode.lib.celerylib.tasks |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
113 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
114 celery.result.backend = amqp |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
115 celery.result.dburi = amqp:// |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
116 celery.result.serialier = json |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
117 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
118 #celery.send.task.error.emails = true |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
119 #celery.amqp.task.result.expires = 18000 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
120 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
121 celeryd.concurrency = 2 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
122 #celeryd.log.file = celeryd.log |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
123 celeryd.log.level = debug |
1079 | 124 celeryd.max.tasks.per.child = 1 |
776
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
125 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
126 #tasks will never be sent to the queue, but executed locally instead. |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
127 celery.always.eager = false |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
128 |
f6c613fba757
Celery is configured by the .ini files and run from paster now
Marcin Kuzminski <marcin@python-works.com>
parents:
688
diff
changeset
|
129 #################################### |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
130 ### BEAKER CACHE #### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
131 #################################### |
1079 | 132 beaker.cache.data_dir=/tmp/data/cache/data |
133 beaker.cache.lock_dir=/tmp/data/cache/lock | |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
134 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
135 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
136 |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
137 beaker.cache.super_short_term.type=memory |
1982
87f0800abc7b
#227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents:
1628
diff
changeset
|
138 beaker.cache.super_short_term.expire=1 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
139 beaker.cache.super_short_term.key_length = 256 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
140 |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
141 beaker.cache.short_term.type=memory |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
142 beaker.cache.short_term.expire=60 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
143 beaker.cache.short_term.key_length = 256 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
144 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
145 beaker.cache.long_term.type=memory |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
146 beaker.cache.long_term.expire=36000 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
147 beaker.cache.long_term.key_length = 256 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
148 |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
149 beaker.cache.sql_cache_short.type=memory |
1982
87f0800abc7b
#227 Initial version of repository groups permissions system
Marcin Kuzminski <marcin@python-works.com>
parents:
1628
diff
changeset
|
150 beaker.cache.sql_cache_short.expire=1 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
151 beaker.cache.sql_cache_short.key_length = 256 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
152 |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
153 beaker.cache.sql_cache_med.type=memory |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
154 beaker.cache.sql_cache_med.expire=360 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
155 beaker.cache.sql_cache_med.key_length = 256 |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
156 |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
157 beaker.cache.sql_cache_long.type=file |
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
158 beaker.cache.sql_cache_long.expire=3600 |
1607
e886f91fcb71
Cached readme generation
Marcin Kuzminski <marcin@python-works.com>
parents:
1530
diff
changeset
|
159 beaker.cache.sql_cache_long.key_length = 256 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
160 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
161 #################################### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
162 ### BEAKER SESSION #### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
163 #################################### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
164 ## Type of storage used for the session, current types are |
629
7e536d1af60d
Code refactoring,models renames
Marcin Kuzminski <marcin@python-works.com>
parents:
552
diff
changeset
|
165 ## dbm, file, memcached, database, and memory. |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
166 ## The storage uses the Container API |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
167 ## that is also used by the cache system. |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
168 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
169 ## db session example |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
170 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
171 #beaker.session.type = ext:database |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
172 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
173 #beaker.session.table_name = db_session |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
174 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
175 ## encrypted cookie session, good for many instances |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
176 #beaker.session.type = cookie |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
177 |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
178 beaker.session.type = file |
549
f99075170eb4
more renames for rhode code !!
Marcin Kuzminski <marcin@python-works.com>
parents:
547
diff
changeset
|
179 beaker.session.key = rhodecode |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
180 # secure cookie requires AES python libraries |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
181 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
182 #beaker.session.validate_key = 9712sds2212c--zxc123 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
183 beaker.session.timeout = 36000 |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
184 beaker.session.httponly = true |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
185 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
186 ## uncomment for https secure cookie |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
187 beaker.session.secure = false |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
188 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
189 ##auto save the session to not to use .save() |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
190 beaker.session.auto = False |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
191 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
192 ##true exire at browser close |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
193 #beaker.session.cookie_expires = 3600 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
194 |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
195 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
196 ################################################################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
197 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
198 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
199 ## execute malicious code after an exception is raised. ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
200 ################################################################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
201 #set debug = false |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
202 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
203 ################################## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
204 ### LOGVIEW CONFIG ### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
205 ################################## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
206 logview.sqlalchemy = #faa |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
207 logview.pylons.templating = #bfb |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
208 logview.pylons.util = #eee |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
209 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
210 ######################################################### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
211 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
212 ######################################################### |
2561
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2558
diff
changeset
|
213 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2558
diff
changeset
|
214 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test |
6ccf86ebfd4e
tox+travis with multiple dbs
Marcin Kuzminski <marcin@python-works.com>
parents:
2558
diff
changeset
|
215 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test |
2149 | 216 |
217 sqlalchemy.db1.echo = false | |
218 sqlalchemy.db1.pool_recycle = 3600 | |
219 sqlalchemy.db1.convert_unicode = true | |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
220 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
221 ################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
222 ### LOGGING CONFIGURATION #### |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
223 ################################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
224 [loggers] |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
225 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
226 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
227 [handlers] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
228 keys = console |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
229 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
230 [formatters] |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
231 keys = generic, color_formatter |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
232 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
233 ############# |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
234 ## LOGGERS ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
235 ############# |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
236 [logger_root] |
2686
269c6e0b54cc
Reimplemented file-browser using partial-ajax
Marcin Kuzminski <marcin@python-works.com>
parents:
2597
diff
changeset
|
237 level = DEBUG |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
238 handlers = console |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
239 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
240 [logger_routes] |
2686
269c6e0b54cc
Reimplemented file-browser using partial-ajax
Marcin Kuzminski <marcin@python-works.com>
parents:
2597
diff
changeset
|
241 level = DEBUG |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
242 handlers = |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
243 qualname = routes.middleware |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
244 # "level = DEBUG" logs the route matched and routing variables. |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
245 propagate = 1 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
246 |
1373
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
247 [logger_beaker] |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
248 level = DEBUG |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
249 handlers = |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
250 qualname = beaker.container |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
251 propagate = 1 |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
252 |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
253 [logger_templates] |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
254 level = INFO |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
255 handlers = |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
256 qualname = pylons.templating |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
257 propagate = 1 |
66f03a87141c
Fixes issue #201
Marcin Kuzminski <marcin@python-works.com>
parents:
1366
diff
changeset
|
258 |
547
1e757ac98988
renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
473
diff
changeset
|
259 [logger_rhodecode] |
2686
269c6e0b54cc
Reimplemented file-browser using partial-ajax
Marcin Kuzminski <marcin@python-works.com>
parents:
2597
diff
changeset
|
260 level = DEBUG |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
261 handlers = |
547
1e757ac98988
renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
473
diff
changeset
|
262 qualname = rhodecode |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
263 propagate = 1 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
264 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
265 [logger_sqlalchemy] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
266 level = ERROR |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
267 handlers = console |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
268 qualname = sqlalchemy.engine |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
269 propagate = 0 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
270 |
2110
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
271 [logger_whoosh_indexer] |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
272 level = DEBUG |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
273 handlers = |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
274 qualname = whoosh_indexer |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
275 propagate = 1 |
bc24ef53edd1
updated test.ini to latest ini format
Marcin Kuzminski <marcin@python-works.com>
parents:
1982
diff
changeset
|
276 |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
277 ############## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
278 ## HANDLERS ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
279 ############## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
280 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
281 [handler_console] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
282 class = StreamHandler |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
283 args = (sys.stderr,) |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
284 level = NOTSET |
1530
04027bdb876c
Refactoring of model get functions
Marcin Kuzminski <marcin@python-works.com>
parents:
1373
diff
changeset
|
285 formatter = generic |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
286 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
287 ################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
288 ## FORMATTERS ## |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
289 ################ |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
290 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
291 [formatter_generic] |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
292 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
293 datefmt = %Y-%m-%d %H:%M:%S |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
294 |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
295 [formatter_color_formatter] |
547
1e757ac98988
renamed project to rhodecode
Marcin Kuzminski <marcin@python-works.com>
parents:
473
diff
changeset
|
296 class=rhodecode.lib.colored_formatter.ColorFormatter |
459
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
297 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
7c978511c951
implemented basic (startup) nose test suite.
Marcin Kuzminski <marcin@python-works.com>
parents:
diff
changeset
|
298 datefmt = %Y-%m-%d %H:%M:%S |