From: "Daniel P. Berrange" <berrange@redhat.com>
To: Markus Armbruster <armbru@redhat.com>
Cc: qemu-devel@nongnu.org, Peter Maydell <peter.maydell@linaro.org>,
Stefan Hajnoczi <stefanha@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/2] docs: document deprecated features in appendix
Date: Fri, 23 Jun 2017 12:49:17 +0100 [thread overview]
Message-ID: <20170623114917.GG28635@redhat.com> (raw)
In-Reply-To: <878tkjexn5.fsf@dusky.pond.sub.org>
On Fri, Jun 23, 2017 at 01:44:46PM +0200, Markus Armbruster wrote:
> "Daniel P. Berrange" <berrange@redhat.com> writes:
>
> > The deprecation of features in QEMU is totally adhoc currently,
> > with no way for the user to get a list of what is deprecated
> > in each release. This adds an appendix to the doc that records
> > when each deprecation[1] was made and provides text explaining
> > what to use instead.
> >
> > Signed-off-by: Daniel P. Berrange <berrange@redhat.com>
> >
> > [1] This is a lie. I've only listed one deprecated feature. Once
> > we agree on the general concept, we can fill out the doc
> > with the rest of the currently deprecated features.
>
> As written, this is PATCH RFC. We can either collect the currently
> deprecated features before we commit (with the footnote dropped), or
> collect later (but then we should note the incompleteness in
> qemu-doc.texi, not just the commit message).
Assuming this patches continues to get favourable feedback, my
intention was/is to grep the source code for the word "deprecated"
to identify the "full" set, and then send a non-RFC version.
> > @@ -3016,6 +3017,19 @@ Run the emulation in single step mode.
> >
> > @include qemu-tech.texi
> >
> > +@node Deprecations
>
> Perhaps "Deprecated Features"? Not a native speaker...
Yep, sounds better.
>
> > +@appendix Deprecations
> > +
> > +The following is a list of features which have been marked as deprecated,
> > +pending removal in a future release:
> > +
> > +@section -drive boot=on|off (since v1.3.0)
> > +Since release 1.3.0, the ``boot=on|off'' parameter to ``-drive''
>
> I wouldn't repeat "since v1.3.0". It'll get old quickly when the list
> grows.
Agreed.
>
> > +is no longer honoured. It is currently ignored, but a future verson
> > +will reject this parameter with an error. Applications should use
> > +the ``bootindex=N'' parameter to set an absolute ordering between
> > +devices instead.
> > +
> > @node License
> > @appendix License
>
> I like it.
>
> Of course, new deprecations need to be in release notes, too. If the
> duplication bothers us, we could perhaps just point to release notes.
> We'd have to check and amend old release notes to make sure all
> currently deprecated features are covered.
Since the texi is fairly well structured, we could extract the list
of new deprecations from this doc in an automated manner, to populate
the per-release notes. I'd like to keep the combined list as the
canonical location of the info, so app developers have a single
place to look to find the list, rather than searching multiple
release notes.
Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
next prev parent reply other threads:[~2017-06-23 11:49 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-06-06 11:05 [Qemu-devel] [PATCH v2 0/2] Document deprecated features & support lifecycle Daniel P. Berrange
2017-06-06 11:05 ` [Qemu-devel] [PATCH v2 1/2] docs: document deprecated features in appendix Daniel P. Berrange
2017-06-23 11:44 ` Markus Armbruster
2017-06-23 11:49 ` Daniel P. Berrange [this message]
2017-06-06 11:05 ` [Qemu-devel] [PATCH v2 2/2] docs: document support lifetime for features Daniel P. Berrange
2017-06-23 11:48 ` Markus Armbruster
2017-06-23 11:54 ` Daniel P. Berrange
2017-06-23 12:19 ` Peter Maydell
2017-06-06 14:04 ` [Qemu-devel] [PATCH v2 0/2] Document deprecated features & support lifecycle Stefan Hajnoczi
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20170623114917.GG28635@redhat.com \
--to=berrange@redhat.com \
--cc=armbru@redhat.com \
--cc=peter.maydell@linaro.org \
--cc=qemu-devel@nongnu.org \
--cc=stefanha@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).