10 downloadcache-workaround
16 recipe = slapos.recipe.build:download-unpacked
17 url = Student shall put here url of zipped or tarballed web page or application
18 md5sum = Student may put here md5sum of this file, this is good idea
19 #If provided tarball does not contain top directory, option shall be changed to false
20 strip-top-level-dir = true
23 [application-template]
24 recipe = slapos.recipe.download
25 url = Student shall put here url to template file for application
26 #md5sum = Student may put here md5sum of this file, this is good idea
27 filename = template.in
29 location = ${buildout:parts-directory}/${:_buildout_section_name_}
31 [application-configuration]
32 location = Student shall put here relative path to application top level directory where configuration shall be created
39 # Default template for the instance.
40 recipe = slapos.recipe.template
41 url = ${:_profile_base_location_}/instance.cfg
42 #md5sum = Student shall put md5 of instance.cfg here
43 output = ${buildout:directory}/template.cfg
47 keep-compile-dir = false
50 recipe = zc.recipe.egg
52 ${instance-recipe:egg}
55 # Use SlapOS patched zc.buildout
56 zc.buildout = 1.6.0-dev-SlapOS-003
57 # Generated by buildout-versions
60 buildout-versions = 1.7
61 hexagonit.recipe.cmmi = 1.5.0
63 plone.recipe.command = 1.1
64 slapos.cookbook = 0.38
65 slapos.recipe.build = 0.7
66 slapos.recipe.download = 1.0.dev-r4053
67 slapos.recipe.template = 2.2
74 # slapos.cookbook==0.38
78 # hexagonit.recipe.cmmi==1.5.0
79 hexagonit.recipe.download = 1.5.0
82 # slapos.cookbook==0.38
84 # xml-marshaller==0.9.7
88 # slapos.cookbook==0.38
96 # slapos.cookbook==0.38
98 # zc.buildout==1.6.0-dev-SlapOS-003
99 # zc.recipe.egg==1.3.2
100 setuptools = 0.6c12dev-r88846
103 # slapos.cookbook==0.38
111 # slapos.cookbook==0.38
112 xml-marshaller = 0.9.7
115 # slapos.cookbook==0.38
116 zc.recipe.egg = 1.3.2
120 zope.interface = 3.8.0
122 [downloadcache-workaround]
123 # workaround irritating problem of hexagonit.recipe.cmmi which automatically
124 # creates download cache, which in turn switches builout to "semi-offline" mode
125 recipe = plone.recipe.command
126 # in hexagonit.recipe.cmmi if there is no ${buildout:download-cache} set it resolves
127 # to ${buildout:directory}/downloads but this variable is available late, that's
128 # why it is hardcoded only for required case
129 download-cache = ${buildout:directory}/downloads
130 command = [ -d ${:download-cache} ] && rm -fr ${:download-cache}/* || exit 0
131 update-command = ${:command}