| 1 | # |
|---|
| 2 | # pySvnManager - Pylons development environment configuration |
|---|
| 3 | # |
|---|
| 4 | # The %(here)s variable will be replaced with the parent directory of this file |
|---|
| 5 | # |
|---|
| 6 | [DEFAULT] |
|---|
| 7 | debug = true |
|---|
| 8 | # Uncomment and replace with the address which should receive any error reports |
|---|
| 9 | email_to = jiangxin@foo.bar |
|---|
| 10 | smtp_server = localhost |
|---|
| 11 | error_email_from = paste@foo.bar |
|---|
| 12 | |
|---|
| 13 | [server:main] |
|---|
| 14 | #use = egg:PasteScript#flup_fcgi_fork |
|---|
| 15 | #use = egg:PasteScript#flup_fcgi_thread |
|---|
| 16 | use = egg:Paste#http |
|---|
| 17 | host = 0.0.0.0 |
|---|
| 18 | port = 5000 |
|---|
| 19 | |
|---|
| 20 | [app:main] |
|---|
| 21 | use = egg:pySvnManager |
|---|
| 22 | #filter-with = proxy-prefix |
|---|
| 23 | full_stack = true |
|---|
| 24 | cache_dir = %(here)s/data |
|---|
| 25 | beaker.session.key = OSSXP_ID |
|---|
| 26 | #beaker.session.secret = somesecret |
|---|
| 27 | #beaker.session.cookie_expires = True |
|---|
| 28 | #beaker.session.cookie_domain = localhost |
|---|
| 29 | beaker.session.cookie_expires = False |
|---|
| 30 | beaker.session.timeout = 3600 |
|---|
| 31 | |
|---|
| 32 | # If you'd like to fine-tune the individual locations of the cache data dirs |
|---|
| 33 | # for the Cache data, or the Session saves, un-comment the desired settings |
|---|
| 34 | # here: |
|---|
| 35 | #beaker.cache.data_dir = %(here)s/data/cache |
|---|
| 36 | #beaker.session.data_dir = %(here)s/data/sessions |
|---|
| 37 | |
|---|
| 38 | # WARNING: *THE LINE BELOW MUST BE UNCOMMENTED ON A PRODUCTION ENVIRONMENT* |
|---|
| 39 | # Debug mode will enable the interactive debugging tool, allowing ANYONE to |
|---|
| 40 | # execute malicious code after an exception is raised. |
|---|
| 41 | #set debug = false |
|---|
| 42 | |
|---|
| 43 | # Configuration for pysvnmanager: |
|---|
| 44 | # Set admin files location. |
|---|
| 45 | # More manageable configurations are in config/localconfig.py. |
|---|
| 46 | |
|---|
| 47 | # Set unittest to True only for unittest mode. (nosetests) |
|---|
| 48 | # Warning: if unitest is enabled, i18n for svnauthz module not work any more. |
|---|
| 49 | #unittest = True |
|---|
| 50 | |
|---|
| 51 | # authn_file: a .htpasswd style password file, used for pysvnmanager authentication. |
|---|
| 52 | authn_file = %(here)s/config/svn.passwd |
|---|
| 53 | |
|---|
| 54 | # authz_file: svn authz config file with administrative extension. (ossxp.com) |
|---|
| 55 | authz_file = %(here)s/config/svn.access |
|---|
| 56 | |
|---|
| 57 | # svn repository root path |
|---|
| 58 | repos_root = %(here)s/svnroot |
|---|
| 59 | |
|---|
| 60 | #[filter:proxy-prefix] |
|---|
| 61 | #use = egg:PasteDeploy#prefix |
|---|
| 62 | #prefix = /svnadmin |
|---|
| 63 | |
|---|
| 64 | # Logging configuration |
|---|
| 65 | [loggers] |
|---|
| 66 | keys = root, routes, pysvnmanager |
|---|
| 67 | |
|---|
| 68 | [handlers] |
|---|
| 69 | keys = console |
|---|
| 70 | |
|---|
| 71 | [formatters] |
|---|
| 72 | keys = generic |
|---|
| 73 | |
|---|
| 74 | [logger_root] |
|---|
| 75 | level = INFO |
|---|
| 76 | handlers = console |
|---|
| 77 | |
|---|
| 78 | [logger_routes] |
|---|
| 79 | level = INFO |
|---|
| 80 | handlers = |
|---|
| 81 | qualname = routes.middleware |
|---|
| 82 | # "level = DEBUG" logs the route matched and routing variables. |
|---|
| 83 | |
|---|
| 84 | [logger_pysvnmanager] |
|---|
| 85 | level = DEBUG |
|---|
| 86 | handlers = |
|---|
| 87 | qualname = pysvnmanager |
|---|
| 88 | |
|---|
| 89 | [handler_console] |
|---|
| 90 | class = StreamHandler |
|---|
| 91 | args = (sys.stderr,) |
|---|
| 92 | level = NOTSET |
|---|
| 93 | formatter = generic |
|---|
| 94 | |
|---|
| 95 | [formatter_generic] |
|---|
| 96 | format = %(asctime)s,%(msecs)03d %(levelname)-5.5s [%(name)s] %(message)s |
|---|
| 97 | datefmt = %H:%M:%S |
|---|