Commit b75e7f39 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

use slapos.recipe.build:gitclone instead of ad-hoc usage of plone.recipe.command.

also pin 'cloudooo = 1.2.5-dev' to avoid possible usage of old released 1.2.3 egg.
parent cc337b67
...@@ -15,14 +15,10 @@ update-command = ${:command} ...@@ -15,14 +15,10 @@ update-command = ${:command}
command = grep parts ${buildout:develop-eggs-directory}/cloudooo.egg-link command = grep parts ${buildout:develop-eggs-directory}/cloudooo.egg-link
[cloudooo-repository] [cloudooo-repository]
recipe = plone.recipe.command recipe = slapos.recipe.build:gitclone
location = ${buildout:parts-directory}/${:_buildout_section_name_}
stop-on-error = true
repository = http://git.erp5.org/repos/cloudooo.git repository = http://git.erp5.org/repos/cloudooo.git
branch = master branch = master
revision = git-executable = ${git:location}/bin/git
command = ${git:location}/bin/git clone --quiet -b ${:branch} ${:repository} ${:location} && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
update-command = cd ${:location} && ${git:location}/bin/git pull --quiet && if [ -n ${:revision} ]; then cd ${:location} && ${git:location}/bin/git reset --quiet --hard ${:revision} ; fi
[cloudooo] [cloudooo]
recipe = zc.recipe.egg recipe = zc.recipe.egg
...@@ -44,4 +40,4 @@ scripts = ...@@ -44,4 +40,4 @@ scripts =
paster=cloudooo_paster paster=cloudooo_paster
runCloudoooUnitTest runCloudoooUnitTest
runCloudoooTestSuite runCloudoooTestSuite
ugly-depend-on = ${cloudooo-repository:command} ${cloudooo-repository:update-command} ${cloudooo-check-recipe:command} ugly-depend-on = ${cloudooo-repository:recipe} ${cloudooo-repository:repository} ${cloudooo-check-recipe:command}
...@@ -641,3 +641,4 @@ xupdate-processor = 0.4 ...@@ -641,3 +641,4 @@ xupdate-processor = 0.4
mr.developer = 1.21 mr.developer = 1.21
qrcode = 2.4.1 qrcode = 2.4.1
requests = 0.13.2 requests = 0.13.2
cloudooo = 1.2.5-dev
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