add local develop
[slapos.git] / software / boinc-client / software.cfg
1 [buildout]
2 # Local development - to be remove
3 develop =
4   ${:parts-directory}/slapos.cookbook-repository
5
6 parts=
7   slapos-cookbook
8   boinc
9   template
10   template-boinc
11   slapos.cookbook-repository
12   check-recipe
13
14 extends =
15   ../../component/boinc-client/buildout.cfg
16   ../../stack/slapos.cfg
17
18 [template]
19 # Default template for boinc-client instance.
20 recipe = slapos.recipe.template
21 url = ${:_profile_base_location_}/instance.cfg
22 md5sum = 79f4d781c1b385d2afa75ae4077c5381
23 output = ${buildout:directory}/template.cfg
24 mode = 0644
25
26 [template-boinc]
27 # Default template for boinc-client instance.
28 recipe = slapos.recipe.template
29 url = ${:_profile_base_location_}/instance-boinc.cfg
30 md5sum = 147fd101d507c4f8eba9694e25571d4e
31 output = ${buildout:directory}/template-boinc.cfg
32 mode = 0644
33
34 # Local development
35 [slapos.cookbook-repository]
36 recipe = plone.recipe.command
37 stop-on-error = true
38 branch = grid-computing
39 revision =
40 location = ${buildout:parts-directory}/${:_buildout_section_name_}
41 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
42 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
43
44 [check-recipe]
45 recipe = plone.recipe.command
46 stop-on-error = true
47 update-command = ${:command}
48 command = grep parts ${buildout:develop-eggs-directory}/slapos.cookbook.egg-link
49
50 [versions]
51 lxml = 2.3.6