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
986da3e3
Commit
986da3e3
authored
May 07, 2007
by
Jim Fulton
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 92891: bootstrap crashes with recipe option in buildout section.
parent
022bab05
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
0 deletions
+38
-0
CHANGES.txt
CHANGES.txt
+4
-0
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+3
-0
src/zc/buildout/tests.py
src/zc/buildout/tests.py
+31
-0
No files found.
CHANGES.txt
View file @
986da3e3
...
...
@@ -20,6 +20,10 @@ Feature Changes
- Improved error reporting by showing which packages require other
packages that can't be found or that cause version conflicts.
Bugs Fixed
----------
- 92891: bootstrap crashes with recipe option in buildout section.
1.0.0b23 (2007-03-19)
=====================
...
...
src/zc/buildout/buildout.py
View file @
986da3e3
...
...
@@ -797,6 +797,9 @@ class Options(UserDict.DictMixin):
if
'${'
in
v
:
self
.
_dosub
(
k
,
v
)
if
self
.
name
==
'buildout'
:
return
# buildout section can never be a part
recipe
=
self
.
get
(
'recipe'
)
if
not
recipe
:
return
...
...
src/zc/buildout/tests.py
View file @
986da3e3
...
...
@@ -796,6 +796,37 @@ bootstrapping.
zc.buildout.easy_install: Generated script /sample-bootstrap/bin/buildout.
"""
def
bug_92891_bootstrap_crashes_with_egg_recipe_in_buildout_section
():
"""
>>> d = tmpdir('sample-bootstrap')
>>> write(d, 'buildout.cfg',
... '''
... [buildout]
... parts = buildout
... eggs-directory = eggs
...
... [buildout]
... recipe = zc.recipe.egg
... eggs = zc.buildout
... scripts = buildout=buildout
... ''')
>>> os.chdir(d)
>>> print system(os.path.join(sample_buildout, 'bin', 'buildout')
... + ' bootstrap'),
buildout: Creating directory /sample-bootstrap/bin
buildout: Creating directory /sample-bootstrap/parts
buildout: Creating directory /sample-bootstrap/eggs
buildout: Creating directory /sample-bootstrap/develop-eggs
zc.buildout.easy_install: Generated script /sample-bootstrap/bin/buildout.
>>> print system(os.path.join('bin', 'buildout')),
buildout: Unused options for buildout: 'scripts' 'eggs'
"""
def
removing_eggs_from_develop_section_causes_egg_link_to_be_removed
():
'''
>>> cd(sample_buildout)
...
...
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