diff --git a/plips/plip-distributions.cfg b/plips/plip-distributions.cfg index a6429e3a57..d2f24859a0 100644 --- a/plips/plip-distributions.cfg +++ b/plips/plip-distributions.cfg @@ -2,21 +2,82 @@ # See https://github.com/plone/Products.CMFPlone/issues/3854 extends = plipbase.cfg +# Add a zeoserver and zeoclients for each main package. +# Each uses a different port number, so you can run +# them side by side and compare. +parts += + zeoserver + zeoclient + zeoclient-cmfplone + zeoclient-distribution + zeoclient-volto + zeoclient-classic auto-checkout += plone.distribution plone.exportimport plone.classicui -# plone.volto + plone.volto + plone.app.testing test-eggs += plone.distribution plone.exportimport +[zeoserver] +recipe = plone.recipe.zeoserver +zeo-address = 127.0.0.1:7600 +zeo-var = ${conf:var} +blob-storage = ${conf:var}/blobstorage +file-storage = ${conf:var}/filestorage/Data.fs +zeo-log = ${conf:var}/zeoserver.log +socket-name = ${conf:var}/zeo.zdsock +pid-file = ${conf:var}/zeoserver.pid + +[zeoclient] +<= instance +http-address = 8080 +zeo-client = true +zeo-address = ${zeoserver:zeo-address} +shared-blob = on +eggs = + Plone + ${buildout:custom-eggs} + +[zeoclient-cmfplone] +<= zeoclient +http-address = 8081 +eggs = + Products.CMFPlone + ${buildout:custom-eggs} + +[zeoclient-distribution] +<= zeoclient +http-address = 8082 +eggs = + plone.distribution + ${buildout:custom-eggs} + +[zeoclient-volto] +<= zeoclient +http-address = 8083 +eggs = + plone.volto + ${buildout:custom-eggs} + +[zeoclient-classic] +<= zeoclient +http-address = 8084 +eggs = + plone.classicui + ${buildout:custom-eggs} + [sources] +Products.CMFPlone = git ${remotes:plone}/Products.CMFPlone.git pushurl=${remotes:plone_push}/Products.CMFPlone.git branch=distributions plone.distribution = git ${remotes:plone}/plone.distribution.git pushurl=${remotes:plone_push}/plone.distribution.git branch=main plone.exportimport = git ${remotes:plone}/plone.exportimport.git pushurl=${remotes:plone_push}/plone.exportimport.git branch=main plone.classicui = git ${remotes:plone}/plone.classicui.git pushurl=${remotes:plone_push}/plone.classicui.git branch=main +plone.app.testing = git ${remotes:plone}/plone.app.testing.git pushurl=${remotes:plone_push}/plone.app.testing.git branch=distributions # plone.volto = git ${remotes:plone}/plone.volto.git pushurl=${remotes:plone_push}/plone.volto.git branch=main [versions] diff --git a/plips/plipbase.cfg b/plips/plipbase.cfg index f003182610..285d3a51ca 100644 --- a/plips/plipbase.cfg +++ b/plips/plipbase.cfg @@ -13,9 +13,12 @@ sources-dir = ../src installed = ../.installed.cfg docs-directory = ../documentation -[instance] +[conf] var = ${buildout:directory}/../var +[instance] +var = ${conf:var} + [environment] BUILDOUT_DIR = ${buildout:directory}/.. # This dir must exist. Recent plone.recipe.zope2instance normally creates it: