Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kirill Smelkov
slapos
Commits
8097465e
Commit
8097465e
authored
Nov 11, 2020
by
Kirill Smelkov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
.
parent
0ca507ea
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
112 additions
and
51 deletions
+112
-51
component/ZODB/buildout-dev.cfg
component/ZODB/buildout-dev.cfg
+9
-0
component/ZODB/buildout-zodb3.cfg
component/ZODB/buildout-zodb3.cfg
+18
-18
component/ZODB/buildout-zodb5.cfg
component/ZODB/buildout-zodb5.cfg
+13
-13
component/ZODB/buildout.cfg
component/ZODB/buildout.cfg
+68
-16
component/ZODB/test-common.cfg
component/ZODB/test-common.cfg
+4
-4
No files found.
component/ZODB/buildout-dev.cfg
0 → 100644
View file @
8097465e
# unpin ZODB<X> from particular revisions; only branch is left.
[ZODB3-repository]
revision=
[ZODB4-repository]
revision=
[ZODB5-repository]
revision=
component/ZODB/buildout-zodb3.cfg
View file @
8097465e
# SlapOS component for ZODB3.
# https://zodb.org/
[buildout]
extends = buildout.cfg
# XXX drop "4"
[ZODB4]
egg = ZODB3
[ZODB-repository]
#branch = 3.10-nxd
branch = 3.10-nxd--t
#revision= ... XXX pin
[versions]
transaction = 1.1.1
zdaemon = 2.0.7
#
#
SlapOS component for ZODB3.
#
#
https://zodb.org/
#
#
[buildout]
#
extends = buildout.cfg
#
#
#
XXX drop "4"
#
[ZODB4]
#
egg = ZODB3
#
#
[ZODB-repository]
#
#
branch = 3.10-nxd
#
branch = 3.10-nxd--t
#
#
revision= ... XXX pin
#
#
[versions]
#
transaction = 1.1.1
#
zdaemon = 2.0.7
component/ZODB/buildout-zodb5.cfg
View file @
8097465e
# SlapOS component for ZODB5.
# https://zodb.org/
[buildout]
extends = buildout.cfg
[ZODB-repository]
branch = master
#revision = ... XXX pin
[versions]
transaction = 2.4.0
#
#
SlapOS component for ZODB5.
#
#
https://zodb.org/
#
#
[buildout]
#
extends = buildout.cfg
#
#
#
[ZODB-repository]
#
branch = master
#
#
revision = ... XXX pin
#
#
[versions]
#
transaction = 2.4.0
component/ZODB/buildout.cfg
View file @
8097465e
...
...
@@ -8,17 +8,32 @@ extends =
parts = ZODB/scripts
# ZODB allows to use either ZODB3, ZODB4 or ZODB5
XXX
# ZODB allows to use either ZODB3, ZODB4 or ZODB5
# To select which version to use users should do:
#
# [ZODB]
#
egg = ${ZODB<version>:egg}
#
major = <ZODB-version-major>
#
# By default ZODB4 is used.
[ZODB]
recipe = zc.recipe.egg:eggs
egg = ${ZODB4:egg}
eggs = ${:egg}
recipe = slapos.recipe.build
major = 4
init =
zodb_x = 'ZODB'+options['major']
options['depends'] = '$${%s:egg}' % zodb_x
zodb_x = self.buildout[zodb_x]
options['egg'] = zodb_x['egg']
options['location'] = zodb_x['setup']
# XXX more ?
print '\n\nAAA'
print self.buildout['versions']
for _ in zodb_x['egg_versions'].splitlines():
egg, eq, version = _.split() # 'transaction = 1.7.0'
assert eq == '='
self.buildout['versions'][egg] = version
print '\n\nBBB'
print self.buildout['versions']
# ZODB/scripts installs scripts from ZODB
...
...
@@ -27,32 +42,69 @@ recipe = zc.recipe.egg:scripts
eggs = ${ZODB:egg}
[_ZODB-git-repository]
recipe = slapos.recipe.build:gitclone
# XXX kirr -> nexedi
repository = https://lab.nexedi.com/kirr/ZODB.git
#location = ${buildout:parts-directory}/ZODB # XXX
git-executable = ${git:location}/bin/git
# ZODB4: we maintain our own 4-nxd branch with patches for wendelin.core to work
# correctly. The patches are backports of what is in ZODB master (ZODB5) ... XXX
# XXX drop 4
[ZODB4]
recipe = zc.recipe.egg:develop
setup = ${ZODB-repository:location}
setup = ${ZODB
4
-repository:location}
egg = ZODB
[ZODB-repository]
recipe = slapos.recipe.build:gitclone
# XXX kirr -> nexedi
repository = https://lab.nexedi.com/kirr/ZODB.git
location = ${buildout:parts-directory}/ZODB
git-executable = ${git:location}/bin/git
egg_versions =
transaction = 1.7.0
[ZODB-repository]
[ZODB4-repository]
<= _ZODB-git-repository
location = ${buildout:parts-directory}/ZODB4
# XXX 4-nxd--t -> 4-nxd
branch = 4-nxd--t
#revision= ... XXX pin
# ZODB3: similarly to ZODB4 we maintain our 3.10-nxd branch.
[ZODB3]
recipe = zc.recipe.egg:develop
setup = ${ZODB3-repository:location}
egg = ZODB3
egg_versions =
transaction = 1.1.1
zdaemon = 2.0.7
[ZODB3-repository]
<= _ZODB-git-repository
location = ${buildout:parts-directory}/ZODB3
# XXX 3.10-nxd--t -> 3.10-nxd
branch = 3.10-nxd--t
#revision= ... XXX pin
# ZODB5: pristine upstream
[ZODB5]
recipe = zc.recipe.egg:develop
setup = ${ZODB5-repository:location}
egg = ZODB
egg_versions =
transaction = 2.4.0
[ZODB5-repository]
<= _ZODB-git-repository
location = ${buildout:parts-directory}/ZODB5
branch = master
#revision= ... XXX pin
[versions]
# TODO update to 4.7.3 once it is released
Btrees = 4.5.1
persistent = 4.6.4
transaction = 1.7.0
# TODO update to 2.0.0 once NEO stops doing bytes._pack = ...
# https://lab.nexedi.com/nexedi/slapos/commit/27f574bc
zodbpickle = 1.0.4
component/ZODB/test-common.cfg
View file @
8097465e
...
...
@@ -20,9 +20,9 @@ parts =
instance.cfg
# unpin ZODB from particular revision; only ${ZODB:branch} is left.
[ZODB-repository]
revision=
#
#
unpin ZODB from particular revision; only ${ZODB:branch} is left.
#
[ZODB-repository]
#
revision=
# test-dependent eggs that must come through in-tree recipes.
[ZODB]
...
...
@@ -46,7 +46,7 @@ template = inline:
[.nxdtest]
<= jinja2-template
template = inline:
ZODB = '${ZODB
-repository
:location}'
ZODB = '${ZODB:location}'
TestCase('unit', ['python', '-m', 'zope.testrunner', '-uv', '--test-path=src'], cwd=ZODB)
TestCase('functional', ['python', '-m', 'zope.testrunner', '-fv', '--test-path=src'], cwd=ZODB)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment