2 # Local development - to be remove
4 ${:parts-directory}/slapos.cookbook-repository
11 slapos.cookbook-repository
15 ../../component/boinc-client/buildout.cfg
16 ../../component/git/buildout.cfg
17 ../../stack/slapos.cfg
20 # Default template for boinc-client instance.
21 recipe = slapos.recipe.template
22 url = ${:_profile_base_location_}/instance.cfg
23 md5sum = 79f4d781c1b385d2afa75ae4077c5381
24 output = ${buildout:directory}/template.cfg
28 # Default template for boinc-client instance.
29 recipe = slapos.recipe.template
30 url = ${:_profile_base_location_}/instance-boinc.cfg
31 md5sum = 359c2dcf415af3428736d31e5a0a30b1
32 output = ${buildout:directory}/template-boinc.cfg
36 [slapos.cookbook-repository]
37 recipe = plone.recipe.command
39 branch = grid-computing
41 location = ${buildout:parts-directory}/${:_buildout_section_name_}
42 command = "${git:location}/bin/git" clone --branch "${:branch}" --quiet http://git.erp5.org/repos/slapos.git "${:location}" && if [ -n "${:revision}" ]; then cd "${:location}" && "${git:location}/bin/git" reset --quiet --hard "${:revision}" ; fi
43 update-command = cd "${:location}" && "${git:location}/bin/git" fetch --quiet && if [ -n "${:revision}" ]; then "${git:location}/bin/git" reset --hard "${:revision}"; else "${git:location}/bin/git" reset --quiet --hard @{upstream} ; fi
46 recipe = plone.recipe.command
48 update-command = ${:command}
49 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link