From: Vegard Nossum <vegard.nossum@oracle.com>
To: Jonathan Corbet <corbet@lwn.net>,
Thorsten Leemhuis <linux@leemhuis.info>
Cc: regressions@lists.linux.dev, linux-doc@vger.kernel.org,
linux-kernel@vger.kernel.org,
Bagas Sanjaya <bagasdotme@gmail.com>,
Nathan Chancellor <nathan@kernel.org>
Subject: Re: [PATCH v1] docs: new text on bisecting which also covers bug validation
Date: Thu, 29 Feb 2024 22:55:15 +0100 [thread overview]
Message-ID: <99b7841b-62d4-404e-815b-5eb5cccd2580@oracle.com> (raw)
In-Reply-To: <87edd8m7l0.fsf@meer.lwn.net>
On 19/02/2024 23:07, Jonathan Corbet wrote:
> Thorsten Leemhuis <linux@leemhuis.info> writes:
>
>> Replace the existing brief explanation on bisecting regressions with a
>> text describing the whole process from beginning to end -- while also
>> describing how to validate if a problem is still present in mainline.
>> This "two in one" approach is possible, as checking whenever a bug is in
>> mainline is one of the first steps before performing a bisection anyway
>> and thus described. Due to this approach the text also works quite
>> nicely in conjunction with
>> Documentation/admin-guide/reporting-issues.rst, as it covers all typical
>> cases where users will need to build a kernel in exactly the same order.
>
> I have scanned over this; don't really have a time to do a detailed
> reading at this point. My overall impression is: it's useful
> information, but I think we're going to overwhelm people. I worry that
> we're replacing a one-page file on how to do a bisect with a 1,900-line
> beast. I suspect there are whole classes of readers who want the new
> stuff, but there are others who would be better served by something much
> more terse.
My vote would be to include the new document "soon" (perhaps after
Petr's extensive comments have been addressed), but keep the existing,
short document around as well.
Yes, the new doc is long and perhaps overwhelming for some, but nobody
is forced to use it and its existence in the kernel documentation does
not in any way detract from the documentation as a whole.
I also think the best feedback is going to come from users attempting
to use these steps for their real regressions. Once merged, we
(Thorsten or anybody) can attempt to incorporate that feedback in
increments.
Perfect is the enemy of good, etc.
> I'll repeat a question I've asked before: should we create a separate
> "tutorials" book for this kind of material? I honestly think that the
> readers for this kind of documentation will be a different crowd, and
> everybody might be better off if we put the tutorial material in one
> place where they can find it easily.
Something I really like about the current set of books is that they are,
at least in theory, roughly divided by their target audience
(user/admin, userspace dev, kernel dev). I'd worry that "tutorials"
as a top-level book would unintentionally end up as a very mixed bag of
documents that don't have a clearly defined target audience.
So FWIW I don't think "tutorials" should be a new top-level book. Maybe
it could be its own section under admin-guide, but in that case we
should have a clear idea of what other documents we intend to move there
as well.
Also, I'm not sure if this bisection document is really even a tutorial;
I feel like tutorials aim to teach, while this document seems more like
a guide/howto or run-book. Maybe this is splitting hairs, though :-)
Vegard
next prev parent reply other threads:[~2024-02-29 21:55 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-02-16 8:54 [PATCH v1] docs: new text on bisecting which also covers bug validation Thorsten Leemhuis
2024-02-16 19:41 ` Petr Tesařík
2024-02-17 15:46 ` Thorsten Leemhuis
2024-02-19 22:12 ` Jonathan Corbet
2024-02-20 10:28 ` Thorsten Leemhuis
2024-02-19 22:07 ` Jonathan Corbet
2024-02-20 10:26 ` Thorsten Leemhuis
2024-02-29 21:55 ` Vegard Nossum [this message]
2024-03-01 8:45 ` Thorsten Leemhuis
2024-03-03 15:35 ` Jonathan Corbet
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=99b7841b-62d4-404e-815b-5eb5cccd2580@oracle.com \
--to=vegard.nossum@oracle.com \
--cc=bagasdotme@gmail.com \
--cc=corbet@lwn.net \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux@leemhuis.info \
--cc=nathan@kernel.org \
--cc=regressions@lists.linux.dev \
/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