* [Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema
@ 2016-07-22 10:05 Prasanna Kumar Kalever
2016-07-22 14:09 ` Eric Blake
0 siblings, 1 reply; 3+ messages in thread
From: Prasanna Kumar Kalever @ 2016-07-22 10:05 UTC (permalink / raw)
To: qemu-devel; +Cc: armbru, eblake, jcody, Prasanna Kumar Kalever
1. s/@debug-level/@debug_level/
2. rearrange the versioning
3. s/server description/servers description/
Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
---
qapi/block-core.json | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/qapi/block-core.json b/qapi/block-core.json
index f462345..5af0ffd 100644
--- a/qapi/block-core.json
+++ b/qapi/block-core.json
@@ -1689,8 +1689,9 @@
#
# @host_device, @host_cdrom: Since 2.1
#
-# Since: 2.0
# @gluster: Since 2.7
+#
+# Since: 2.0
##
{ 'enum': 'BlockdevDriver',
'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
@@ -2134,9 +2135,9 @@
#
# @path: absolute path to image file in gluster volume
#
-# @server: gluster server description
+# @server: gluster servers description
#
-# @debug-level: #optional libgfapi log level (default '4' which is Error)
+# @debug_level: #optional libgfapi log level (default '4' which is Error)
#
# Since: 2.7
##
--
2.7.4
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema
2016-07-22 10:05 [Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema Prasanna Kumar Kalever
@ 2016-07-22 14:09 ` Eric Blake
2016-07-22 14:35 ` Prasanna Kalever
0 siblings, 1 reply; 3+ messages in thread
From: Eric Blake @ 2016-07-22 14:09 UTC (permalink / raw)
To: Prasanna Kumar Kalever, qemu-devel; +Cc: armbru, jcody
[-- Attachment #1: Type: text/plain, Size: 1693 bytes --]
On 07/22/2016 04:05 AM, Prasanna Kumar Kalever wrote:
> 1. s/@debug-level/@debug_level/
Wrong. I asked for the opposite, s/debug_level/debug-level/
> 2. rearrange the versioning
> 3. s/server description/servers description/
>
> Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
> ---
> qapi/block-core.json | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)
>
> diff --git a/qapi/block-core.json b/qapi/block-core.json
> index f462345..5af0ffd 100644
> --- a/qapi/block-core.json
> +++ b/qapi/block-core.json
> @@ -1689,8 +1689,9 @@
> #
> # @host_device, @host_cdrom: Since 2.1
> #
> -# Since: 2.0
> # @gluster: Since 2.7
I don't think you need a blank line before this one; but that's cosmetic.
> +#
> +# Since: 2.0
> ##
> { 'enum': 'BlockdevDriver',
> 'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
> @@ -2134,9 +2135,9 @@
> #
> # @path: absolute path to image file in gluster volume
> #
> -# @server: gluster server description
> +# @server: gluster servers description
This part is okay.
> #
> -# @debug-level: #optional libgfapi log level (default '4' which is Error)
> +# @debug_level: #optional libgfapi log level (default '4' which is Error)
The docs were right, it was the code below that used _ when it should use -.
Looking forward to v2; this qualifies as a bugfix, so it is safe during
hard freeze (and in fact necessary, so that we aren't baking in the
wrong spelling in introspection and breaking ABI to fix it later on).
--
Eric Blake eblake redhat com +1-919-301-3266
Libvirt virtualization library http://libvirt.org
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 604 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema
2016-07-22 14:09 ` Eric Blake
@ 2016-07-22 14:35 ` Prasanna Kalever
0 siblings, 0 replies; 3+ messages in thread
From: Prasanna Kalever @ 2016-07-22 14:35 UTC (permalink / raw)
To: Eric Blake
Cc: Prasanna Kumar Kalever, qemu-devel, Markus Armbruster,
Jeffrey Cody
On Fri, Jul 22, 2016 at 7:39 PM, Eric Blake <eblake@redhat.com> wrote:
>
> On 07/22/2016 04:05 AM, Prasanna Kumar Kalever wrote:
> > 1. s/@debug-level/@debug_level/
>
> Wrong. I asked for the opposite, s/debug_level/debug-level/
oops!
>
> > 2. rearrange the versioning
> > 3. s/server description/servers description/
> >
> > Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com>
> > ---
> > qapi/block-core.json | 7 ++++---
> > 1 file changed, 4 insertions(+), 3 deletions(-)
> >
> > diff --git a/qapi/block-core.json b/qapi/block-core.json
> > index f462345..5af0ffd 100644
> > --- a/qapi/block-core.json
> > +++ b/qapi/block-core.json
> > @@ -1689,8 +1689,9 @@
> > #
> > # @host_device, @host_cdrom: Since 2.1
> > #
> > -# Since: 2.0
> > # @gluster: Since 2.7
>
> I don't think you need a blank line before this one; but that's cosmetic.
done
>
> > +#
> > +# Since: 2.0
> > ##
> > { 'enum': 'BlockdevDriver',
> > 'data': [ 'archipelago', 'blkdebug', 'blkverify', 'bochs', 'cloop',
> > @@ -2134,9 +2135,9 @@
> > #
> > # @path: absolute path to image file in gluster volume
> > #
> > -# @server: gluster server description
> > +# @server: gluster servers description
>
> This part is okay.
>
> > #
> > -# @debug-level: #optional libgfapi log level (default '4' which is Error)
> > +# @debug_level: #optional libgfapi log level (default '4' which is Error)
>
> The docs were right, it was the code below that used _ when it should use -.
>
> Looking forward to v2; this qualifies as a bugfix, so it is safe during
> hard freeze (and in fact necessary, so that we aren't baking in the
> wrong spelling in introspection and breaking ABI to fix it later on).
Just post v2, please have a glance;
Thanks Eric,
--
Prasanna
>
>
> --
> Eric Blake eblake redhat com +1-919-301-3266
> Libvirt virtualization library http://libvirt.org
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2016-07-22 14:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-07-22 10:05 [Qemu-devel] [PATCH] block/gluster: fix doc in the qapi schema Prasanna Kumar Kalever
2016-07-22 14:09 ` Eric Blake
2016-07-22 14:35 ` Prasanna Kalever
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).