Commit e3d55223 authored by Jérome Perrin's avatar Jérome Perrin

component/zodbtools: switch to always using a git checkout

This ease the development and version updates
parent 9d2c06af
# SlapOS component for zodbtools development.
[buildout]
extends =
buildout.cfg
../git/buildout.cfg
# override zodbtools to install it from latest git version
[zodbtools]
recipe = zc.recipe.egg:develop
setup = ${zodbtools-repository:location}
[zodbtools-repository]
recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/zodbtools.git
branch = master
location = ${buildout:parts-directory}/zodbtools-dev
git-executable = ${git:location}/bin/git
# unpin zodbtools from versions, so that buildout does not fallback to
# installing non-dev egg if dev one has changed its version.
[versions]
zodbtools =
...@@ -6,13 +6,15 @@ extends = ...@@ -6,13 +6,15 @@ extends =
../pygolang/buildout.cfg ../pygolang/buildout.cfg
../ZODB/buildout.cfg ../ZODB/buildout.cfg
../ZEO/buildout.cfg ../ZEO/buildout.cfg
../git/buildout.cfg
parts = parts =
zodbtools/scripts zodbtools
[zodbtools] [zodbtools]
recipe = zc.recipe.egg:eggs recipe = zc.recipe.egg:develop
setup = ${zodbtools-repository:location}
egg = zodbtools egg = zodbtools
eggs = eggs =
${:egg} ${:egg}
...@@ -29,5 +31,9 @@ recipe = zc.recipe.egg:scripts ...@@ -29,5 +31,9 @@ recipe = zc.recipe.egg:scripts
eggs = ${zodbtools:eggs} eggs = ${zodbtools:eggs}
[versions] [zodbtools-repository]
zodbtools = 0.0.0.dev9 recipe = slapos.recipe.build:gitclone
repository = https://lab.nexedi.com/nexedi/zodbtools.git
location = ${buildout:parts-directory}/zodbtools
git-executable = ${git:location}/bin/git
revision = 0.0.0.dev9-21-gb0fdb5f
...@@ -4,10 +4,9 @@ ...@@ -4,10 +4,9 @@
[buildout] [buildout]
extends = extends =
# test<X>.cfg configures ZODB.major=<X>. # test<X>.cfg configures ZODB.major=<X>.
../../stack/nxdtest.cfg ../../stack/nxdtest.cfg
../pytest/buildout.cfg ../pytest/buildout.cfg
buildout-dev.cfg buildout.cfg
parts = parts =
# for instance # for instance
......
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