Thursday, January 22, 2009

please downgrade my buildout!

i won't go into discussing particular use cases here — that would perhaps be too weird :) — but let's just say sometimes it can be handy to be able to quickly "downgrade" an existing plone 3.x buildout to plone 2.5. here's a buildout config that does exactly this:
[buildout]
extends = buildout.cfg

[plone]
recipe = plone.recipe.distros
urls = http://launchpad.net/plone/2.5/2.5.5/+download/Plone-2.5.5.tar.gz
nested-packages = Plone-2.5.5.tar.gz
version-suffix-packages = Plone-2.5.5.tar.gz
eggs =

[zope2]
url = http://www.zope.org/Products/Zope/2.9.8/Zope-2.9.8-final.tgz
fake-zope-eggs = true

[instance]
products =
 ${buildout:directory}/products
 ${productdistros:location}
 ${plone:location}

1 comment:

  1. I have found that when building Plone 2.5 instances with buildout, I have to manually remove parts/instance/etc/site.zcml before the instance will start successfully.

    ReplyDelete