software.cfg 1.32 KB
Newer Older
1 2
[buildout]
extends =
Rafael Monnerat's avatar
Rafael Monnerat committed
3
  ../../software/erp5/software.cfg
4
  buildout.hash.cfg
5 6 7 8 9 10 11 12 13 14 15 16 17

parts +=
  vifib-fix-products-paths

[local-bt5-repository]
# Same as bt5-repository, but only local repository.
# Used to generate bt5lists.
list = ${erp5:location}/bt5 ${erp5:location}/product/ERP5/bootstrap ${vifib:location}/master/bt5

[erp5_repository_list]
repository_id_list = erp5 vifib/master

[erp5]
18
branch = erp5-vifib
19 20

[vifib]
21
<= erp5
22
repository = https://lab.nexedi.com/nexedi/slapos.core.git
23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
branch = master

[vifib-fix-products-paths]
recipe = plone.recipe.command
stop-on-error = true
command =
  for DIR in "${vifib:location}/master"; do cd "$DIR"; rm -f Products ; ln -s product Products; touch product/__init__.py; done
update-command = ${:command}

[eggs]
eggs +=
  slapos.core
  
dummy +=
  ${vifib:location}
  
extra-paths +=
  ${vifib:location}/master

42 43 44 45 46 47 48 49 50 51 52 53 54 55 56

### Overwrite recipes to introduce customized changes
[download-base-part]
recipe = slapos.recipe.build:download
url = ${:_profile_base_location_}/${:filename}
mode = 644

[template-erp5]
< = download-base-part
filename = instance-erp5.cfg.in

[template-balancer]
< = download-base-part
filename = instance-balancer.cfg.in

57 58 59
[template-apache-backend-conf]
url = ${:_profile_base_location_}/${:filename}
filename = apache-backend.conf.in 
60

61 62
[versions]
python-memcached = 1.47
63
xml-marshaller = 1.0.2