Commit aae98f64 authored by Łukasz Nowak's avatar Łukasz Nowak

Fetch and activate z2loganalyser

parent 56045bef
[buildout]
develop =
${:parts-directory}/bef_erp5-recipe
${:parts-directory}/z2loganalyser
extends =
../../component/mysql-tritonn-5.0/buildout.cfg
......@@ -13,13 +14,16 @@ parts +=
bt5-bef
bt5-repository
checkrecipe
checkz2loganalyser
[eggs]
# Just so buildout executes [bef_erp5-recipe] before [eggs], as
# - [eggs] references [bef_erp5-recipe]
# - [instance-recipe] needs [bef_erp5-recipe] to be finished
# - we cannot rely on anything else being executed before [eggs]
bef_dummy = ${bef_erp5-recipe:location}
bef_dummy =
${bef_erp5-recipe:location}
${z2loganalyser:location}
# XXX: Workaround for hack;
# slapos.core is added, as even if it is defined as dependency in bef_erp5-recipe
......@@ -27,6 +31,7 @@ bef_dummy = ${bef_erp5-recipe:location}
# Note: Possibly everything from setup.py shall be done in same way.
eggs +=
slapos.core
z2loganalyser
extra-paths +=
${products-erp5:location}
......@@ -35,16 +40,34 @@ extra-paths +=
url = ${:_profile_base_location_}/instance.cfg
md5sum = 675df24f1d544f1d07e1efe4a3a0fe27
[checkrecipe]
[eggcheck]
recipe = plone.recipe.command
stop-on-error = true
update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
command = grep parts ${buildout:develop-eggs-directory}/${:egg}.egg-link
[checkrecipe]
<= eggcheck
egg = slapos.cookbook
[checkz2loganalyser]
<= eggcheck
egg = z2loganalyser
[instance-recipe]
egg = slapos.cookbook
module = bef_erp5
[z2loganalyser]
recipe = plone.recipe.command
svn_param =--trust-server-cert --no-auth-cache --non-interactive --quiet -r 45666
svn = ${subversion:location}/bin/svn
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
update-command = ${:command}
command =
${:svn} checkout ${:svn_param} https://svn.erp5.org/repos/public/erp5/trunk/utils/z2loganalyser/ ${:location} || exit 1
[bef-svn-template]
# 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
......
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