[Erp5-report] r40479 luke - in /erp5/trunk/buildout: profiles/ software-profiles/

nobody at svn.erp5.org nobody at svn.erp5.org
Mon Nov 22 16:33:04 CET 2010


Author: luke
Date: Mon Nov 22 16:33:03 2010
New Revision: 40479

URL: http://svn.erp5.org?rev=40479&view=rev
Log:
 - 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

Modified:
    erp5/trunk/buildout/profiles/official-2.12.cfg
    erp5/trunk/buildout/software-profiles/erp5-2.12.cfg

Modified: erp5/trunk/buildout/profiles/official-2.12.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/profiles/official-2.12.cfg?rev=40479&r1=40478&r2=40479&view=diff
==============================================================================
--- erp5/trunk/buildout/profiles/official-2.12.cfg [utf8] (original)
+++ erp5/trunk/buildout/profiles/official-2.12.cfg [utf8] Mon Nov 22 16:33:03 2010
@@ -5,6 +5,7 @@ extends =
   ../profiles/versions-2.12.cfg
   ../profiles/software-definition.cfg
   ../software-profiles/apache.cfg
+  ../profiles/common.cfg
   ../software-profiles/erp5-2.12.cfg
   ../software-profiles/file.cfg
   ../software-profiles/garbage-collector.cfg
@@ -29,7 +30,6 @@ extends =
   ../software-profiles/w3m.cfg
   ../software-profiles/varnish.cfg
   ../software-profiles/xpdf.cfg
-  ../profiles/common.cfg
 
 python = software_definition
 versions = versions

Modified: erp5/trunk/buildout/software-profiles/erp5-2.12.cfg
URL: http://svn.erp5.org/erp5/trunk/buildout/software-profiles/erp5-2.12.cfg?rev=40479&r1=40478&r2=40479&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/erp5-2.12.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/erp5-2.12.cfg [utf8] Mon Nov 22 16:33:03 2010
@@ -57,6 +57,19 @@ update-command =
   cd ${:location}/Localizer &&
   ${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]
 recipe = plone.recipe.command
 paths =




More information about the Erp5-report mailing list