Commit 277b39d6 authored by Łukasz Nowak's avatar Łukasz Nowak

- 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


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@40177 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent fa99d6cc
......@@ -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
......
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