Received: from eggs.gnu.org ([2001:4830:134:3::10]:36157) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3Z6-0006zE-B4 for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:57:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bn3Z0-0008MF-GI for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:57:23 -0400 Received: from mx1.redhat.com ([209.132.183.28]:53766) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bn3Z0-0008LK-6C for qemu-devel@nongnu.org; Thu, 22 Sep 2016 08:57:18 -0400 Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 23C9BB040F for ; Thu, 22 Sep 2016 12:57:17 +0000 (UTC) References: <20160913130209.695-1-marcandre.lureau@redhat.com> <20160913130209.695-16-marcandre.lureau@redhat.com> <1592483129.530259.1474488068217.JavaMail.zimbra@redhat.com> <87lgyknx8e.fsf@dusky.pond.sub.org> <1403625254.632846.1474533952810.JavaMail.zimbra@redhat.com> <87h998kwr2.fsf@dusky.pond.sub.org> <1475206056.671817.1474545243081.JavaMail.zimbra@redhat.com> From: Eric Blake Message-ID: <25a1fa55-9dd3-45fb-0953-25beb9f962a3@redhat.com> Date: Thu, 22 Sep 2016 07:57:15 -0500 MIME-Version: 1.0 In-Reply-To: <1475206056.671817.1474545243081.JavaMail.zimbra@redhat.com> Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="rdP1kOd0cOmhblT2jBERaenquMW6qxa0d" Subject: Re: [Qemu-devel] [PATCH 15/30] qmp-commands: move 'query-migrate-parameters' doc to schema List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Markus Armbruster Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel@nongnu.org This is an OpenPGP/MIME signed message (RFC 4880 and 3156) --rdP1kOd0cOmhblT2jBERaenquMW6qxa0d From: Eric Blake To: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , Markus Armbruster Cc: =?UTF-8?Q?Marc-Andr=c3=a9_Lureau?= , qemu-devel@nongnu.org Message-ID: <25a1fa55-9dd3-45fb-0953-25beb9f962a3@redhat.com> Subject: Re: [Qemu-devel] [PATCH 15/30] qmp-commands: move 'query-migrate-parameters' doc to schema References: <20160913130209.695-1-marcandre.lureau@redhat.com> <20160913130209.695-16-marcandre.lureau@redhat.com> <1592483129.530259.1474488068217.JavaMail.zimbra@redhat.com> <87lgyknx8e.fsf@dusky.pond.sub.org> <1403625254.632846.1474533952810.JavaMail.zimbra@redhat.com> <87h998kwr2.fsf@dusky.pond.sub.org> <1475206056.671817.1474545243081.JavaMail.zimbra@redhat.com> In-Reply-To: <1475206056.671817.1474545243081.JavaMail.zimbra@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 09/22/2016 06:54 AM, Marc-Andr=C3=A9 Lureau wrote: >> 3. Merge qmp-commands.txt into QAPI schema comments, step by step >> >> (a) If you only update the QAPI schema comments, qmp-commands.txt >> stays intact throughout this work. >> >> (b) If you delete qmp-commands.txt section as you cover them in the= >> QAPI schema, command documentation regresses temporarily. Tolerabl= e, >> but needs to be explained in commit messages. Your choice. >> >=20 > Generating the documentation before the end of 3(b) will also lead to = temporarily incomplete generated doc, and will conflict with existing qmp= -commands.txt. Incomplete generated doc is fine, if the commit message calls it out that upcoming patches will fix the gaps (after all, that's what 3(b) says to do). And I tend to agree with Markus that reviewing the generator first, rather than after we've burned ourself out looking over lots of individual commands, will give us a chance to make sure the generator is sane (and may even have some minor impacts to HOW we move documentation over, if we end up tweaking the .json files to make the generator easier to manage). > That's why I think the best solution is to go through 3(b) now, collec= t the move in a branch and push it in one go when qmp-commands.txt is emp= ty and the doc is generated. As it is, I already made comments about the first batch where you were mixing in fixes (step 1) with doc motion, but failed to mention it in the commit message. And where Markus has already argued that making those fixes on their own as a prerequisite is a bit cleaner than forcing the review of step 3 to be more complex. --=20 Eric Blake eblake redhat com +1-919-301-3266 Libvirt virtualization library http://libvirt.org --rdP1kOd0cOmhblT2jBERaenquMW6qxa0d Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: Public key at http://people.redhat.com/eblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iQEcBAEBCAAGBQJX49UsAAoJEKeha0olJ0NqcsoH/Rb9YJj8otbUOE3zZlamesKz /UykJDpuK0B/KfTNDI6HD+rLYzQq6r0Z6BXBL1mIJWkWW3Xayy0pxHzgtWRGYyrq hiwppxDKnDoAL6DzUlFWkanaGRPtldnOvZKpXwlXJyEFlHCMj77TJzQQg8u57t3p obcmHD2I4cNhKH/Fv+AXMi7tRICYUdzWzlVYk+eRQKDdUQj53NxUz9yNonmbcVdu +yRM6TvPvYkoU1ieEYWudFA3PjxcpvKn34a0WsKWa6HRysfCxzboH7Wu1fCPgfvt MigEDBt9sXDa5GVioD8itdQnBUIcd3aqVcCNLDqD9YHsFTn8U61jkBQLFTcIc2k= =N5Jm -----END PGP SIGNATURE----- --rdP1kOd0cOmhblT2jBERaenquMW6qxa0d--