common.cfg 2.55 KB
Newer Older
1 2 3
# Common configuration for public erp5 code (business templates and products).
# it also defines standard repository sources (find-link) and default structure
# parts (create-directories).
4

5
[buildout]
6
extends = links.cfg
7

8
extensions =
9
  slapos.zcbworkarounds
10 11 12 13 14
  mr.developer
  buildout.dumppickedversions

dump-picked-versions-file = dumped-versions.cfg
overwrite-picked-versions-file = true
15

16 17 18 19 20 21 22
[create-directories]
recipe = plone.recipe.command
command =
  mkdir -p ${buildout:etc-directory}
  mkdir -p ${buildout:var-directory}
  mkdir -p ${buildout:log-directory}
  mkdir -p ${buildout:data-bin-directory}
23
update-command = ${:command}
24

25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
[products-erp5-development]
recipe = infrae.subversion
revision = ${versions:erp5_products_revision}
ignore_verification = true
urls =
    ${products-erp5:base}/ERP5Subversion/${:revision} ERP5Subversion

[products-erp5]
recipe = infrae.subversion
revision = ${versions:erp5_products_revision}
base = https://svn.erp5.org/repos/public/erp5/trunk/products
urls =
    ${:base}/AGProjects/${:revision} AGProjects
    ${:base}/CMFActivity/${:revision} CMFActivity
    ${:base}/CMFCategory/${:revision} CMFCategory
    ${:base}/ERP5/${:revision} ERP5
    ${:base}/ERP5Catalog/${:revision} ERP5Catalog
    ${:base}/ERP5Form/${:revision} ERP5Form
Łukasz Nowak's avatar
Łukasz Nowak committed
43
    ${:base}/ERP5Legacy/${:revision} ERP5Legacy
44 45 46 47
    ${:base}/ERP5OOo/${:revision} ERP5OOo
    ${:base}/ERP5Security/${:revision} ERP5Security
    ${:base}/ERP5SyncML/${:revision} ERP5SyncML
    ${:base}/ERP5Type/${:revision} ERP5Type
Łukasz Nowak's avatar
Łukasz Nowak committed
48
    ${:base}/ERP5Wizard/${:revision} ERP5Wizard
Rafael Monnerat's avatar
Rafael Monnerat committed
49
    ${:base}/ERP5Workflow/${:revision} ERP5Workflow
50
    ${:base}/HBTreeFolder2/${:revision} HBTreeFolder2
51 52 53 54 55 56 57 58
    ${:base}/Formulator/${:revision} Formulator
    ${:base}/MailTemplates/${:revision} MailTemplates
    ${:base}/PortalTransforms/${:revision} PortalTransforms
    ${:base}/TimerService/${:revision} TimerService
    ${:base}/ZMySQLDA/${:revision} ZMySQLDA
    ${:base}/ZMySQLDDA/${:revision} ZMySQLDDA
    ${:base}/ZSQLCatalog/${:revision} ZSQLCatalog

59 60 61 62
[download-software-home-template]
recipe = hexagonit.recipe.download
filename = software-home.inc.in
url = https://svn.erp5.org/repos/public/erp5/trunk/buildout/templates/${:filename}
Łukasz Nowak's avatar
Łukasz Nowak committed
63
download-only = true
64 65 66

[software_home]
recipe = collective.recipe.template
67 68 69 70
# does not work because of bug in collective.recipe.template (input have to be
# available in __init__)
#input = ${download-software-home-template:location}/${download-software-home-template:filename}
input = ${buildout:software_home}/templates/software-home.inc.in
71
output = ${buildout:software_home}/instance-profiles/software-home.inc