Commit 045dd111 authored by Łukasz Nowak's avatar Łukasz Nowak

- as infrae.subversion is using svn command under the hood, but there

   is no way to pass --trust-server-cert --non-interactive use
   plone.recipe.command to fetch ERP5 products
 - extends common.cfg early to be able override it


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40479 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 262e9b23
...@@ -5,6 +5,7 @@ extends = ...@@ -5,6 +5,7 @@ extends =
../profiles/versions-2.12.cfg ../profiles/versions-2.12.cfg
../profiles/software-definition.cfg ../profiles/software-definition.cfg
../software-profiles/apache.cfg ../software-profiles/apache.cfg
../profiles/common.cfg
../software-profiles/erp5-2.12.cfg ../software-profiles/erp5-2.12.cfg
../software-profiles/file.cfg ../software-profiles/file.cfg
../software-profiles/garbage-collector.cfg ../software-profiles/garbage-collector.cfg
...@@ -29,7 +30,6 @@ extends = ...@@ -29,7 +30,6 @@ extends =
../software-profiles/w3m.cfg ../software-profiles/w3m.cfg
../software-profiles/varnish.cfg ../software-profiles/varnish.cfg
../software-profiles/xpdf.cfg ../software-profiles/xpdf.cfg
../profiles/common.cfg
python = software_definition python = software_definition
versions = versions versions = versions
......
...@@ -57,6 +57,19 @@ update-command = ...@@ -57,6 +57,19 @@ update-command =
cd ${:location}/Localizer && cd ${:location}/Localizer &&
${git:location}/bin/git pull ${git:location}/bin/git pull
[products-erp5]
# Recipe infrae.subversion is using svn command under the hood, but there is
# no way to pass --trust-server-cert --non-interactive, so in 2.12 falvour
# it is better to evaluate usage of provided subversion command
recipe = plone.recipe.command
svn_param =--trust-server-cert --non-interactive
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
update-command = ${:command}
product_list = AGProjects CMFActivity CMFCategory ERP5 ERP5Catalog ERP5Form ERP5Legacy ERP5OOo ERP5Security ERP5SyncML ERP5Type ERP5Wizard ERP5Workflow Formulator HBTreeFolder2 MailTemplates PortalTransforms TimerService ZMySQLDA ZMySQLDDA ZSQLCatalog
command =
for product in ${:product_list} ; do ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/products/$product ${:location}/$product & done
[products] [products]
recipe = plone.recipe.command recipe = plone.recipe.command
paths = paths =
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment