4 ${:parts-directory}/slapos.cookbook-repository
5 ${:parts-directory}/cloudooo-repository
12 http://www.nexedi.org/static/packages/source/slapos.buildout/
13 http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
14 http://dist.repoze.org
15 http://www.nexedi.org/static/packages/source/
16 http://www.owlfish.com/software/wsgiutils/download.html
18 allow-hosts += pybrary.net
21 # Exact version of Zope
22 http://svn.zope.org/repos/main/Zope/tags/2.13.19/versions.cfg
23 ../../stack/slapos.cfg
24 ../../component/logrotate/buildout.cfg
25 ../../component/dcron/buildout.cfg
26 ../../component/file/buildout.cfg
27 ../../component/fonts/buildout.cfg
28 ../../component/ghostscript/buildout.cfg
29 ../../component/git/buildout.cfg
30 ../../component/graphviz/buildout.cfg
31 ../../component/gzip/buildout.cfg
32 ../../component/haproxy/buildout.cfg
33 ../../component/hookbox/buildout.cfg
34 ../../component/librsvg/buildout.cfg
35 ../../component/imagemagick/buildout.cfg
36 ../../component/kumo/buildout.cfg
37 ../../component/libdmtx/buildout.cfg
38 ../../component/libpng/buildout.cfg
39 ../../component/libreoffice-bin/buildout.cfg
40 ../../component/lxml-python/buildout.cfg
41 ../../component/percona-toolkit/buildout.cfg
42 ../../component/mariadb/buildout.cfg
43 ../../component/mysql-python/buildout.cfg
44 ../../component/pil-python/buildout.cfg
45 ../../component/pycrypto-python/buildout.cfg
46 ../../component/pysvn-python/buildout.cfg
47 ../../component/python-2.7/buildout.cfg
48 ../../component/python-ldap-python/buildout.cfg
49 ../../component/rdiff-backup/buildout.cfg
50 ../../component/subversion/buildout.cfg
51 ../../component/tesseract/buildout.cfg
52 ../../component/varnish/buildout.cfg
53 ../../component/w3-validator/buildout.cfg
54 ../../component/w3m/buildout.cfg
55 ../../component/xorg/buildout.cfg
56 ../../component/poppler/buildout.cfg
57 ../../component/xtrabackup/buildout.cfg
58 ../../component/zabbix/buildout.cfg
59 ../../component/sed/buildout.cfg
60 ../../component/coreutils/buildout.cfg
61 ../../component/grep/buildout.cfg
62 ../../component/dash/buildout.cfg
63 ../../component/wget/buildout.cfg
64 ../../component/aspell/buildout.cfg
65 ../../component/cloudooo/buildout.cfg
116 # Cloudooo specific part
119 # get git repositories
123 # fix products path (Zeo needs ERP5 Products to be available for
124 # conflict resolution)
126 # some additional utils
131 slapos.cookbook-repository
133 # Create instance template
137 [slapos.cookbook-repository]
138 recipe = slapos.recipe.build:gitclone
139 repository = http://git.erp5.org/repos/slapos.git
141 git-executable = ${git:location}/bin/git
144 recipe = plone.recipe.command
146 update-command = ${:command}
147 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
149 [template-jinja2-base]
150 recipe = slapos.recipe.template:jinja2
151 template = ${:_profile_base_location_}/${:filename}.in
152 rendered = ${buildout:directory}/${:filename}
153 # XXX: extra-context is needed because we cannot append to a key of an extended
157 key bin_directory buildout:bin-directory
158 key develop_eggs_directory buildout:develop-eggs-directory
159 key eggs_directory buildout:eggs-directory
163 < = template-jinja2-base
164 filename = instance-mariadb.cfg
165 md5sum = 49ae6f1bf97d3755978fe08b8e29fb5a
167 key coreutils_location coreutils:location
168 key dcron_location dcron:location
169 key gettext_location gettext:location
170 key grep_location grep:location
171 key gzip_location gzip:location
172 key logrotate_location logrotate:location
173 key mariadb_location mariadb:location
174 key perl_location perl:location
175 key perl_siteprefix perl:siteprefix
176 key sed_location sed:location
177 key xtrabackup_location xtrabackup:location
180 recipe = slapos.recipe.build:download
181 url = ${:_profile_base_location_}/instance-zope.cfg.in
182 md5sum = 918b972679d5c06082363d41483324a7
186 < = template-jinja2-base
187 filename = instance-kumofs.cfg
188 md5sum = 90a321be12ee977800d590bf941021ef
190 key dash_location dash:location
191 key dcron_location dcron:location
192 key gzip_location gzip:location
193 key kumo_location kumo:location
194 key logrotate_location logrotate:location
196 [template-tidstorage]
197 recipe = slapos.recipe.build:download
198 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
199 md5sum = bd5872108f812c6823a8915670e51c4c
203 recipe = slapos.recipe.build:download
204 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
205 md5sum = 53492e520be57f4c6a9eacd107c8d446
209 recipe = slapos.recipe.build:download
210 url = ${:_profile_base_location_}/zope.conf.in
211 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
215 < = template-jinja2-base
216 # XXX: "template.cfg" is hardcoded in instanciation recipe
217 filename = template.cfg
218 template = ${:_profile_base_location_}/instance.cfg.in
219 md5sum = 2576de300d1a74fd1a99388af9723d42
221 key apache_location apache:location
222 key aspell_location aspell:location
223 key buildout_bin_directory buildout:bin-directory
224 key coreutils_location coreutils:location
225 key curl_location curl:location
226 key dash_location dash:location
227 key dcron_location dcron:location
228 key dmtx_utils_location dmtx-utils:location
229 key erp5_location erp5:location
230 key file_location file:location
231 key fontconfig_location fontconfig:location
232 key fonts_location fonts:location
233 key freetype_location freetype:location
234 key git_location git:location
235 key graphviz_location graphviz:location
236 key grep_location grep:location
237 key gzip_location gzip:location
238 key haproxy_location haproxy:location
239 key imagemagick_location imagemagick:location
240 key libICE_location libICE:location
241 key libSM_location libSM:location
242 key libX11_location libX11:location
243 key libXau_location libXau:location
244 key libXdmcp_location libXdmcp:location
245 key libXext_location libXext:location
246 key libXrender_location libXrender:location
247 key libpng12_location libpng12:location
248 key libreoffice_bin_location libreoffice-bin:location
249 key librsvg_location librsvg:location
250 key libxcb_location libxcb:location
251 key local_bt5_repository local-bt5-repository:list
252 key logrotate_location logrotate:location
253 key mariadb_location mariadb:location
254 key openssl_location openssl:location
255 key poppler_location poppler:location
256 key sed_location sed:location
257 key template_cloudooo template-cloudooo:target
258 key template_erp5_single template-erp5-single:target
259 key template_erp5_cluster template-erp5-cluster:target
260 key template_kumofs template-kumofs:rendered
261 key template_mariadb template-mariadb:rendered
262 key template_memcached template-memcached:rendered
263 key template_tidstorage template-tidstorage:target
264 key template_varnish template-varnish:target
265 key template_zope template-zope:target
266 key template_zope_conf template-zope-conf:target
267 key tesseract_location tesseract:location
268 key varnish_location varnish-3.0:location
269 key w3m_location w3m:location
270 key wget_location wget:location
271 key zlib_location zlib:location
274 < = template-jinja2-base
275 filename = instance-memcached.cfg
276 md5sum = 346c864c1f119360eddb5e163f16d4f3
278 key dash_location dash:location
279 key dcron_location dcron:location
280 key gzip_location gzip:location
281 key kumo_location kumo:location
282 key logrotate_location logrotate:location
284 [template-erp5-single]
285 recipe = slapos.recipe.build:download
286 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
287 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
290 [template-erp5-cluster]
291 recipe = slapos.recipe.build:download
292 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
293 md5sum = eecde68b9a266d8883042540ac077839
297 recipe = slapos.recipe.build:download
298 url = ${:_profile_base_location_}/instance-varnish.cfg.in
299 md5sum = 17aee2df57b121343b1fd65f4b51ce80
304 # <url or path> [...]
306 # Use absolute paths for local repositories, and URLs for non-local otherwise.
308 list = ${local-bt5-repository:list}
310 [local-bt5-repository]
311 # Same as bt5-repository, but only local repository.
312 # Used to generate bt5lists.
313 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
316 recipe = plone.recipe.command
318 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
320 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
321 update-command = ${:command}
323 [erp5_repository_list]
324 repository_id_list = erp5
327 recipe = slapos.recipe.build:gitclone
328 repository = http://git.erp5.org/repos/erp5.git
330 git-executable = ${git:location}/bin/git
333 recipe = plone.recipe.command
335 dir = ${erp5:location}
337 rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
338 update-command = ${:command}
341 # XXX: Workaround for fact ERP5Type is not an distribution and does not
342 # expose entry point for test runner
343 recipe = zc.recipe.egg
346 extra-paths = ${eggs:extra-paths}
348 runUnitTest=runUnitTest:main
349 scripts = runUnitTest
351 import glob, imp, os, sys
352 import App # prevent Testing from importing Zope2.App instead of App
354 Products.__path__[:0] = filter(None,
355 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
356 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
357 os.environ['ZOPE_SCRIPTS'] = ''
358 parts_directory = '''${buildout:parts-directory}'''
359 repository_id_list = \
360 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
361 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
362 [bt5_path, os.path.join(bt5_path, '*')]
363 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
364 for x in repository_id_list)), []))
365 extra_path_list = '''${:extra-paths}'''.split()
367 glob.glob(os.path.join(x, 'tests'))
368 for x in extra_path_list), [])
370 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
371 for x in extra_path_list), [])
373 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
374 for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), [])
377 # XXX: Workaround for fact ERP5Type is not an distribution and does not
378 # expose entry point for test runner
379 recipe = zc.recipe.egg
382 extra-paths = ${eggs:extra-paths}
384 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
385 scripts = runTestSuite
390 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
392 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
393 os.environ['ZOPE_SCRIPTS'] = ''
394 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
395 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
398 recipe = zc.recipe.egg
404 ${python-ldap-python:egg}
406 ${pycrypto-python:egg}
422 pyPdf # should be replaced by PyPDF2, but it is not installable
444 # Zope acquisition patch
447 # Other Zope 2 packages
448 Products.PluggableAuthService
449 Products.PluginRegistry
452 Products.CMFActionIcons
459 Products.GenericSetup
460 five.localsitemanager
463 Products.DCWorkflowGraph
464 Products.MimetypesRegistry
465 Products.ExternalEditor
467 Products.LongRequestLogger
469 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
470 # (for tests like testCookieCrumbler).
473 # Currently forked in our repository
474 # Products.PortalTransforms
475 # Dependency for our fork of PortalTransforms
478 # Needed for parsing .po files from our Localizer subset
481 # parameterizing the version of the generated python interpreter name by the
482 # python section version causes dependency between this egg section and the
483 # installation of python, which we don't want on an instance
484 interpreter = python2.7
491 web_checker_utility = erp5.util.webchecker:web_checker_utility
497 recipe = zc.recipe.egg
503 zodbanalyze=erp5.util.zodbanalyze:main
504 scripts = zodbanalyze
506 [cloudooo-repository]
508 revision = 168786a4c747d4dc4578a6428d39b3b2b3e1eb10
526 recipe = zc.recipe.egg
527 python = ${eggs:python}
531 slapos.toolbox[zodbpack]
539 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
540 Acquisition = 2.13.7nxd001
541 Products.DCWorkflow = 2.2.3nxd002
543 # specify dev version to be sure that an old released version is not used
546 # use newer version than specified in ZTK
549 # Known version with works
552 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
553 Products.PluggableAuthService = 1.9.0
555 # official pysvn egg does not supports --include-dirs and
556 # --library-dirs, so we use our modified version
559 # modified version to support ipv6
560 python-memcached = 1.47-ipv6-1
562 # use newest version of pytz
565 # Patched version which support python 2.6
568 # we are still using this old stable version.
572 setuptools = 0.6c12dev-r88846
574 # use newest version of slapos.cookbook
577 # modified version that works fine for buildout installation
578 SOAPpy = 0.12.0nxd001
580 # CMF 2.3 requries Zope 2.13.
581 Products.CMFCalendar = 2.2.2
582 Products.CMFCore = 2.2.6
583 Products.CMFDefault = 2.2.2
584 Products.CMFTopic = 2.2.1
585 Products.CMFUid = 2.2.1
587 # newer version requires zope.traversing>=4.0.0a2.
588 zope.app.appsetup = 3.16.0
590 # newer version requires zope.i18n>=4.0.0a3
591 zope.app.publication = 3.14.0
593 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
594 # (for tests like testCookieCrumbler).
595 zope.app.testing = 3.8.1
599 GitPython = 0.3.2.RC1
606 Products.CMFActionIcons = 2.1.3
607 Products.DCWorkflowGraph = 0.4.1
608 Products.ExternalEditor = 1.1.0
609 Products.GenericSetup = 1.7.3
610 Products.LongRequestLogger = 1.1.0
611 Products.MimetypesRegistry = 2.0.4
612 Products.PluginRegistry = 1.3
613 Products.TIDStorage = 5.4.8
614 Products.ZSQLMethods = 2.13.4
616 StructuredText = 2.11.1
619 apache-libcloud = 0.12.1
623 cElementTree = 1.0.5-20051216
627 elementtree = 1.2.7-20070827-preview
628 erp5.recipe.cmmiforcei686 = 0.1.3
634 five.localsitemanager = 2.0.5
638 hexagonit.recipe.cmmi = 1.6
650 plone.recipe.command = 1.1
661 rtjp-eventlet = 0.3.2
663 slapos.recipe.build = 0.11.6
664 slapos.recipe.template = 2.4.2
665 slapos.toolbox = 0.33.1
675 xml-marshaller = 0.9.7
676 xupdate-processor = 0.4
677 zope.app.debug = 3.4.1
678 zope.app.dependable = 3.5.1
679 zope.app.form = 4.0.2