Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos-mynij-dev
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
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Mynij
slapos-mynij-dev
Commits
5dfaff54
Commit
5dfaff54
authored
Aug 07, 2013
by
Julien Muchembled
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
erp5: buildout:extends does not work when given at command line
parent
ed2407ed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
stack/erp5/buildout.cfg
stack/erp5/buildout.cfg
+1
-1
stack/erp5/instance.cfg.in
stack/erp5/instance.cfg.in
+5
-2
No files found.
stack/erp5/buildout.cfg
View file @
5dfaff54
...
@@ -213,7 +213,7 @@ md5sum = 564006953b7d7a12d40a14b6648b32f0
...
@@ -213,7 +213,7 @@ md5sum = 564006953b7d7a12d40a14b6648b32f0
# XXX: "template.cfg" is hardcoded in instanciation recipe
# XXX: "template.cfg" is hardcoded in instanciation recipe
filename = template.cfg
filename = template.cfg
template = ${:_profile_base_location_}/instance.cfg.in
template = ${:_profile_base_location_}/instance.cfg.in
md5sum =
77e6819ded20747d7f2fb6991d568f48
md5sum =
826e50b6465ce9e9a7534c1707e88e82
extra-context =
extra-context =
key mariadb_link_binary template-mariadb:link-binary
key mariadb_link_binary template-mariadb:link-binary
key zope_link_binary template-zope:link-binary
key zope_link_binary template-zope:link-binary
...
...
stack/erp5/instance.cfg.in
View file @
5dfaff54
...
@@ -200,9 +200,12 @@ script =
...
@@ -200,9 +200,12 @@ script =
"buildout:installed=.installed-${:_buildout_section_name_}.cfg")
"buildout:installed=.installed-${:_buildout_section_name_}.cfg")
buildout = self.options[software_type]
buildout = self.options[software_type]
# Options.get (from zc.buildout) should deserialize.
# Options.get (from zc.buildout) should deserialize.
try: override =
self.options["override"][software_type]
try: override =
open(self.options["override"][software_type]).read()
except (KeyError, TypeError): pass
except (KeyError, TypeError): pass
else: args.append("buildout:extends=" + buildout); buildout = override
else: \
override = "[buildout]\nextends = %%s\n\n" %% buildout + override; \
buildout = "${buildout:parts-directory}/${:_buildout_section_name_}.cfg"; \
open(buildout, "w", 0).write(override)
subprocess.check_call(args + ["-oc", buildout])
subprocess.check_call(args + ["-oc", buildout])
update_script = ${:script}
update_script = ${:script}
slapos_promise =
slapos_promise =
...
...
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