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
19 # Exact version of Zope
20 http://svn.zope.org/repos/main/Zope/tags/2.12.23/versions.cfg
21 ../../stack/slapos.cfg
22 ../../component/logrotate/buildout.cfg
23 ../../component/dcron/buildout.cfg
24 ../../component/file/buildout.cfg
25 ../../component/fonts/buildout.cfg
26 ../../component/ghostscript/buildout.cfg
27 ../../component/git/buildout.cfg
28 ../../component/graphviz/buildout.cfg
29 ../../component/gzip/buildout.cfg
30 ../../component/haproxy/buildout.cfg
31 ../../component/hookbox/buildout.cfg
32 ../../component/librsvg/buildout.cfg
33 ../../component/imagemagick/buildout.cfg
34 ../../component/kumo/buildout.cfg
35 ../../component/libdmtx/buildout.cfg
36 ../../component/libpng/buildout.cfg
37 ../../component/libreoffice-bin/buildout.cfg
38 ../../component/lxml-python/buildout.cfg
39 ../../component/percona-toolkit/buildout.cfg
40 ../../component/mariadb/buildout.cfg
41 ../../component/memcached/buildout.cfg
42 ../../component/mysql-python/buildout.cfg
43 ../../component/pdftk/buildout.cfg
44 ../../component/pil-python/buildout.cfg
45 ../../component/pycrypto-python/buildout.cfg
46 ../../component/pysvn-python/buildout.cfg
47 ../../component/python-2.6/buildout.cfg
48 ../../component/python-2.7/buildout.cfg
49 ../../component/python-ldap-python/buildout.cfg
50 ../../component/rdiff-backup/buildout.cfg
51 ../../component/sphinx/buildout.cfg
52 ../../component/stunnel/buildout.cfg
53 ../../component/subversion/buildout.cfg
54 ../../component/tesseract/buildout.cfg
55 ../../component/varnish/buildout.cfg
56 ../../component/w3-validator/buildout.cfg
57 ../../component/w3m/buildout.cfg
58 ../../component/xorg/buildout.cfg
59 ../../component/poppler/buildout.cfg
60 ../../component/xtrabackup/buildout.cfg
61 ../../component/zabbix/buildout.cfg
62 ../../component/sed/buildout.cfg
63 ../../component/coreutils/buildout.cfg
64 ../../component/grep/buildout.cfg
65 ../../component/dash/buildout.cfg
66 ../../component/wget/buildout.cfg
67 ../../component/aspell/buildout.cfg
68 ../../component/cloudooo/buildout.cfg
123 # Cloudooo specific part
126 # get git repositories
130 # fix products path (Zeo needs ERP5 Products to be available for
131 # conflict resolution)
133 # some additional utils
137 slapos.cookbook-repository
139 slapos.cookbook-python2.6
140 slapos.recipe.template-python2.6
141 # Create instance template
145 [slapos.cookbook-repository]
146 recipe = plone.recipe.command
150 location = ${buildout:parts-directory}/${:_buildout_section_name_}
151 command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
152 update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
155 recipe = plone.recipe.command
157 update-command = ${:command}
158 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
160 [slapos.cookbook-python2.6]
161 recipe = zc.recipe.egg
162 eggs = slapos.cookbook
165 ugly-depend-on = ${slapos.cookbook-repository:command} ${slapos.cookbook-repository:update-command}
167 [slapos.recipe.template-python2.6]
168 recipe = zc.recipe.egg
169 eggs = slapos.recipe.template
173 [template-jinja2-base]
174 recipe = slapos.recipe.template:jinja2
175 template = ${:_profile_base_location_}/${:filename}.in
176 rendered = ${buildout:directory}/${:filename}
177 # XXX: extra-context is needed because we cannot append to a key of an extended
181 key bin_directory buildout:bin-directory
182 key develop_eggs_directory buildout:develop-eggs-directory
183 key eggs_directory buildout:eggs-directory
187 < = template-jinja2-base
188 filename = instance-mariadb.cfg
189 md5sum = 0e8e9bfc8c8a5f1bd71f5c4f346ef68b
191 key coreutils_location coreutils:location
192 key dcron_location dcron:location
193 key gettext_location gettext:location
194 key grep_location grep:location
195 key gzip_location gzip:location
196 key logrotate_location logrotate:location
197 key mariadb_location mariadb:location
198 key perl_location perl:location
199 key perl_siteprefix perl:siteprefix
200 key sed_location sed:location
201 key xtrabackup_location xtrabackup:location
204 < = template-jinja2-base
205 filename = instance-sphinx.cfg
206 md5sum = e3975afd5220f251d6b6e7024a2ca08b
208 key sphinx_location sphinx:location
211 recipe = slapos.recipe.build:download
212 url = ${:_profile_base_location_}/instance-zope.cfg.in
213 md5sum = de2918c8ca604f452a69108f6e31e78d
217 < = template-jinja2-base
218 filename = instance-kumofs.cfg
219 md5sum = 7e13d689de7163dcab64e8df4711cdd7
221 key dash_location dash:location
222 key dcron_location dcron:location
223 key gzip_location gzip:location
224 key kumo_location kumo:location
225 key logrotate_location logrotate:location
227 [template-tidstorage]
228 recipe = slapos.recipe.build:download
229 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
230 md5sum = 520e39f2612a045b42c0ad914bfdc5a9
234 recipe = slapos.recipe.build:download
235 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
236 md5sum = 53492e520be57f4c6a9eacd107c8d446
240 recipe = slapos.recipe.build:download
241 url = ${:_profile_base_location_}/zope.conf.in
242 md5sum = 599e004c18fd3461aa846ae75bd112f2
246 < = template-jinja2-base
247 # XXX: "template.cfg" is hardcoded in instanciation recipe
248 filename = template.cfg
249 template = ${:_profile_base_location_}/instance.cfg.in
250 md5sum = 26d26c357053af48602b5110120bd085
252 key apache_location apache:location
253 key aspell_location aspell:location
254 key buildout_bin_directory buildout:bin-directory
255 key coreutils_location coreutils:location
256 key curl_location curl:location
257 key dash_location dash:location
258 key dcron_location dcron:location
259 key dmtx_utils_location dmtx-utils:location
260 key erp5_location erp5:location
261 key file_location file:location
262 key fontconfig_location fontconfig:location
263 key fonts_location fonts:location
264 key freetype_location freetype:location
265 key git_location git:location
266 key graphviz_location graphviz:location
267 key grep_location grep:location
268 key gzip_location gzip:location
269 key haproxy_location haproxy:location
270 key imagemagick_location imagemagick:location
271 key libICE_location libICE:location
272 key libSM_location libSM:location
273 key libX11_location libX11:location
274 key libXau_location libXau:location
275 key libXdmcp_location libXdmcp:location
276 key libXext_location libXext:location
277 key libXrender_location libXrender:location
278 key libpng12_location libpng12:location
279 key libreoffice_bin_location libreoffice-bin:location
280 key librsvg_location librsvg:location
281 key libxcb_location libxcb:location
282 key local_bt5_repository local-bt5-repository:list
283 key logrotate_location logrotate:location
284 key mariadb_location mariadb:location
285 key openssl_location openssl:location
286 key pdftk_location pdftk:location
287 key poppler_location poppler:location
288 key sed_location sed:location
289 key template_cloudooo template-cloudooo:target
290 key template_erp5_single template-erp5-single:target
291 key template_erp5_cluster template-erp5-cluster:rendered
292 key template_kumofs template-kumofs:rendered
293 key template_mariadb template-mariadb:rendered
294 key template_memcached template-memcached:rendered
295 key template_sphinx template-sphinx:rendered
296 key template_tidstorage template-tidstorage:target
297 key template_varnish template-varnish:target
298 key template_zope template-zope:target
299 key template_zope_conf template-zope-conf:target
300 key tesseract_location tesseract:location
301 key varnish_location varnish-3.0:location
302 key w3m_location w3m:location
303 key wget_location wget:location
304 key zlib_location zlib:location
307 < = template-jinja2-base
308 filename = instance-memcached.cfg
309 md5sum = 44c507e9eec1003beb99f9063b5e09be
311 key dash_location dash:location
312 key memcached_location memcached:location
314 [template-erp5-single]
315 recipe = slapos.recipe.build:download
316 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
317 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
320 [template-erp5-cluster]
321 < = template-jinja2-base
322 filename = instance-erp5-cluster.cfg
323 md5sum = 3051f3fea39d7409c417dcac26027b56
325 key local_bt5_repository local-bt5-repository:list
328 recipe = slapos.recipe.build:download
329 url = ${:_profile_base_location_}/instance-varnish.cfg.in
330 md5sum = 17aee2df57b121343b1fd65f4b51ce80
335 # <url or path> [...]
337 # Use absolute paths for local repositories, and URLs for non-local otherwise.
339 list = ${local-bt5-repository:list}
341 [local-bt5-repository]
342 # Same as bt5-repository, but only local repository.
343 # Used to generate bt5lists.
344 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
347 recipe = plone.recipe.command
349 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
351 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
352 update-command = ${:command}
357 [erp5_repository_list]
358 repository_id_list = erp5
361 # Recipe zerokspot.recipe.git is disabled, as is not possible to change its
362 # environment to use localy delivered git.
363 # plone.recipe.command can do same job, but it is controllable which binary
365 recipe = plone.recipe.command
366 location = ${buildout:parts-directory}/${:_buildout_section_name_}
368 repository = http://git.erp5.org/repos/erp5.git
371 command = "${git:location}/bin/git" clone --quiet --branch "${:branch}" "${:repository}" "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
372 update-command = cd "${:location}" && "${git:location}/bin/git" fetch && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --hard @{upstream} ; fi
375 recipe = plone.recipe.command
378 for DIR in "${erp5:location}"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
379 update-command = ${:command}
382 # XXX: Workaround for fact ERP5Type is not an distribution and does not
383 # expose entry point for test runner
384 recipe = zc.recipe.egg
387 extra-paths = ${eggs:extra-paths}
389 runUnitTest=runUnitTest:main
390 scripts = runUnitTest
392 import glob, imp, os, sys
393 import App # prevent Testing from importing Zope2.App instead of App
395 Products.__path__[:0] = filter(None,
396 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
397 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
398 os.environ['ZOPE_SCRIPTS'] = ''
399 parts_directory = '''${buildout:parts-directory}'''
400 repository_id_list = \
401 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
402 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
403 [bt5_path, os.path.join(bt5_path, '*')]
404 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
405 for x in repository_id_list)), []))
406 extra_path_list = '''${:extra-paths}'''.split()
408 glob.glob(os.path.join(x, 'tests'))
409 for x in extra_path_list), [])
411 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
412 for x in extra_path_list), [])
415 # XXX: Workaround for fact ERP5Type is not an distribution and does not
416 # expose entry point for test runner
417 recipe = zc.recipe.egg
420 extra-paths = ${eggs:extra-paths}
422 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
423 scripts = runTestSuite
428 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
430 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
431 os.environ['ZOPE_SCRIPTS'] = ''
432 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
433 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
436 recipe = zc.recipe.egg
442 ${python-ldap-python:egg}
444 ${pycrypto-python:egg}
476 # Zope 2.12 with patched acquisition
481 # Other Zope 2 packages
482 Products.PluggableAuthService
483 Products.PluginRegistry
486 Products.CMFActionIcons
493 Products.GenericSetup
494 five.localsitemanager
497 Products.DCWorkflowGraph
498 Products.MimetypesRegistry
499 Products.ExternalEditor
502 # Currently forked in our repository
503 # Products.PortalTransforms
504 # Dependency for our fork of PortalTransforms
507 # Needed for parsing .po files from our Localizer subset
510 # parameterizing the version of the generated python interpreter name by the
511 # python section version causes dependency between this egg section and the
512 # installation of python, which we don't want on an instance
513 interpreter = python2.6
520 web_checker_utility = erp5.util.webchecker:web_checker_utility
525 [cloudooo-repository]
527 revision = 4cdfffb3f81a0fdbb7b372d92de664e716f12d4b
545 recipe = zc.recipe.egg
546 python = ${eggs:python}
550 slapos.toolbox[zodbpack]
558 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
559 Acquisition = 2.13.7nxd001
560 Products.DCWorkflow = 2.2.3nxd002
562 # Known version with works
564 # Patched version which support python 2.6
566 # modified version that works fine for buildout installation
567 SOAPpy = 0.12.0nxd001
568 # we are still using this old stable version.
571 # official pysvn egg does not supports --include-dirs and
572 # --library-dirs, so we use our modified version
575 # CMF 2.3 requries Zope 2.13.
576 Products.CMFCalendar = 2.2.2
577 Products.CMFCore = 2.2.5
578 Products.CMFDefault = 2.2.2
579 Products.CMFTopic = 2.2.1
580 Products.CMFUid = 2.2.1
582 # Unpined locally developed egg
587 GitPython = 0.3.2.RC1
593 Products.CMFActionIcons = 2.1.3
594 Products.CMFCalendar = 2.2.2
595 Products.CMFCore = 2.2.5
596 Products.CMFDefault = 2.2.2
597 Products.CMFTopic = 2.2.1
598 Products.CMFUid = 2.2.1
599 Products.DCWorkflowGraph = 0.4.1
600 Products.ExternalEditor = 1.1.0
601 Products.GenericSetup = 1.7.1
602 Products.MimetypesRegistry = 2.0.3
603 Products.PluggableAuthService = 1.7.7
604 Products.PluginRegistry = 1.3b1
605 Products.TIDStorage = 5.4.7.dev-r45842
606 Products.Zelenium = 1.0.3
607 StructuredText = 2.11.1
610 apache-libcloud = 0.9.1
614 buildout-versions = 1.7
615 cElementTree = 1.0.5-20051216
619 elementtree = 1.2.7-20070827-preview
620 erp5.recipe.cmmiforcei686 = 0.1.3
625 five.localsitemanager = 2.0.5
629 hexagonit.recipe.cmmi = 1.5.0
640 plone.recipe.command = 1.1
646 python-memcached = 1.47
648 rtjp-eventlet = 0.3.2
649 setuptools = 0.6c12dev-r88846
651 slapos.recipe.build = 0.7
652 slapos.recipe.template = 2.4
653 slapos.toolbox = 0.23
662 xml-marshaller = 0.9.7
663 xupdate-processor = 0.4