comparison development.ini @ 3557:58dcef7eef03 beta

Implemented show_id function that is a configurable way to display sha hashes in the changelog.
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 21 Mar 2013 21:03:22 +0100
parents 7174ee850baa
children c04d1d9b6193
comparison
equal deleted inserted replaced
3556:4358b1b9307d 3557:58dcef7eef03
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 46 ## 100GB
47 max_request_body_size = 107374182400 47 max_request_body_size = 107374182400
48 use = egg:waitress#main 48 use = egg:waitress#main
49 49
50 host = 0.0.0.0 50 host = 0.0.0.0
51 port = 5000 51 port = 5000
52 52
53 [filter:proxy-prefix] 53 ## prefix middleware for rc
54 # prefix middleware for rc 54 #[filter:proxy-prefix]
55 use = egg:PasteDeploy#prefix 55 #use = egg:PasteDeploy#prefix
56 prefix = /<your-prefix> 56 #prefix = /<your-prefix>
57 57
58 [app:main] 58 [app:main]
59 use = egg:rhodecode 59 use = egg:rhodecode
60 ## enable proxy prefix middleware
60 #filter-with = proxy-prefix 61 #filter-with = proxy-prefix
62
61 full_stack = true 63 full_stack = true
62 static_files = true 64 static_files = true
63 # Optional Languages 65 ## Optional Languages
64 # en, fr, ja, pt_BR, zh_CN, zh_TW, pl 66 ## en, fr, ja, pt_BR, zh_CN, zh_TW, pl
65 lang = en 67 lang = en
66 cache_dir = %(here)s/data 68 cache_dir = %(here)s/data
67 index_dir = %(here)s/data/index 69 index_dir = %(here)s/data/index
68 # set this path to use archive download cache 70
69 #archive_cache_dir = /tmp/rhodecode_tarballcache 71 ## uncomment and set this path to use archive download cache
70 app_instance_uuid = rc-develop 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)
71 cut_off_limit = 256000 78 cut_off_limit = 256000
72 vcs_full_cache = True 79
73 # force https in RhodeCode, fixes https redirects, assumes it's always https 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
74 force_https = false 84 force_https = false
75 # use Strict-Transport-Security headers 85
86 ## use Strict-Transport-Security headers
76 use_htsts = false 87 use_htsts = false
88
89 ## number of commits stats will parse on each iteration
77 commit_parse_limit = 25 90 commit_parse_limit = 25
78 # number of items displayed in lightweight dashboard before paginating 91
92 ## number of items displayed in lightweight dashboard before paginating is shown
79 dashboard_items = 100 93 dashboard_items = 100
94
95 ## use gravatar service to display avatars
80 use_gravatar = true 96 use_gravatar = true
81 97
82 # path to git executable 98 ## path to git executable
83 git_path = git 99 git_path = git
84 100
85 ## RSS feed options 101 ## RSS feed options
86
87 rss_cut_off_limit = 256000 102 rss_cut_off_limit = 256000
88 rss_items_per_page = 10 103 rss_items_per_page = 10
89 rss_include_diff = false 104 rss_include_diff = false
105
106 ## show hash options for changelog
107 sha_len = 12
108 sha_rev = true
90 109
91 110
92 ## alternative_gravatar_url allows you to use your own avatar server application 111 ## alternative_gravatar_url allows you to use your own avatar server application
93 ## the following parts of the URL will be replaced 112 ## the following parts of the URL will be replaced
94 ## {email} user email 113 ## {email} user email
97 ## {scheme} http/https from RhodeCode server 116 ## {scheme} http/https from RhodeCode server
98 ## {netloc} network location from RhodeCode server 117 ## {netloc} network location from RhodeCode server
99 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size} 118 #alternative_gravatar_url = http://myavatarserver.com/getbyemail/{email}/{size}
100 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size} 119 #alternative_gravatar_url = http://myavatarserver.com/getbymd5/{md5email}?s={size}
101 120
121
122 ## container auth options
102 container_auth_enabled = false 123 container_auth_enabled = false
103 proxypass_auth_enabled = false 124 proxypass_auth_enabled = false
125
104 ## default encoding used to convert from and to unicode 126 ## default encoding used to convert from and to unicode
105 ## can be also a comma seperated list of encoding in case of mixed encodings 127 ## can be also a comma seperated list of encoding in case of mixed encodings
106 default_encoding = utf8 128 default_encoding = utf8
107 129
108 ## overwrite schema of clone url 130 ## overwrite schema of clone url
183 celeryd.concurrency = 2 205 celeryd.concurrency = 2
184 #celeryd.log.file = celeryd.log 206 #celeryd.log.file = celeryd.log
185 celeryd.log.level = debug 207 celeryd.log.level = debug
186 celeryd.max.tasks.per.child = 1 208 celeryd.max.tasks.per.child = 1
187 209
188 #tasks will never be sent to the queue, but executed locally instead. 210 ## tasks will never be sent to the queue, but executed locally instead.
189 celery.always.eager = false 211 celery.always.eager = false
190 212
191 #################################### 213 ####################################
192 ### BEAKER CACHE #### 214 ### BEAKER CACHE ####
193 #################################### 215 ####################################
239 ## file based cookies (default) ## 261 ## file based cookies (default) ##
240 #beaker.session.type = file 262 #beaker.session.type = file
241 263
242 264
243 beaker.session.key = rhodecode 265 beaker.session.key = rhodecode
244 ## secure cookie requires AES python libraries ## 266 ## secure cookie requires AES python libraries
245 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu 267 #beaker.session.encrypt_key = <key_for_encryption>
246 #beaker.session.validate_key = 9712sds2212c--zxc123 268 #beaker.session.validate_key = <validation_key>
269
247 ## sets session as invalid if it haven't been accessed for given amount of time 270 ## sets session as invalid if it haven't been accessed for given amount of time
248 beaker.session.timeout = 2592000 271 beaker.session.timeout = 2592000
249 beaker.session.httponly = true 272 beaker.session.httponly = true
250 #beaker.session.cookie_path = /<your-prefix> 273 #beaker.session.cookie_path = /<your-prefix>
251 274
252 ## uncomment for https secure cookie ## 275 ## uncomment for https secure cookie
253 beaker.session.secure = false 276 beaker.session.secure = false
254 277
255 ## auto save the session to not to use .save() ## 278 ## auto save the session to not to use .save()
256 beaker.session.auto = False 279 beaker.session.auto = False
257 280
258 ## default cookie expiration time in seconds `true` expire at browser close ## 281 ## default cookie expiration time in seconds `true` expire at browser close ##
259 #beaker.session.cookie_expires = 3600 282 #beaker.session.cookie_expires = 3600
260 283
265 288
266 #################### 289 ####################
267 ### [errormator] ### 290 ### [errormator] ###
268 #################### 291 ####################
269 292
270 # Errormator is tailored to work with RhodeCode, see 293 ## Errormator is tailored to work with RhodeCode, see
271 # http://errormator.com for details how to obtain an account 294 ## http://errormator.com for details how to obtain an account
272 # you must install python package `errormator_client` to make it work 295 ## you must install python package `errormator_client` to make it work
273 296
274 # errormator enabled 297 ## errormator enabled
275 errormator = true 298 errormator = false
276 299
277 errormator.server_url = https://api.errormator.com 300 errormator.server_url = https://api.errormator.com
278 errormator.api_key = YOUR_API_KEY 301 errormator.api_key = YOUR_API_KEY
279 302
280 # TWEAK AMOUNT OF INFO SENT HERE 303 ## TWEAK AMOUNT OF INFO SENT HERE
281 304
282 # enables 404 error logging (default False) 305 ## enables 404 error logging (default False)
283 errormator.report_404 = false 306 errormator.report_404 = false
284 307
285 # time in seconds after request is considered being slow (default 1) 308 ## time in seconds after request is considered being slow (default 1)
286 errormator.slow_request_time = 1 309 errormator.slow_request_time = 1
287 310
288 # record slow requests in application 311 ## record slow requests in application
289 # (needs to be enabled for slow datastore recording and time tracking) 312 ## (needs to be enabled for slow datastore recording and time tracking)
290 errormator.slow_requests = true 313 errormator.slow_requests = true
291 314
292 # enable hooking to application loggers 315 ## enable hooking to application loggers
293 # errormator.logging = true 316 # errormator.logging = true
294 317
295 # minimum log level for log capture 318 ## minimum log level for log capture
296 # errormator.logging.level = WARNING 319 # errormator.logging.level = WARNING
297 320
298 # send logs only from erroneous/slow requests 321 ## send logs only from erroneous/slow requests
299 # (saves API quota for intensive logging) 322 ## (saves API quota for intensive logging)
300 errormator.logging_on_error = false 323 errormator.logging_on_error = false
301 324
302 # list of additonal keywords that should be grabbed from environ object 325 ## list of additonal keywords that should be grabbed from environ object
303 # can be string with comma separated list of words in lowercase 326 ## can be string with comma separated list of words in lowercase
304 # (by default client will always send following info: 327 ## (by default client will always send following info:
305 # 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that 328 ## 'REMOTE_USER', 'REMOTE_ADDR', 'SERVER_NAME', 'CONTENT_TYPE' + all keys that
306 # start with HTTP* this list be extended with additional keywords here 329 ## start with HTTP* this list be extended with additional keywords here
307 errormator.environ_keys_whitelist = 330 errormator.environ_keys_whitelist =
308 331
309 332
310 # list of keywords that should be blanked from request object 333 ## list of keywords that should be blanked from request object
311 # can be string with comma separated list of words in lowercase 334 ## can be string with comma separated list of words in lowercase
312 # (by default client will always blank keys that contain following words 335 ## (by default client will always blank keys that contain following words
313 # 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf' 336 ## 'password', 'passwd', 'pwd', 'auth_tkt', 'secret', 'csrf'
314 # this list be extended with additional keywords set here 337 ## this list be extended with additional keywords set here
315 errormator.request_keys_blacklist = 338 errormator.request_keys_blacklist =
316 339
317 340
318 # list of namespaces that should be ignores when gathering log entries 341 ## list of namespaces that should be ignores when gathering log entries
319 # can be string with comma separated list of namespaces 342 ## can be string with comma separated list of namespaces
320 # (by default the client ignores own entries: errormator_client.client) 343 ## (by default the client ignores own entries: errormator_client.client)
321 errormator.log_namespace_blacklist = 344 errormator.log_namespace_blacklist =
322 345
323 346
324 ################ 347 ################
325 ### [sentry] ### 348 ### [sentry] ###
326 ################ 349 ################
327 350
328 # sentry is a alternative open source error aggregator 351 ## sentry is a alternative open source error aggregator
329 # you must install python packages `sentry` and `raven` to enable 352 ## you must install python packages `sentry` and `raven` to enable
330 353
331 sentry.dsn = YOUR_DNS 354 sentry.dsn = YOUR_DNS
332 sentry.servers = 355 sentry.servers =
333 sentry.name = 356 sentry.name =
334 sentry.key = 357 sentry.key =
384 407
385 [logger_routes] 408 [logger_routes]
386 level = DEBUG 409 level = DEBUG
387 handlers = 410 handlers =
388 qualname = routes.middleware 411 qualname = routes.middleware
389 # "level = DEBUG" logs the route matched and routing variables. 412 ## "level = DEBUG" logs the route matched and routing variables.
390 propagate = 1 413 propagate = 1
391 414
392 [logger_beaker] 415 [logger_beaker]
393 level = DEBUG 416 level = DEBUG
394 handlers = 417 handlers =