comparison development.ini @ 3700:3563bb7b4b82

merge with rc1
author Marcin Kuzminski <marcin@python-works.com>
date Sun, 07 Apr 2013 18:37:22 +0200
parents a5f0bc867edc 659bd922520e
children 5293d4bbb1ea
comparison
equal deleted inserted replaced
3525:0cef54d34605 3700:3563bb7b4b82
23 #smtp_username = 23 #smtp_username =
24 #smtp_password = 24 #smtp_password =
25 #smtp_port = 25 #smtp_port =
26 #smtp_use_tls = false 26 #smtp_use_tls = false
27 #smtp_use_ssl = true 27 #smtp_use_ssl = true
28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.) 28 ## Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 #smtp_auth = 29 #smtp_auth =
30 30
31 [server:main] 31 [server:main]
32 ## PASTE 32 ## PASTE
33 ##nr of threads to spawn 33 ## nr of threads to spawn
34 #threadpool_workers = 5 34 #threadpool_workers = 5
35 35
36 ##max request before thread respawn 36 ## max request before thread respawn
37 #threadpool_max_requests = 10 37 #threadpool_max_requests = 10
38 38
39 ##option to use threads of process 39 ## option to use threads of process
40 #use_threadpool = true 40 #use_threadpool = true
41 41
42 #use = egg:Paste#http 42 #use = egg:Paste#http
43 43
44 #WAITRESS 44 ## WAITRESS
45 threads = 5 45 threads = 5
46 ## 100GB
47 max_request_body_size = 107374182400
46 use = egg:waitress#main 48 use = egg:waitress#main
47 49
48 host = 0.0.0.0 50 host = 0.0.0.0
49 port = 5000 51 port = 5000
50 52
51 [filter:proxy-prefix] 53 ## prefix middleware for rc
52 # prefix middleware for rc 54 #[filter:proxy-prefix]
53 use = egg:PasteDeploy#prefix 55 #use = egg:PasteDeploy#prefix
54 prefix = /<your-prefix> 56 #prefix = /<your-prefix>
55 57
56 [app:main] 58 [app:main]
57 use = egg:rhodecode 59 use = egg:rhodecode
60 ## enable proxy prefix middleware
58 #filter-with = proxy-prefix 61 #filter-with = proxy-prefix
62
59 full_stack = true 63 full_stack = true
60 static_files = true 64 static_files = true
61 # Optional Languages 65 ## Optional Languages
62 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl 66 ## en, fr, ja, pt_BR, zh_CN, zh_TW, pl
63 lang = en 67 lang = en
64 cache_dir = %(here)s/data 68 cache_dir = %(here)s/data
65 index_dir = %(here)s/data/index 69 index_dir = %(here)s/data/index
66 app_instance_uuid = rc-develop 70
71 ## uncomment and set this path to use archive download cache
72 #archive_cache_dir = /tmp/tarballcache
73
74 ## change this to unique ID for security
75 app_instance_uuid = rc-production
76
77 ## cut off limit for large diffs (size in bytes)
67 cut_off_limit = 256000 78 cut_off_limit = 256000
68 vcs_full_cache = True 79
80 ## use cache version of scm repo everywhere
81 vcs_full_cache = true
82
83 ## force https in RhodeCode, fixes https redirects, assumes it's always https
69 force_https = false 84 force_https = false
85
86 ## use Strict-Transport-Security headers
87 use_htsts = false
88
89 ## number of commits stats will parse on each iteration
70 commit_parse_limit = 25 90 commit_parse_limit = 25
71 # number of items displayed in lightweight dashboard before paginating 91
92 ## number of items displayed in lightweight dashboard before paginating is shown
72 dashboard_items = 100 93 dashboard_items = 100
94
95 ## use gravatar service to display avatars
73 use_gravatar = true 96 use_gravatar = true
74 97
98 ## path to git executable
99 git_path = git
100
101 ## git rev filter option, --all is the default filter, if you need to
102 ## hide all refs in changelog switch this to --branches --tags
103 git_rev_filter=--all
104
75 ## RSS feed options 105 ## RSS feed options
76
77 rss_cut_off_limit = 256000 106 rss_cut_off_limit = 256000
78 rss_items_per_page = 10 107 rss_items_per_page = 10
79 rss_include_diff = false 108 rss_include_diff = false
109
110 ## options for showing and identifying changesets
111 show_sha_length = 12
112 show_revision_number = true
80 113
81 114
82 ## alternative_gravatar_url allows you to use your own avatar server application 115 ## alternative_gravatar_url allows you to use your own avatar server application
83 ## the following parts of the URL will be replaced 116 ## the following parts of the URL will be replaced
84 ## {email} user email 117 ## {email} user email
87 ## {scheme} http/https from RhodeCode server 120 ## {scheme} http/https from RhodeCode server
88 ## {netloc} network location from RhodeCode server 121 ## {netloc} network location from RhodeCode server
89 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} 122 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
90 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} 123 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
91 124
125
126 ## container auth options
92 container_auth_enabled = false 127 container_auth_enabled = false
93 proxypass_auth_enabled = false 128 proxypass_auth_enabled = false
129
94 ## default encoding used to convert from and to unicode 130 ## default encoding used to convert from and to unicode
95 ## can be also a comma seperated list of encoding in case of mixed encodings 131 ## can be also a comma seperated list of encoding in case of mixed encodings
96 default_encoding = utf8 132 default_encoding = utf8
97 133
98 ## overwrite schema of clone url 134 ## overwrite schema of clone url
144 ## alternative return HTTP header for failed authentication. Default HTTP 180 ## alternative return HTTP header for failed authentication. Default HTTP
145 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with 181 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
146 ## handling that. Set this variable to 403 to return HTTPForbidden 182 ## handling that. Set this variable to 403 to return HTTPForbidden
147 auth_ret_code = 183 auth_ret_code =
148 184
185 ## locking return code. When repository is locked return this HTTP code. 2XX
186 ## codes don't break the transactions while 4XX codes do
187 lock_ret_code = 423
188
189
149 #################################### 190 ####################################
150 ### CELERY CONFIG #### 191 ### CELERY CONFIG ####
151 #################################### 192 ####################################
152 use_celery = false 193 use_celery = false
153 broker.host = localhost 194 broker.host = localhost
168 celeryd.concurrency = 2 209 celeryd.concurrency = 2
169 #celeryd.log.file = celeryd.log 210 #celeryd.log.file = celeryd.log
170 celeryd.log.level = debug 211 celeryd.log.level = debug
171 celeryd.max.tasks.per.child = 1 212 celeryd.max.tasks.per.child = 1
172 213
173 #tasks will never be sent to the queue, but executed locally instead. 214 ## tasks will never be sent to the queue, but executed locally instead.
174 celery.always.eager = false 215 celery.always.eager = false
175 216
176 #################################### 217 ####################################
177 ### BEAKER CACHE #### 218 ### BEAKER CACHE ####
178 #################################### 219 ####################################
224 ## file based cookies (default) ## 265 ## file based cookies (default) ##
225 #beaker.session.type = file 266 #beaker.session.type = file
226 267
227 268
228 beaker.session.key = rhodecode 269 beaker.session.key = rhodecode
229 ## secure cookie requires AES python libraries ## 270 ## secure cookie requires AES python libraries
230 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu 271 #beaker.session.encrypt_key = <key_for_encryption>
231 #beaker.session.validate_key = 9712sds2212c--zxc123 272 #beaker.session.validate_key = <validation_key>
273
232 ## sets session as invalid if it haven't been accessed for given amount of time 274 ## sets session as invalid if it haven't been accessed for given amount of time
233 beaker.session.timeout = 2592000 275 beaker.session.timeout = 2592000
234 beaker.session.httponly = true 276 beaker.session.httponly = true
235 #beaker.session.cookie_path = /<your-prefix> 277 #beaker.session.cookie_path = /<your-prefix>
236 278
237 ## uncomment for https secure cookie ## 279 ## uncomment for https secure cookie
238 beaker.session.secure = false 280 beaker.session.secure = false
239 281
240 ## auto save the session to not to use .save() ## 282 ## auto save the session to not to use .save()
241 beaker.session.auto = False 283 beaker.session.auto = False
242 284
243 ## default cookie expiration time in seconds `true` expire at browser close ## 285 ## default cookie expiration time in seconds `true` expire at browser close ##
244 #beaker.session.cookie_expires = 3600 286 #beaker.session.cookie_expires = 3600
245 287
250 292
251 #################### 293 ####################
252 ### [errormator] ### 294 ### [errormator] ###
253 #################### 295 ####################
254 296
255 # Errormator is tailored to work with RhodeCode, see 297 ## Errormator is tailored to work with RhodeCode, see
256 # http://errormator.com for details how to obtain an account 298 ## http://errormator.com for details how to obtain an account
257 # you must install python package `errormator_client` to make it work 299 ## you must install python package `errormator_client` to make it work
258 300
259 # errormator enabled 301 ## errormator enabled
260 errormator = true 302 errormator = false
261 303
262 errormator.server_url = https://api.errormator.com 304 errormator.server_url = https://api.errormator.com
263 errormator.api_key = YOUR_API_KEY 305 errormator.api_key = YOUR_API_KEY
264 306
265 # TWEAK AMOUNT OF INFO SENT HERE 307 ## TWEAK AMOUNT OF INFO SENT HERE
266 308
267 # enables 404 error logging (default False) 309 ## enables 404 error logging (default False)
268 errormator.report_404 = false 310 errormator.report_404 = false
269 311
270 # time in seconds after request is considered being slow (default 1) 312 ## time in seconds after request is considered being slow (default 1)
271 errormator.slow_request_time = 1 313 errormator.slow_request_time = 1
272 314
273 # record slow requests in application 315 ## record slow requests in application
274 # (needs to be enabled for slow datastore recording and time tracking) 316 ## (needs to be enabled for slow datastore recording and time tracking)
275 errormator.slow_requests = true 317 errormator.slow_requests = true
276 318
277 # enable hooking to application loggers 319 ## enable hooking to application loggers
278 # errormator.logging = true 320 # errormator.logging = true
279 321
280 # minimum log level for log capture 322 ## minimum log level for log capture
281 # errormator.logging.level = WARNING 323 # errormator.logging.level = WARNING
282 324
283 # send logs only from erroneous/slow requests 325 ## send logs only from erroneous/slow requests
284 # (saves API quota for intensive logging) 326 ## (saves API quota for intensive logging)
285 errormator.logging_on_error = false 327 errormator.logging_on_error = false
286 328
287 # list of additonal keywords that should be grabbed from environ object 329 ## list of additonal keywords that should be grabbed from environ object
288 # can be string with comma separated list of words in lowercase 330 ## can be string with comma separated list of words in lowercase
289 # (by default client will always send following info: 331 ## (by default client will always send following info:
290 # 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that 332 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
291 # start with HTTP* this list be extended with additional keywords here 333 ## start with HTTP* this list be extended with additional keywords here
292 errormator.environ_keys_whitelist = 334 errormator.environ_keys_whitelist =
293 335
294 336
295 # list of keywords that should be blanked from request object 337 ## list of keywords that should be blanked from request object
296 # can be string with comma separated list of words in lowercase 338 ## can be string with comma separated list of words in lowercase
297 # (by default client will always blank keys that contain following words 339 ## (by default client will always blank keys that contain following words
298 # 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' 340 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
299 # this list be extended with additional keywords set here 341 ## this list be extended with additional keywords set here
300 errormator.request_keys_blacklist = 342 errormator.request_keys_blacklist =
301 343
302 344
303 # list of namespaces that should be ignores when gathering log entries 345 ## list of namespaces that should be ignores when gathering log entries
304 # can be string with comma separated list of namespaces 346 ## can be string with comma separated list of namespaces
305 # (by default the client ignores own entries: errormator_client.client) 347 ## (by default the client ignores own entries: errormator_client.client)
306 errormator.log_namespace_blacklist = 348 errormator.log_namespace_blacklist =
307 349
308 350
309 ################ 351 ################
310 ### [sentry] ### 352 ### [sentry] ###
311 ################ 353 ################
312 354
313 # sentry is a alternative open source error aggregator 355 ## sentry is a alternative open source error aggregator
314 # you must install python packages `sentry` and `raven` to enable 356 ## you must install python packages `sentry` and `raven` to enable
315 357
316 sentry.dsn = YOUR_DNS 358 sentry.dsn = YOUR_DNS
317 sentry.servers = 359 sentry.servers =
318 sentry.name = 360 sentry.name =
319 sentry.key = 361 sentry.key =
369 411
370 [logger_routes] 412 [logger_routes]
371 level = DEBUG 413 level = DEBUG
372 handlers = 414 handlers =
373 qualname = routes.middleware 415 qualname = routes.middleware
374 # "level = DEBUG" logs the route matched and routing variables. 416 ## "level = DEBUG" logs the route matched and routing variables.
375 propagate = 1 417 propagate = 1
376 418
377 [logger_beaker] 419 [logger_beaker]
378 level = DEBUG 420 level = DEBUG
379 handlers = 421 handlers =