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.13.19/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.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
118 # Cloudooo specific part
121 # get git repositories
125 # fix products path (Zeo needs ERP5 Products to be available for
126 # conflict resolution)
128 # some additional utils
132 slapos.cookbook-repository
134 # Create instance template
138 [slapos.cookbook-repository]
139 recipe = slapos.recipe.build:gitclone
140 repository = http://git.erp5.org/repos/slapos.git
142 git-executable = ${git:location}/bin/git
145 recipe = plone.recipe.command
147 update-command = ${:command}
148 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
150 [template-jinja2-base]
151 recipe = slapos.recipe.template:jinja2
152 template = ${:_profile_base_location_}/${:filename}.in
153 rendered = ${buildout:directory}/${:filename}
154 # XXX: extra-context is needed because we cannot append to a key of an extended
158 key bin_directory buildout:bin-directory
159 key develop_eggs_directory buildout:develop-eggs-directory
160 key eggs_directory buildout:eggs-directory
164 < = template-jinja2-base
165 filename = instance-mariadb.cfg
166 md5sum = 867bd8e3c4f56db2aab2fcad59f2efd8
168 key coreutils_location coreutils:location
169 key dcron_location dcron:location
170 key gettext_location gettext:location
171 key grep_location grep:location
172 key gzip_location gzip:location
173 key logrotate_location logrotate:location
174 key mariadb_location mariadb:location
175 key perl_location perl:location
176 key perl_siteprefix perl:siteprefix
177 key sed_location sed:location
178 key xtrabackup_location xtrabackup:location
181 recipe = slapos.recipe.build:download
182 url = ${:_profile_base_location_}/instance-zope.cfg.in
183 md5sum = d5981dbe595004c707dd1744be1fe753
187 < = template-jinja2-base
188 filename = instance-kumofs.cfg
189 md5sum = 7e13d689de7163dcab64e8df4711cdd7
191 key dash_location dash:location
192 key dcron_location dcron:location
193 key gzip_location gzip:location
194 key kumo_location kumo:location
195 key logrotate_location logrotate:location
197 [template-tidstorage]
198 recipe = slapos.recipe.build:download
199 url = ${:_profile_base_location_}/instance-tidstorage.cfg.in
200 md5sum = 5e0c5de5bc17947c152de73b329a5a02
204 recipe = slapos.recipe.build:download
205 url = ${:_profile_base_location_}/instance-cloudoo.cfg.in
206 md5sum = 53492e520be57f4c6a9eacd107c8d446
210 recipe = slapos.recipe.build:download
211 url = ${:_profile_base_location_}/zope.conf.in
212 md5sum = bc2154161a1d5baddc4ed4dfaaf94fbe
216 < = template-jinja2-base
217 # XXX: "template.cfg" is hardcoded in instanciation recipe
218 filename = template.cfg
219 template = ${:_profile_base_location_}/instance.cfg.in
220 md5sum = bee6c2b640efee53e3b6e209127cb0bc
222 key apache_location apache:location
223 key aspell_location aspell:location
224 key buildout_bin_directory buildout:bin-directory
225 key coreutils_location coreutils:location
226 key curl_location curl:location
227 key dash_location dash:location
228 key dcron_location dcron:location
229 key dmtx_utils_location dmtx-utils:location
230 key erp5_location erp5:location
231 key file_location file:location
232 key fontconfig_location fontconfig:location
233 key fonts_location fonts:location
234 key freetype_location freetype:location
235 key git_location git:location
236 key graphviz_location graphviz:location
237 key grep_location grep:location
238 key gzip_location gzip:location
239 key haproxy_location haproxy:location
240 key imagemagick_location imagemagick:location
241 key libICE_location libICE:location
242 key libSM_location libSM:location
243 key libX11_location libX11:location
244 key libXau_location libXau:location
245 key libXdmcp_location libXdmcp:location
246 key libXext_location libXext:location
247 key libXrender_location libXrender:location
248 key libpng12_location libpng12:location
249 key libreoffice_bin_location libreoffice-bin:location
250 key librsvg_location librsvg:location
251 key libxcb_location libxcb:location
252 key local_bt5_repository local-bt5-repository:list
253 key logrotate_location logrotate:location
254 key mariadb_location mariadb:location
255 key openssl_location openssl:location
256 key pdftk_location pdftk:location
257 key poppler_location poppler:location
258 key sed_location sed:location
259 key template_cloudooo template-cloudooo:target
260 key template_erp5_single template-erp5-single:target
261 key template_erp5_cluster template-erp5-cluster:target
262 key template_kumofs template-kumofs:rendered
263 key template_mariadb template-mariadb:rendered
264 key template_memcached template-memcached:rendered
265 key template_tidstorage template-tidstorage:target
266 key template_varnish template-varnish:target
267 key template_zope template-zope:target
268 key template_zope_conf template-zope-conf:target
269 key tesseract_location tesseract:location
270 key varnish_location varnish-3.0:location
271 key w3m_location w3m:location
272 key wget_location wget:location
273 key zlib_location zlib:location
276 < = template-jinja2-base
277 filename = instance-memcached.cfg
278 md5sum = 44c507e9eec1003beb99f9063b5e09be
280 key dash_location dash:location
281 key memcached_location memcached:location
283 [template-erp5-single]
284 recipe = slapos.recipe.build:download
285 url = ${:_profile_base_location_}/instance-erp5-single.cfg.in
286 md5sum = 2a4312202a3160f874c4fa3ee9155a1d
289 [template-erp5-cluster]
290 recipe = slapos.recipe.build:download
291 url = ${:_profile_base_location_}/instance-erp5-cluster.cfg.in
292 md5sum = eecde68b9a266d8883042540ac077839
296 recipe = slapos.recipe.build:download
297 url = ${:_profile_base_location_}/instance-varnish.cfg.in
298 md5sum = 17aee2df57b121343b1fd65f4b51ce80
303 # <url or path> [...]
305 # Use absolute paths for local repositories, and URLs for non-local otherwise.
307 list = ${local-bt5-repository:list}
309 [local-bt5-repository]
310 # Same as bt5-repository, but only local repository.
311 # Used to generate bt5lists.
312 list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap
315 recipe = plone.recipe.command
317 genbt5list = ${erp5:location}/product/ERP5/bin/genbt5list
319 ${buildout:executable} ${:genbt5list} ${local-bt5-repository:list}
320 update-command = ${:command}
322 [erp5_repository_list]
323 repository_id_list = erp5
326 recipe = slapos.recipe.build:gitclone
327 repository = http://git.erp5.org/repos/erp5.git
329 git-executable = ${git:location}/bin/git
332 recipe = plone.recipe.command
334 dir = ${erp5:location}
336 rm -f "${:dir}/Products" && ln -s product "${:dir}/Products" && touch "${:dir}/product/__init__.py"
337 update-command = ${:command}
340 # XXX: Workaround for fact ERP5Type is not an distribution and does not
341 # expose entry point for test runner
342 recipe = zc.recipe.egg
345 extra-paths = ${eggs:extra-paths}
347 runUnitTest=runUnitTest:main
348 scripts = runUnitTest
350 import glob, imp, os, sys
351 import App # prevent Testing from importing Zope2.App instead of App
353 Products.__path__[:0] = filter(None,
354 os.getenv('INSERT_PRODUCTS_PATH', '').split(os.pathsep))
355 os.environ['SOFTWARE_HOME'] = os.path.abspath(imp.find_module('Zope2')[1])
356 os.environ['ZOPE_SCRIPTS'] = ''
357 parts_directory = '''${buildout:parts-directory}'''
358 repository_id_list = \
359 '''${erp5_repository_list:repository_id_list}'''.split()[::-1]
360 os.environ['erp5_tests_bt5_path'] = ','.join(sum((
361 [bt5_path, os.path.join(bt5_path, '*')]
362 for bt5_path in (os.path.join(parts_directory, x, 'bt5')
363 for x in repository_id_list)), []))
364 extra_path_list = '''${:extra-paths}'''.split()
366 glob.glob(os.path.join(x, 'tests'))
367 for x in extra_path_list), [])
369 glob.glob(os.path.join(x, 'Products', '*', 'tests'))
370 for x in extra_path_list), [])
373 # XXX: Workaround for fact ERP5Type is not an distribution and does not
374 # expose entry point for test runner
375 recipe = zc.recipe.egg
378 extra-paths = ${eggs:extra-paths}
380 runTestSuite=Products.ERP5Type.tests.runTestSuite:main
381 scripts = runTestSuite
386 [Products.__path__.insert(0, p) for p in reversed(os.environ.get('INSERT_PRODUCTS_PATH', '').split(':')) if p]
388 os.environ['SOFTWARE_HOME'] = os.path.abspath(os.path.dirname(os.path.dirname(Zope2.__file__)))
389 os.environ['ZOPE_SCRIPTS'] = ''
390 repository_id_list = list(reversed('''${erp5_repository_list:repository_id_list}'''.split()))
391 sys.path[0:0] = ['/'.join(['''${buildout:parts-directory}''', x]) for x in repository_id_list]
394 recipe = zc.recipe.egg
400 ${python-ldap-python:egg}
402 ${pycrypto-python:egg}
438 # Zope acquisition patch
441 # Other Zope 2 packages
442 Products.PluggableAuthService
443 Products.PluginRegistry
446 Products.CMFActionIcons
453 Products.GenericSetup
454 five.localsitemanager
457 Products.DCWorkflowGraph
458 Products.MimetypesRegistry
459 Products.ExternalEditor
461 Products.LongRequestLogger
463 # BBB: Temporarily keep zope.app.testing awaiting we use newer version of CMF
464 # (for tests like testCookieCrumbler).
467 # Currently forked in our repository
468 # Products.PortalTransforms
469 # Dependency for our fork of PortalTransforms
472 # Needed for parsing .po files from our Localizer subset
475 # parameterizing the version of the generated python interpreter name by the
476 # python section version causes dependency between this egg section and the
477 # installation of python, which we don't want on an instance
478 interpreter = python2.7
485 web_checker_utility = erp5.util.webchecker:web_checker_utility
490 [cloudooo-repository]
492 revision = 6629837c96ae58e96cac019044ce95d19cb7a659
510 recipe = zc.recipe.egg
511 python = ${eggs:python}
515 slapos.toolbox[zodbpack]
523 # pin Acquisition and Products.DCWorkflow to Nexedi flavour of eggs
524 Acquisition = 2.13.7nxd001
525 Products.DCWorkflow = 2.2.3nxd002
527 # Known version with works
529 # Patched version which support python 2.6
531 # modified version that works fine for buildout installation
532 SOAPpy = 0.12.0nxd001
533 # we are still using this old stable version.
536 # official pysvn egg does not supports --include-dirs and
537 # --library-dirs, so we use our modified version
540 # CMF 2.3 requries Zope 2.13.
541 Products.CMFCalendar = 2.2.2
542 Products.CMFCore = 2.2.6
543 Products.CMFDefault = 2.2.2
544 Products.CMFTopic = 2.2.1
545 Products.CMFUid = 2.2.1
547 # Unpined locally developed egg
552 GitPython = 0.3.2.RC1
558 Products.CMFActionIcons = 2.1.3
559 Products.DCWorkflowGraph = 0.4.1
560 Products.ExternalEditor = 1.1.0
561 Products.GenericSetup = 1.7.2
562 Products.MimetypesRegistry = 2.0.3
563 Products.PluggableAuthService = 1.8.0
564 Products.PluginRegistry = 1.3
565 Products.TIDStorage = 5.4.8
566 Products.Zelenium = 1.0.3
567 StructuredText = 2.11.1
570 apache-libcloud = 0.11.1
574 buildout-versions = 1.7
575 cElementTree = 1.0.5-20051216
579 elementtree = 1.2.7-20070827-preview
580 erp5.recipe.cmmiforcei686 = 0.1.3
585 five.localsitemanager = 2.0.5
589 hexagonit.recipe.cmmi = 1.6
590 hexagonit.recipe.download = 1.6nxd002
601 plone.recipe.command = 1.1
607 python-memcached = 1.47
609 rtjp-eventlet = 0.3.2
610 setuptools = 0.6c12dev-r88846
612 slapos.libnetworkcache = 0.13.2
613 slapos.recipe.build = 0.11.4
614 slapos.recipe.template = 2.4.2
615 slapos.toolbox = 0.29
624 xml-marshaller = 0.9.7
625 xupdate-processor = 0.4
629 zope.app.testing = 3.8.1 ; BBB