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
6
Merge Requests
6
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
slapos.buildout
Commits
385955ac
Commit
385955ac
authored
Mar 07, 2017
by
Godefroid Chapelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
get verbosity from buildout option
parent
dcb3630b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
8 deletions
+11
-8
src/zc/buildout/buildout.py
src/zc/buildout/buildout.py
+1
-4
src/zc/buildout/buildout.txt
src/zc/buildout/buildout.txt
+10
-4
No files found.
src/zc/buildout/buildout.py
View file @
385955ac
...
...
@@ -1234,10 +1234,7 @@ class Buildout(DictMixin):
runsetup
=
setup
# backward compat.
def
annotate
(
self
,
args
=
None
):
if
args
and
"--verbose"
in
args
:
verbose
=
True
else
:
verbose
=
False
verbose
=
self
[
'buildout'
].
get
(
'verbosity'
,
0
)
<>
0
section
=
None
if
args
:
for
arg
in
args
:
...
...
src/zc/buildout/buildout.txt
View file @
385955ac
...
...
@@ -864,9 +864,10 @@ the origin of the value (file name or ``COMPUTED_VALUE``, ``DEFAULT_VALUE``,
DEFAULT_VALUE
<BLANKLINE>
The ``annotate`` has a verbose flag. You get more information about the way values are computed::
The ``annotate`` command is sensitive to the verbosity flag.
You get more information about the way values are computed::
>>> print_(system(buildout+ '
annotate --verbos
e'), end='')
>>> print_(system(buildout+ '
-v annotat
e'), end='')
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
<BLANKLINE>
Annotated sections
...
...
@@ -990,6 +991,11 @@ The ``annotate`` has a verbose flag. You get more information about the way valu
AS DEFAULT_VALUE
SET VALUE = true
<BLANKLINE>
verbosity= 10
<BLANKLINE>
AS COMMAND_LINE_VALUE
SET VALUE = 10
<BLANKLINE>
versions= versions
<BLANKLINE>
AS DEFAULT_VALUE
...
...
@@ -1590,9 +1596,9 @@ operations::
DEFAULT_VALUE
<BLANKLINE>
With
--verbose
::
With
more verbosity
::
>>> print_(system(os.path.join('bin', 'buildout') + '
annotate --verbos
e'), end='')
>>> print_(system(os.path.join('bin', 'buildout') + '
-v annotat
e'), end='')
... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
<BLANKLINE>
Annotated sections
...
...
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