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
Rafael Monnerat
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):
def
_load_extensions
(
self
):
__doing__
=
'Loading extensions.'
specs
=
self
[
'buildout'
].
get
(
'extensions'
,
''
).
split
()
if
'buildout-versions'
in
specs
:
raise
zc
.
buildout
.
UserError
(
"The extension 'buildout-versions' is now included in "
"buildout itself.
\
n
"
"Remove the extension from your configuration and "
"look at the `show-picked-versions`
\
n
"
"option in buildout's documentation."
)
for
superceded_extension
in
[
'buildout-versions'
,
'buildout.dumppickedversions'
]:
if
superceded_extension
in
specs
:
msg
=
(
"Buildout now includes 'buildout-versions' (and part "
"of the older 'buildout.dumppickedversions').
\
n
"
"Remove the extension from your configuration and "
"look at the 'show-picked-versions' option in "
"buildout's documentation."
)
raise
zc
.
buildout
.
UserError
(
msg
)
if
specs
:
path
=
[
self
[
'buildout'
][
'develop-eggs-directory'
]]
if
self
.
offline
:
...
...
src/zc/buildout/repeatable.txt
View file @
bfa7af9a
...
...
@@ -421,10 +421,11 @@ configured.
... [foo]
... recipe = spam
... """)
>>> print_(system(buildout), end='') # doctest: +
ELLIPSIS
>>> print_(system(buildout), end='') # doctest: +
NORMALIZE_WHITESPACE
While:
Installing.
Loading extensions.
Error: The extension 'buildout-versions' is now included in buildout itself.
Remove the extension from your configuration and look at the `show-picked-versions`
option in buildout's documentation.
Error: Buildout now includes 'buildout-versions'
(and part of the older 'buildout.dumppickedversions').
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