Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
slapos.buildout
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.buildout
Commits
b5cb299c
Commit
b5cb299c
authored
Aug 28, 2009
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No commit message
No commit message
parent
016b8a71
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
49 additions
and
0 deletions
+49
-0
CHANGES.txt
CHANGES.txt
+13
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+1
-0
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+35
-0
No files found.
CHANGES.txt
View file @
b5cb299c
Change History
**************
1.4.1 (2009-08-27)
==================
New Feature:
- Added a debug built-in recipe to make writing some tests easier.
Bugs fixed:
- (introduced in 1.4.0) option incrementing (-=) and decrementing (-=)
didn't work in the buildout section.
https://bugs.launchpad.net/zc.buildout/+bug/420463
1.4.0 (2009-08-26)
==================
...
...
src/zc/buildout/buildout.py
View file @
b5cb299c
...
...
@@ -1372,6 +1372,7 @@ def _dists_sig(dists):
return
result
def
_update_section
(
s1
,
s2
):
s2
=
s2
.
copy
()
# avoid mutating the second argument, which is unexpected
for
k
,
v
in
s2
.
items
():
v2
,
note2
=
v
if
k
.
endswith
(
'+'
):
...
...
src/zc/buildout/tests.py
View file @
b5cb299c
...
...
@@ -2557,6 +2557,41 @@ def make_sure_versions_dont_cancel_extras():
['demo', 'demoneeded', 'extraversiondemo']
"""
def
increment_buildout_options
():
r"""
>>> write('b1.cfg', '''
... [buildout]
... parts = p1
... x = 1
... y = a
... b
...
... [p1]
... recipe = zc.buildout:debug
... foo = ${buildout:x} ${buildout:y}
... ''')
>>> write('buildout.cfg', '''
... [buildout]
... extends = b1.cfg
... parts += p2
... x += 2
... y -= a
...
... [p2]
... <= p1
... ''')
>>> print system(buildout),
Installing p1.
foo='1\n2 b'
recipe='zc.buildout:debug'
Installing p2.
foo='1\n2 b'
recipe='zc.buildout:debug'
"""
######################################################################
...
...
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