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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Xavier Thompson
slapos.buildout
Commits
bfa7af9a
Commit
bfa7af9a
authored
Feb 21, 2013
by
Reinout van Rees
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Re-instated buildout.dumppickedversions into the warning.
Reworded the warning.
parent
8d86fe3a
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
11 deletions
+14
-11
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+9
-7
src/zc/buildout/repeatable.txt
src/zc/buildout/repeatable.txt
+5
-4
No files found.
src/zc/buildout/buildout.py
View file @
bfa7af9a
...
@@ -953,13 +953,15 @@ class Buildout(DictMixin):
...
@@ -953,13 +953,15 @@ class Buildout(DictMixin):
def
_load_extensions
(
self
):
def
_load_extensions
(
self
):
__doing__
=
'Loading extensions.'
__doing__
=
'Loading extensions.'
specs
=
self
[
'buildout'
].
get
(
'extensions'
,
''
).
split
()
specs
=
self
[
'buildout'
].
get
(
'extensions'
,
''
).
split
()
if
'buildout-versions'
in
specs
:
for
superceded_extension
in
[
'buildout-versions'
,
raise
zc
.
buildout
.
UserError
(
'buildout.dumppickedversions'
]:
"The extension 'buildout-versions' is now included in "
if
superceded_extension
in
specs
:
"buildout itself.
\
n
"
msg
=
(
"Buildout now includes 'buildout-versions' (and part "
"Remove the extension from your configuration and "
"of the older 'buildout.dumppickedversions').
\
n
"
"look at the `show-picked-versions`
\
n
"
"Remove the extension from your configuration and "
"option in buildout's documentation."
)
"look at the 'show-picked-versions' option in "
"buildout's documentation."
)
raise
zc
.
buildout
.
UserError
(
msg
)
if
specs
:
if
specs
:
path
=
[
self
[
'buildout'
][
'develop-eggs-directory'
]]
path
=
[
self
[
'buildout'
][
'develop-eggs-directory'
]]
if
self
.
offline
:
if
self
.
offline
:
...
...
src/zc/buildout/repeatable.txt
View file @
bfa7af9a
...
@@ -421,10 +421,11 @@ configured.
...
@@ -421,10 +421,11 @@ configured.
... [foo]
... [foo]
... recipe = spam
... recipe = spam
... """)
... """)
>>> print_(system(buildout), end='') # doctest: +
ELLIPSIS
>>> print_(system(buildout), end='') # doctest: +
NORMALIZE_WHITESPACE
While:
While:
Installing.
Installing.
Loading extensions.
Loading extensions.
Error: The extension 'buildout-versions' is now included in buildout itself.
Error: Buildout now includes 'buildout-versions'
Remove the extension from your configuration and look at the `show-picked-versions`
(and part of the older 'buildout.dumppickedversions').
option in buildout's documentation.
Remove the extension from your configuration and look at the
'show-picked-versions' option in buildout's documentation.
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