##// END OF EJS Templates
move tests temp folders to special prefix
marcink -
r3095:53ab820a beta
parent child Browse files
Show More
@@ -1,298 +1,298 b''
1 1 ################################################################################
2 2 ################################################################################
3 3 # RhodeCode - Pylons environment configuration #
4 4 # #
5 5 # The %(here)s variable will be replaced with the parent directory of this file#
6 6 ################################################################################
7 7
8 8 [DEFAULT]
9 9 debug = true
10 10 pdebug = false
11 11 ################################################################################
12 12 ## Uncomment and replace with the address which should receive ##
13 13 ## any error reports after application crash ##
14 14 ## Additionally those settings will be used by RhodeCode mailing system ##
15 15 ################################################################################
16 16 #email_to = admin@localhost
17 17 #error_email_from = paste_error@localhost
18 18 #app_email_from = rhodecode-noreply@localhost
19 19 #error_message =
20 20 #email_prefix = [RhodeCode]
21 21
22 22 #smtp_server = mail.server.com
23 23 #smtp_username =
24 24 #smtp_password =
25 25 #smtp_port =
26 26 #smtp_use_tls = false
27 27 #smtp_use_ssl = true
28 28 # Specify available auth parameters here (e.g. LOGIN PLAIN CRAM-MD5, etc.)
29 29 #smtp_auth =
30 30
31 31 [server:main]
32 32 ##nr of threads to spawn
33 33 #threadpool_workers = 5
34 34
35 35 ##max request before thread respawn
36 36 #threadpool_max_requests = 2
37 37
38 38 ##option to use threads of process
39 39 #use_threadpool = true
40 40
41 41 #use = egg:Paste#http
42 42 use = egg:waitress#main
43 43 host = 127.0.0.1
44 44 port = 5000
45 45
46 46 [app:main]
47 47 use = egg:rhodecode
48 48 full_stack = true
49 49 static_files = true
50 50 lang=en
51 cache_dir = /tmp/data
52 index_dir = /tmp/index
51 cache_dir = /tmp/rc/data
52 index_dir = /tmp/rc/index
53 53 app_instance_uuid = develop-test
54 54 cut_off_limit = 256000
55 55 force_https = false
56 56 commit_parse_limit = 25
57 57 use_gravatar = true
58 58 container_auth_enabled = false
59 59 proxypass_auth_enabled = false
60 60
61 61
62 62 ## overwrite schema of clone url
63 63 ## available vars:
64 64 ## scheme - http/https
65 65 ## user - current user
66 66 ## pass - password
67 67 ## netloc - network location
68 68 ## path - usually repo_name
69 69
70 70 #clone_uri = {scheme}://{user}{pass}{netloc}{path}
71 71
72 72 ## issue tracking mapping for commits messages
73 73 ## comment out issue_pat, issue_server, issue_prefix to enable
74 74
75 75 ## pattern to get the issues from commit messages
76 76 ## default one used here is #<numbers> with a regex passive group for `#`
77 77 ## {id} will be all groups matched from this pattern
78 78
79 79 issue_pat = (?:\s*#)(\d+)
80 80
81 81 ## server url to the issue, each {id} will be replaced with match
82 82 ## fetched from the regex and {repo} is replaced with repository name
83 83
84 84 issue_server_link = https://myissueserver.com/{repo}/issue/{id}
85 85
86 86 ## prefix to add to link to indicate it's an url
87 87 ## #314 will be replaced by <issue_prefix><id>
88 88
89 89 issue_prefix = #
90 90
91 91 ## instance-id prefix
92 92 ## a prefix key for this instance used for cache invalidation when running
93 93 ## multiple instances of rhodecode, make sure it's globally unique for
94 94 ## all running rhodecode instances. Leave empty if you don't use it
95 95 instance_id =
96 96
97 97 ## alternative return HTTP header for failed authentication. Default HTTP
98 98 ## response is 401 HTTPUnauthorized. Currently HG clients have troubles with
99 99 ## handling that. Set this variable to 403 to return HTTPForbidden
100 100 auth_ret_code =
101 101
102 102 ####################################
103 103 ### CELERY CONFIG ####
104 104 ####################################
105 105 use_celery = false
106 106 broker.host = localhost
107 107 broker.vhost = rabbitmqhost
108 108 broker.port = 5672
109 109 broker.user = rabbitmq
110 110 broker.password = qweqwe
111 111
112 112 celery.imports = rhodecode.lib.celerylib.tasks
113 113
114 114 celery.result.backend = amqp
115 115 celery.result.dburi = amqp://
116 116 celery.result.serialier = json
117 117
118 118 #celery.send.task.error.emails = true
119 119 #celery.amqp.task.result.expires = 18000
120 120
121 121 celeryd.concurrency = 2
122 122 #celeryd.log.file = celeryd.log
123 123 celeryd.log.level = debug
124 124 celeryd.max.tasks.per.child = 1
125 125
126 126 #tasks will never be sent to the queue, but executed locally instead.
127 127 celery.always.eager = false
128 128
129 129 ####################################
130 130 ### BEAKER CACHE ####
131 131 ####################################
132 beaker.cache.data_dir=/tmp/data/cache/data
133 beaker.cache.lock_dir=/tmp/data/cache/lock
132 beaker.cache.data_dir=/tmp/rc/data/cache/data
133 beaker.cache.lock_dir=/tmp/rc/data/cache/lock
134 134
135 135 beaker.cache.regions=super_short_term,short_term,long_term,sql_cache_short,sql_cache_med,sql_cache_long
136 136
137 137 beaker.cache.super_short_term.type=memory
138 138 beaker.cache.super_short_term.expire=1
139 139 beaker.cache.super_short_term.key_length = 256
140 140
141 141 beaker.cache.short_term.type=memory
142 142 beaker.cache.short_term.expire=60
143 143 beaker.cache.short_term.key_length = 256
144 144
145 145 beaker.cache.long_term.type=memory
146 146 beaker.cache.long_term.expire=36000
147 147 beaker.cache.long_term.key_length = 256
148 148
149 149 beaker.cache.sql_cache_short.type=memory
150 150 beaker.cache.sql_cache_short.expire=1
151 151 beaker.cache.sql_cache_short.key_length = 256
152 152
153 153 beaker.cache.sql_cache_med.type=memory
154 154 beaker.cache.sql_cache_med.expire=360
155 155 beaker.cache.sql_cache_med.key_length = 256
156 156
157 157 beaker.cache.sql_cache_long.type=file
158 158 beaker.cache.sql_cache_long.expire=3600
159 159 beaker.cache.sql_cache_long.key_length = 256
160 160
161 161 ####################################
162 162 ### BEAKER SESSION ####
163 163 ####################################
164 164 ## Type of storage used for the session, current types are
165 165 ## dbm, file, memcached, database, and memory.
166 166 ## The storage uses the Container API
167 167 ## that is also used by the cache system.
168 168
169 169 ## db session example
170 170
171 171 #beaker.session.type = ext:database
172 172 #beaker.session.sa.url = postgresql://postgres:qwe@localhost/rhodecode
173 173 #beaker.session.table_name = db_session
174 174
175 175 ## encrypted cookie session, good for many instances
176 176 #beaker.session.type = cookie
177 177
178 178 beaker.session.type = file
179 179 beaker.session.key = rhodecode
180 180 # secure cookie requires AES python libraries
181 181 #beaker.session.encrypt_key = g654dcno0-9873jhgfreyu
182 182 #beaker.session.validate_key = 9712sds2212c--zxc123
183 183 beaker.session.timeout = 36000
184 184 beaker.session.httponly = true
185 185
186 186 ## uncomment for https secure cookie
187 187 beaker.session.secure = false
188 188
189 189 ##auto save the session to not to use .save()
190 190 beaker.session.auto = False
191 191
192 192 ##true exire at browser close
193 193 #beaker.session.cookie_expires = 3600
194 194
195 195
196 196 ################################################################################
197 197 ## WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* ##
198 198 ## Debug mode will enable the interactive debugging tool, allowing ANYONE to ##
199 199 ## execute malicious code after an exception is raised. ##
200 200 ################################################################################
201 201 #set debug = false
202 202
203 203 ##################################
204 204 ### LOGVIEW CONFIG ###
205 205 ##################################
206 206 logview.sqlalchemy = #faa
207 207 logview.pylons.templating = #bfb
208 208 logview.pylons.util = #eee
209 209
210 210 #########################################################
211 211 ### DB CONFIGS - EACH DB WILL HAVE IT'S OWN CONFIG ###
212 212 #########################################################
213 213 sqlalchemy.db1.url = sqlite:///%(here)s/rhodecode_test.sqlite
214 214 #sqlalchemy.db1.url = postgresql://postgres:qwe@localhost/rhodecode_test
215 215 #sqlalchemy.db1.url = mysql://root:qwe@localhost/rhodecode_test
216 216
217 217 sqlalchemy.db1.echo = false
218 218 sqlalchemy.db1.pool_recycle = 3600
219 219 sqlalchemy.db1.convert_unicode = true
220 220
221 221 ################################
222 222 ### LOGGING CONFIGURATION ####
223 223 ################################
224 224 [loggers]
225 225 keys = root, routes, rhodecode, sqlalchemy, beaker, templates, whoosh_indexer
226 226
227 227 [handlers]
228 228 keys = console
229 229
230 230 [formatters]
231 231 keys = generic, color_formatter
232 232
233 233 #############
234 234 ## LOGGERS ##
235 235 #############
236 236 [logger_root]
237 237 level = DEBUG
238 238 handlers = console
239 239
240 240 [logger_routes]
241 241 level = DEBUG
242 242 handlers =
243 243 qualname = routes.middleware
244 244 # "level = DEBUG" logs the route matched and routing variables.
245 245 propagate = 1
246 246
247 247 [logger_beaker]
248 248 level = DEBUG
249 249 handlers =
250 250 qualname = beaker.container
251 251 propagate = 1
252 252
253 253 [logger_templates]
254 254 level = INFO
255 255 handlers =
256 256 qualname = pylons.templating
257 257 propagate = 1
258 258
259 259 [logger_rhodecode]
260 260 level = DEBUG
261 261 handlers =
262 262 qualname = rhodecode
263 263 propagate = 1
264 264
265 265 [logger_sqlalchemy]
266 266 level = ERROR
267 267 handlers = console
268 268 qualname = sqlalchemy.engine
269 269 propagate = 0
270 270
271 271 [logger_whoosh_indexer]
272 272 level = DEBUG
273 273 handlers =
274 274 qualname = whoosh_indexer
275 275 propagate = 1
276 276
277 277 ##############
278 278 ## HANDLERS ##
279 279 ##############
280 280
281 281 [handler_console]
282 282 class = StreamHandler
283 283 args = (sys.stderr,)
284 284 level = NOTSET
285 285 formatter = generic
286 286
287 287 ################
288 288 ## FORMATTERS ##
289 289 ################
290 290
291 291 [formatter_generic]
292 292 format = %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
293 293 datefmt = %Y-%m-%d %H:%M:%S
294 294
295 295 [formatter_color_formatter]
296 296 class=rhodecode.lib.colored_formatter.ColorFormatter
297 297 format= %(asctime)s.%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s
298 298 datefmt = %Y-%m-%d %H:%M:%S No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now