4 ${:parts-directory}/slapos.cookbook-repository
5 ${:parts-directory}/cloudooo-repository
8 http://www.nexedi.org/static/packages/source/slapos.buildout/
9 http://www.nexedi.org/static/packages/source/hexagonit.recipe.download/
10 http://dist.repoze.org
11 http://www.nexedi.org/static/packages/source/
12 http://www.owlfish.com/software/wsgiutils/download.html
14 allow-hosts += pybrary.net
17 # Exact version of Zope
18 https://raw.github.com/zopefoundation/Zope/2.13.22/versions.cfg
19 ../../stack/slapos.cfg
20 ../../component/logrotate/buildout.cfg
21 ../../component/cups/buildout.cfg
22 ../../component/dbus/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/inkscape/buildout.cfg
35 ../../component/kumo/buildout.cfg
36 ../../component/libdmtx/buildout.cfg
37 ../../component/libffi/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/patch/buildout.cfg
45 ../../component/pil-python/buildout.cfg
46 ../../component/pycrypto-python/buildout.cfg
47 ../../component/pysvn-python/buildout.cfg
48 ../../component/python-2.7/buildout.cfg
49 ../../component/python-ldap-python/buildout.cfg
50 ../../component/rdiff-backup/buildout.cfg
51 ../../component/stunnel/buildout.cfg
52 ../../component/subversion/buildout.cfg
53 ../../component/tesseract/buildout.cfg
54 ../../component/varnish/buildout.cfg
55 ../../component/w3-validator/buildout.cfg
56 ../../component/w3m/buildout.cfg
57 ../../component/xorg/buildout.cfg
58 ../../component/poppler/buildout.cfg
59 ../../component/xtrabackup/buildout.cfg
60 ../../component/zabbix/buildout.cfg
61 ../../component/sed/buildout.cfg
62 ../../component/coreutils/buildout.cfg
63 ../../component/grep/buildout.cfg
64 ../../component/dash/buildout.cfg
65 ../../component/wget/buildout.cfg
66 ../../component/aspell/buildout.cfg
67 ../../component/cloudooo/buildout.cfg
68 ../../component/jsl/buildout.cfg
125 # Cloudooo specific part
128 # get git repositories
132 # fix products path (Zeo needs ERP5 Products to be available for
133 # conflict resolution)
135 # some additional utils
140 slapos.cookbook-repository
142 # Create instance template
146 [slapos.cookbook-repository]
147 recipe = slapos.recipe.build:gitclone
148 repository = http://git.erp5.org/repos/slapos.git
150 git-executable = ${git:location}/bin/git
153 recipe = plone.recipe.command
155 update-command = ${:command}
156 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
158 [template-jinja2-base]
159 recipe = slapos.recipe.template:jinja2
160 template = ${:_profile_base_location_}/${:filename}.in
161 rendered = ${buildout:directory}/${:filename}
162 # XXX: extra-context is needed because we cannot append to a key of an extended
166 key bin_directory buildout:bin-directory
167 key develop_eggs_directory buildout:develop-eggs-directory
168 key eggs_directory buildout:eggs-directory
169 key slapos_core_version versions:slapos.core
173 < = template-jinja2-base
174 filename = instance-mariadb.cfg
175 md5sum = 49ae6f1bf97d3755978fe08b8e29fb5a
177 key coreutils_location coreutils:location
178 key dcron_location dcron:location
179 key gettext_location gettext:location
180 key grep_location grep:location
181 key gzip_location gzip:location
182 key logrotate_location logrotate:location
183 key mariadb_location mariadb:location
184 key perl_location perl:location
185 key perl_siteprefix perl:siteprefix
186 key sed_location sed:location
187 key xtrabackup_location xtrabackup:location
190 recipe = slapos.recipe.build:download
191 url = ${:_profile_base_location_}/instance-zope.cfg.in
192 md5sum = 23baedc096a3ee046d2efe2195e19b96
196 < = template-jinja2-base
197 filename = instance-kumofs.cfg
198 md5sum = 40817014a41497bceb696e512436e670
200 key dash_location dash:location
201 key dcron_location dcron:location
202 key gzip_location gzip:location
203 key kumo_location kumo:location
204 key logrotate_location logrotate:location
206 [template-tidstorage]
207 recipe = slapos.recipe.build:download
208 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
209 md5sum = 2bc13fc6cd52c7b8e2b4ddb99a69974b
213 recipe = slapos.recipe.build:download
214 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
215 md5sum = 45f8a58568fb7e6eb832802551f3ff03
219 recipe = slapos.recipe.build:download
220 url = ${:_profile_base_location_}/zope.conf.in
221 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
225 < = template-jinja2-base
226 # XXX: "template.cfg" is hardcoded in instanciation recipe
227 filename = template.cfg
228 template = ${:_profile_base_location_}/instance.cfg.in
229 md5sum = 66a1be44c72437d87a7b609eb58c3526
231 key apache_location apache:location
232 key aspell_location aspell:location
233 key buildout_bin_directory buildout:bin-directory
234 key coreutils_location coreutils:location
235 key cups_location cups:location
236 key curl_location curl:location
237 key dash_location dash:location
238 key dbus_location dbus:location
239 key dbus_glib_location dbus-glib:location
240 key dcron_location dcron:location
241 key dmtx_utils_location dmtx-utils:location
242 key erp5_location erp5:location
243 key file_location file:location
244 key fontconfig_location fontconfig:location
245 key fonts_location fonts:location
246 key freetype_location freetype:location
247 key git_location git:location
248 key graphviz_location graphviz:location
249 key grep_location grep:location
250 key glib_location glib:location
251 key gzip_location gzip:location
252 key haproxy_location haproxy:location
253 key imagemagick_location imagemagick:location
254 key jsl_location jsl:location
255 key libICE_location libICE:location
256 key libSM_location libSM:location
257 key libX11_location libX11:location
258 key libXau_location libXau:location
259 key libXdmcp_location libXdmcp:location
260 key libXext_location libXext:location
261 key libXrender_location libXrender:location
262 key libffi_location libffi:location
263 key libpng12_location libpng12:location
264 key libreoffice_bin_location libreoffice-bin:location
265 key librsvg_location librsvg:location
266 key libxcb_location libxcb:location
267 key local_bt5_repository local-bt5-repository:list
268 key logrotate_location logrotate:location
269 key mariadb_location mariadb:location
270 key openssl_location openssl:location
271 key poppler_location poppler:location
272 key sed_location sed:location
273 key stunnel_location stunnel:location
274 key template_cloudooo template-cloudooo:target
275 key template_erp5_single template-erp5-single:target
276 key template_erp5_cluster template-erp5-cluster:target
277 key template_kumofs template-kumofs:rendered
278 key template_mariadb template-mariadb:rendered
279 key template_memcached template-memcached:rendered
280 key template_tidstorage template-tidstorage:target
281 key template_varnish template-varnish:target
282 key template_zope template-zope:target
283 key template_zope_conf template-zope-conf:target
284 key tesseract_location tesseract:location
285 key varnish_location varnish-3.0:location
286 key w3m_location w3m:location
287 key wget_location wget:location
288 key zlib_location zlib:location
291 < = template-jinja2-base
292 filename = instance-memcached.cfg
293 md5sum = 346c864c1f119360eddb5e163f16d4f3
295 key dash_location dash:location
296 key dcron_location dcron:location
297 key gzip_location gzip:location
298 key kumo_location kumo:location
299 key logrotate_location logrotate:location
301 [template-erp5-single]
302 recipe = slapos.recipe.build:download
303 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
304 md5sum = becf4faf3df849bb90ddf5f587f02d5e
307 [template-erp5-cluster]
308 recipe = slapos.recipe.build:download
309 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
310 md5sum = f4c9cdbbac82232b84db080461bd0007
314 recipe = slapos.recipe.build:download
315 url = ${:_profile_base_location_}/instance-varnish.cfg.in
316 md5sum = ae0465591c22c0cb316c1706965c6b18
321 # <url or path> [...]
323 # Use absolute paths for local repositories, and URLs for non-local otherwise.
325 list = ${local-bt5-repository:list}
327 [local-bt5-repository]
328 # Same as bt5-repository, but only local repository.
329 # Used to generate bt5lists.
330 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
333 recipe = plone.recipe.command
335 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
337 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
338 update-command = ${:command}
340 [erp5_repository_list]
341 repository_id_list = erp5
344 recipe = slapos.recipe.build:gitclone
345 repository = http://git.erp5.org/repos/erp5.git
347 git-executable = ${git:location}/bin/git
350 recipe = plone.recipe.command
352 dir = ${erp5:location}
354 rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
355 update-command = ${:command}
358 # XXX: Workaround for fact ERP5Type is not an distribution and does not
359 # expose entry point for test runner
360 recipe = zc.recipe.egg
362 extra-paths = ${eggs:extra-paths}
364 runUnitTest=runUnitTest:main
365 scripts = runUnitTest
367 import glob, imp, os, sys
368 import App # prevent Testing from importing Zope2.App instead of App
370 Products.__path__[:0] = filter(None,
371 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
372 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
373 os.environ['ZOPE_SCRIPTS'] = ''
374 parts_directory = '''${buildout:parts-directory}'''
375 repository_id_list = \
376 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
377 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
378 [bt5_path, os.path.join(bt5_path, '*')]
379 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
380 for x in repository_id_list)), []))
381 extra_path_list = '''${:extra-paths}'''.split()
383 glob.glob(os.path.join(x, 'tests'))
384 for x in extra_path_list), [])
386 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
387 for x in extra_path_list), [])
389 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
390 for x in os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep)), [])
391 os.environ['PATH'] = '${jsl:location}/bin:%s' % os.environ['PATH']
392 os.environ['CGI_PATH'] = '${w3-validator:location}/httpd/cgi-bin'
395 # XXX: Workaround for fact ERP5Type is not an distribution and does not
396 # expose entry point for test runner
397 recipe = zc.recipe.egg
399 extra-paths = ${eggs:extra-paths}
401 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
402 scripts = runTestSuite
407 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
409 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
410 os.environ['ZOPE_SCRIPTS'] = ''
411 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
412 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
415 recipe = minitage.recipe.egg
420 Acquisition-patches = ${:_profile_base_location_}/../../component/egg-patch/Acquisition/aq_dynamic.patch
421 Acquisition-patch-options = -p1
422 Acquisition-patch-binary = ${patch:location}/bin/patch
423 Products.DCWorkflow-patches = ${:_profile_base_location_}/../../component/egg-patch/Products.DCWorkflow/workflow_method.patch
424 Products.DCWorkflow-patch-options = -p1
425 Products.DCWorkflow-patch-binary = ${patch:location}/bin/patch
426 ZODB3-patches = ${:_profile_base_location_}/../../component/egg-patch/ZODB3-3.10.5.patch
427 ZODB3-patch-options = -p1
428 ZODB3-patch-binary = ${patch:location}/bin/patch
431 recipe = zc.recipe.egg
436 ${python-ldap-python:egg}
438 ${pycrypto-python:egg}
476 # Needed for checking ZODB Components source code
482 # Zope acquisition patch
485 # Other Zope 2 packages
486 Products.PluggableAuthService
487 Products.PluginRegistry
490 Products.CMFActionIcons
497 Products.GenericSetup
498 five.localsitemanager
501 Products.DCWorkflowGraph
502 Products.MimetypesRegistry
503 Products.ExternalEditor
505 Products.LongRequestLogger
507 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
508 # (for tests like testCookieCrumbler).
511 # Currently forked in our repository
512 # Products.PortalTransforms
513 # Dependency for our fork of PortalTransforms
516 # Needed for parsing .po files from our Localizer subset
519 # parameterizing the version of the generated python interpreter name by the
520 # python section version causes dependency between this egg section and the
521 # installation of python, which we don't want on an instance
522 interpreter = ${buildout:python}
529 web_checker_utility = erp5.util.webchecker:web_checker_utility
535 recipe = zc.recipe.egg
540 zodbanalyze=erp5.util.zodbanalyze:main
541 scripts = zodbanalyze
543 [cloudooo-repository]
545 revision = 349b179f820c4a096757dda61f620166329cb00b
548 recipe = zc.recipe.egg
552 slapos.toolbox[zodbpack]
561 Acquisition = 2.13.8-ZMinitagePatched-AqDynamic
562 Products.DCWorkflow = 2.2.4-ZMinitagePatched-WorkflowMethod
563 ZODB3 = 3.10.5-ZMinitagePatched-ZODB33105
565 # specify dev version to be sure that an old released version is not used
568 # use newer version than specified in ZTK
578 # huBarcode 1.0.0 has an issue with importing PIL.
581 # Known version with works
584 # test_UserManagerInterfaces in testERP5Security fails with 1.10.0.
585 Products.PluggableAuthService = 1.9.0
587 # official pysvn egg does not supports --include-dirs and
588 # --library-dirs, so we use our modified version
591 # use newest version of pytz
594 # we are still using this old stable version.
597 # use newest version of slapos.cookbook
600 # we need to define an explicit version of slapos.core that is propagated to instances
603 # modified version that works fine for buildout installation
604 SOAPpy = 0.12.0nxd001
606 # CMF 2.3 is not yet supported.
607 Products.CMFCalendar = 2.2.3
608 Products.CMFCore = 2.2.8
609 Products.CMFDefault = 2.2.4
610 Products.CMFTopic = 2.2.1
611 Products.CMFUid = 2.2.1
613 # newer version requires zope.traversing>=4.0.0a2.
614 zope.app.appsetup = 3.16.0
616 # newer version requires zope.i18n>=4.0.0a3
617 zope.app.publication = 3.14.0
619 # newer version requires zope.testbrowser>=4
620 zope.app.testing = 3.8.1
624 GitPython = 0.3.2.RC1
629 Products.CMFActionIcons = 2.1.3
630 Products.DCWorkflowGraph = 0.4.1
631 Products.ExternalEditor = 1.1.0
632 Products.GenericSetup = 1.7.4
633 Products.LongRequestLogger = 1.1.0
634 Products.MimetypesRegistry = 2.0.5
635 Products.PluginRegistry = 1.3
636 Products.TIDStorage = 5.4.9
637 Products.ZSQLMethods = 2.13.4
641 StructuredText = 2.11.1
644 apache-libcloud = 0.14.1
653 elementtree = 1.2.7-20070827-preview
654 erp5.recipe.cmmiforcei686 = 0.1.3
660 five.localsitemanager = 2.0.5
664 hexagonit.recipe.cmmi = 2.0
673 logilab-common = 0.61.0
676 minitage.core = 2.0.57
677 minitage.paste = 1.4.6
678 minitage.recipe.common = 1.90
679 minitage.recipe.egg = 1.107
684 plone.recipe.command = 1.1
694 python-memcached = 1.53
698 rtjp-eventlet = 0.3.2
700 slapos.recipe.build = 0.12
701 slapos.recipe.cmmi = 0.2
702 slapos.recipe.template = 2.5
703 slapos.toolbox = 0.39
715 xml-marshaller = 0.9.7
716 xupdate-processor = 0.4
717 zope.app.debug = 3.4.1
718 zope.app.dependable = 3.5.1
719 zope.app.form = 4.0.2