[Erp5-report] r40177 luke - /erp5/trunk/buildout/software-profiles/erp5-2.12.cfg
nobody at svn.erp5.org
nobody at svn.erp5.org
Wed Nov 10 16:05:31 CET 2010
Author: luke
Date: Wed Nov 10 16:05:31 2010
New Revision: 40177
URL: http://svn.erp5.org?rev=40177&view=rev
Log:
- use plone.recipe.command instead of minitage.recipe.fetch to fetch
external resources to being able to use own provided subverion and
git
- use non interactive options for those commands
Modified:
erp5/trunk/buildout/software-profiles/erp5-2.12.cfg
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=40177&r1=40176&r2=40177&view=diff
==============================================================================
--- erp5/trunk/buildout/software-profiles/erp5-2.12.cfg [utf8] (original)
+++ erp5/trunk/buildout/software-profiles/erp5-2.12.cfg [utf8] Wed Nov 10 16:05:31 2010
@@ -5,6 +5,8 @@ extends =
python-2.6.cfg
lxml-python.cfg
python-ldap-python.cfg
+ subversion.cfg
+ git.cfg
parts =
itools-build
@@ -61,10 +63,18 @@ rpath =
${software_definition:software_home}/parts/openssl/lib/
[products-deps]
-recipe = minitage.recipe.fetch
-urls =
- git://git.hforge.org/Localizer.git|git|| Localizer
- https://svn.plone.org/svn/collective/ExtFile/trunk|svn|| ExtFile
+# Recipe minitage.recipe.fetch is disabled, as it uses PATH variable, but it
+# is not possible to change its environment to use localy delivered subversion
+# nor git. plone.recipe.command can do same job, but it is controllable which
+# binary will be used
+recipe = plone.recipe.command
+svn_param =--trust-server-cert --non-interactive
+location = ${buildout:parts-directory}/${:_buildout_section_name_}
+command =
+ ${subversion:location}/bin/svn checkout ${:svn_param} https://svn.plone.org/svn/collective/ExtFile/trunk ${:location}/ExtFile
+ ${git:location}/bin/git clone git://git.hforge.org/Localizer.git ${:location}/Localizer
+stop-on-error = true
+update-command = ${:command}
[products]
recipe = plone.recipe.command
More information about the Erp5-report
mailing list