寻找旧版Plone(3.2之前版本)的buildout.cfg

时间:2015-03-25 17:01:50

标签: plone buildout plone-3.x

是否有可重复的方法来生成较旧的样本Plone扩建?

具体来说,我正在寻找在Plone 3.2之前用于发布的buildout格式,因为它是默认情况下buildout随附的第一个版本。我知道那里有Plone 3.x的扩建,但谷歌搜索没有帮助我。

我试图将使用统一安装程序设置的Plone 3.0.4项目实例转换为buildout。在确定如何处理代码库之前,我想获得一个可重复的,有文档记录的安装过程,并且大多数可访问的示例都适用于Plone 4.x

2 个答案:

答案 0 :(得分:3)

这是由paster create -t plone3_buildout(旧的ZopeSkel< 3.0)制作的基本模板。我使用下面的Plone 3.1版,你必须用你的版本进行调整(......或者简单地说:像我一样使用ZopeSkel)。

[buildout]
parts =
    plone
    zope2
    productdistros
    instance
    zopepy

versions = versions


# Add additional egg download sources here. dist.plone.org contains archives
# of Plone packages.
find-links =
    http://dist.plone.org
    http://dist.plone.org/thirdparty

# Add additional eggs here
# elementtree is required by Plone
eggs =
    elementtree

# Reference any eggs you are developing here, one per line
# e.g.: develop = src/my.package
develop =

[versions]
# Version pins for new style products go here
plone.recipe.zope2instance = 3.6

[plone]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.plone
recipe = plone.recipe.plone==3.1


[zope2]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.zope2install
recipe = plone.recipe.zope2install
fake-zope-eggs = true
url = ${plone:zope2-url}

# Use this section to download additional old-style products.
# List any number of URLs for product tarballs under URLs (separate
# with whitespace, or break over several lines, with subsequent lines
# indented). If any archives contain several products inside a top-level
# directory, list the archive file name (i.e. the last part of the URL,
# normally with a .tar.gz suffix or similar) under 'nested-packages'.
# If any archives extract to a product directory with a version suffix, list
# the archive name under 'version-suffix-packages'.
[productdistros]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.distros
recipe = plone.recipe.distros
urls =
nested-packages =
version-suffix-packages =

[instance]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/plone.recipe.zope2instance
recipe = plone.recipe.zope2instance
zope2-location = ${zope2:location}
user = admin:admin
http-address = 8080
#debug-mode = on
#verbose-security = on
# If you want Zope to know about any additional eggs, list them here.
# This should include any development eggs you listed in develop-eggs above,
# e.g. eggs = Plone my.package
eggs =
    ${buildout:eggs}
    ${plone:eggs}

# If you want to register ZCML slugs for any packages, list them here.
# e.g. zcml = my.package my.other.package
zcml =

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

[zopepy]
# For more information on this step and configuration options see:
# http://pypi.python.org/pypi/zc.recipe.egg
recipe = zc.recipe.egg
eggs = ${instance:eggs}
interpreter = zopepy
extra-paths = ${zope2:location}/lib/python
scripts = zopepy

核心是plone.recipe.plone配方,用于旧Plone。

答案 1 :(得分:1)