[3516] | 1 | [buildout] |
---|
[7825] | 2 | develop = . waeup.kofa |
---|
[5495] | 3 | parts = |
---|
| 4 | eggbasket |
---|
| 5 | app |
---|
| 6 | i18n |
---|
| 7 | test |
---|
| 8 | mkdirs |
---|
| 9 | zpasswd |
---|
| 10 | zope_conf |
---|
| 11 | site_zcml |
---|
| 12 | zdaemon_conf |
---|
| 13 | deploy_ini |
---|
| 14 | debug_ini |
---|
[8035] | 15 | profile_ini |
---|
[5495] | 16 | waeupdocs |
---|
| 17 | coverage-detect |
---|
| 18 | coverage-report |
---|
[7825] | 19 | # kofactl creation must be _after_ app! |
---|
| 20 | kofactl |
---|
[5495] | 21 | # For backward compatibility, telling buildout not to throw away |
---|
| 22 | # the data and log subdirectories from the parts directory. |
---|
| 23 | data |
---|
| 24 | log |
---|
[5660] | 25 | # newest = false |
---|
[5495] | 26 | |
---|
[8360] | 27 | extends = versions.cfg |
---|
| 28 | |
---|
[5495] | 29 | # eggs will be installed in the default buildout location |
---|
| 30 | # (see .buildout/default.cfg in your home directory) |
---|
| 31 | # unless you specify an eggs-directory option here. |
---|
| 32 | |
---|
[8770] | 33 | [kofa_params] |
---|
| 34 | ## Basic parameters for deployment. |
---|
| 35 | # default is 127.0.0.1 |
---|
| 36 | host = 0.0.0.0 |
---|
| 37 | # default is 8080 |
---|
| 38 | base_port = 7011 |
---|
| 39 | zeo1_port = 7011 |
---|
| 40 | zeo2_port = 7012 |
---|
| 41 | zeo3_port = 7013 |
---|
| 42 | server_port = 7010 |
---|
| 43 | # default 7. Number of pre-opened ZODB threads/client |
---|
| 44 | pool_size = 7 |
---|
| 45 | # default 20MB. Cache size of each client (ZEO only) |
---|
| 46 | client_cache = 20MB |
---|
| 47 | # default 5000. Number of objects cached. |
---|
| 48 | object_cache = 5000 |
---|
| 49 | # number of preopened paster threads, default 10 |
---|
| 50 | threadpool_workers = 10 |
---|
| 51 | |
---|
[3516] | 52 | [app] |
---|
[7825] | 53 | # This creates all scripts in bin/. The kofactl created here is 'faulty'. |
---|
[5495] | 54 | recipe = zc.recipe.egg |
---|
[8020] | 55 | eggs = waeup.uniben [beaker] |
---|
[5495] | 56 | z3c.evalexception>=2.0 |
---|
| 57 | Paste |
---|
| 58 | PasteScript |
---|
| 59 | PasteDeploy |
---|
[8035] | 60 | repoze.profile |
---|
| 61 | ZODB3 |
---|
[8699] | 62 | interpreter = python-console |
---|
[3516] | 63 | |
---|
[7825] | 64 | [kofactl] |
---|
[5503] | 65 | # See http://pypi.python.org/pypi/zc.recipe.egg for details... |
---|
[7825] | 66 | # Here we create the kofactl script again, this time with a |
---|
[5503] | 67 | # fixed path to zdaemon.conf as argument. |
---|
| 68 | recipe = zc.recipe.egg |
---|
[8020] | 69 | eggs = waeup.uniben [beaker] |
---|
[5503] | 70 | arguments = "${buildout:parts-directory}/etc/zdaemon.conf" |
---|
[7825] | 71 | scripts = kofactl=kofactl |
---|
[5503] | 72 | |
---|
[5495] | 73 | [mkdirs] |
---|
| 74 | recipe = z3c.recipe.mkdir |
---|
| 75 | paths = |
---|
| 76 | ${zope_conf:filestorage} |
---|
| 77 | ${zope_conf:logfiles} |
---|
| 78 | ${zope_conf:blobstorage} |
---|
[7587] | 79 | ${buildout:directory}/var/datacenter/media |
---|
| 80 | ${buildout:directory}/parts/test/datacenter |
---|
[4789] | 81 | |
---|
[5495] | 82 | [test] |
---|
| 83 | recipe = zc.recipe.testrunner |
---|
[8020] | 84 | eggs = waeup.uniben [beaker, test] |
---|
[5495] | 85 | defaults = ['--tests-pattern', '^f?tests$', '-v'] |
---|
[3516] | 86 | |
---|
[7695] | 87 | # This section named so that the i18n scripts are called bin/i18n... |
---|
[5495] | 88 | [i18n] |
---|
| 89 | recipe = z3c.recipe.i18n:i18n |
---|
[8020] | 90 | packages = waeup.uniben |
---|
| 91 | eggs = waeup.uniben |
---|
| 92 | domain = waeup.uniben |
---|
| 93 | output = src/waeup/uniben/locales |
---|
[5495] | 94 | zcml = |
---|
[4789] | 95 | |
---|
[5495] | 96 | # This section is named so that the zpasswd utility is |
---|
| 97 | # called `zpasswd` |
---|
| 98 | [zpasswd] |
---|
| 99 | recipe = z3c.recipe.dev:script |
---|
[8020] | 100 | eggs = waeup.uniben |
---|
[5495] | 101 | module = zope.app.server.zpasswd |
---|
| 102 | method = main |
---|
[3516] | 103 | |
---|
[5495] | 104 | [zope_conf] |
---|
| 105 | recipe = collective.recipe.template |
---|
| 106 | input = etc/zope.conf.in |
---|
| 107 | output = ${buildout:parts-directory}/etc/zope.conf |
---|
| 108 | filestorage = ${buildout:directory}/var/filestorage |
---|
| 109 | blobstorage = ${buildout:directory}/var/blobstorage |
---|
| 110 | logfiles = ${buildout:directory}/var/log |
---|
| 111 | extra = |
---|
| 112 | # extra = <grokwarnings>True</grokwarnings> |
---|
| 113 | # 'extra' is copied verbatim. Use it for product config sections and so. |
---|
| 114 | |
---|
| 115 | # The [data] and [log] parts are still in here to instruct buildout to not |
---|
| 116 | # unintentionally throw away the parts/data and parts/log subdirectories |
---|
| 117 | # that contain the Data.fs and the log files. These files should be |
---|
| 118 | # copied to the new locations. See the upgrade notes for more information. |
---|
[3516] | 119 | [data] |
---|
| 120 | recipe = zc.recipe.filestorage |
---|
| 121 | |
---|
[5495] | 122 | [log] |
---|
| 123 | recipe = zc.recipe.filestorage |
---|
[3516] | 124 | |
---|
[5495] | 125 | [site_zcml] |
---|
| 126 | recipe = collective.recipe.template |
---|
| 127 | input = etc/site.zcml.in |
---|
| 128 | output = ${buildout:parts-directory}/etc/site.zcml |
---|
[3516] | 129 | |
---|
[5495] | 130 | [zdaemon_conf] |
---|
| 131 | recipe = collective.recipe.template |
---|
| 132 | input = etc/zdaemon.conf.in |
---|
| 133 | output = ${buildout:parts-directory}/etc/zdaemon.conf |
---|
| 134 | |
---|
| 135 | [deploy_ini] |
---|
| 136 | recipe = collective.recipe.template |
---|
| 137 | input = etc/deploy.ini.in |
---|
| 138 | output = ${buildout:parts-directory}/etc/deploy.ini |
---|
| 139 | |
---|
| 140 | [debug_ini] |
---|
| 141 | recipe = collective.recipe.template |
---|
| 142 | input = etc/debug.ini.in |
---|
| 143 | output = ${buildout:parts-directory}/etc/debug.ini |
---|
| 144 | |
---|
[8035] | 145 | [profile_ini] |
---|
| 146 | recipe = collective.recipe.template |
---|
| 147 | input = etc/profile.ini.in |
---|
| 148 | output = ${buildout:parts-directory}/etc/profile.ini |
---|
| 149 | |
---|
[5495] | 150 | [eggbasket] |
---|
| 151 | recipe = z3c.recipe.eggbasket |
---|
| 152 | eggs = grok |
---|
| 153 | url = http://grok.zope.org/releaseinfo/grok-eggs-1.1.tgz |
---|
| 154 | |
---|
| 155 | [waeupdocs] |
---|
| 156 | recipe = collective.recipe.sphinxbuilder |
---|
[8020] | 157 | eggs = waeup.uniben[docs] |
---|
[5495] | 158 | source = ${buildout:directory}/docs/source |
---|
| 159 | build = ${buildout:directory}/docs/build |
---|
| 160 | |
---|
[4789] | 161 | # Collect test coverage data. |
---|
| 162 | [coverage-detect] |
---|
| 163 | recipe = zc.recipe.testrunner |
---|
[8020] | 164 | eggs = waeup.uniben[beaker] |
---|
[4789] | 165 | defaults = ['--tests-pattern', '^f?tests$', '-v', '--coverage', 'coverage'] |
---|
| 166 | |
---|
| 167 | # Create a coverage report. |
---|
| 168 | # Make sure to run bin/coverage-detect to collect the data for the report |
---|
| 169 | # first! |
---|
| 170 | [coverage-report] |
---|
| 171 | recipe = zc.recipe.egg |
---|
| 172 | eggs = z3c.coverage |
---|
[5226] | 173 | scripts = coveragereport |
---|
[6398] | 174 | arguments = ('${buildout:parts-directory}/coverage-detect/working-directory/coverage', '${buildout:directory}/coverage-report') |
---|