linux-doc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Thorsten Leemhuis <linux@leemhuis.info>
To: Jonathan Corbet <corbet@lwn.net>
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>,
	"Petr Tesařík" <petr@tesarici.cz>
Subject: Re: [PATCH v1] docs: new text on bisecting which also covers bug validation
Date: Tue, 20 Feb 2024 11:26:16 +0100	[thread overview]
Message-ID: <2c5a82e1-31f0-4908-80b7-00b3b0257d59@leemhuis.info> (raw)
In-Reply-To: <87edd8m7l0.fsf@meer.lwn.net>

On 19.02.24 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.

No problem, I didn't expect this to be something that would be merged
quickly.

>  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 see you point and partly agree. But at the same time I partly disagree
as well: the gist of the old document is not that different from what
segment 3 of the TLDR in the new document outlines.

The main problem I thus see is that readers will likely be scared by the
wall of text and thus will look for some shorter guide. We could avoid
that by basically replacing the content of
Documentation/admin-guide/bug-bisect.rst with something that is round
about a copy of segment 3 of the TLDR with a short new and better intro
on top of it (e.g. something along the lines of "This assumes that you
(a) already set up everything up to compile your own Linux kernel from
sources found in a local Git clone (b) checked if the regression was
already solved in mainline (c) prepared, validated, and packed to the
side a .config file with a kernel version known to be working. If any of
this is not the case, you likely are better of following the
Documentation/admin-guide/verify-bugs-and-bisect-regressions.rst instead.")

>  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.

As you can see from above I partly agree with that. But the old guide
(or what I suggested doing above!) OTOH is so terse that it's not that
different from what the man-page of 'git bisect' already outlines --
except that it's a kernel specific example. Makes me wonder if that's
really worth it, but I guess it is.

> I'll repeat a question I've asked before: should we create a separate
> "tutorials" book for this kind of material?

To be honest I'm not sure if I can help here, as I'm not totally sure
that I got your intend / long-term goal.

>  I honestly think that the
> readers for this kind of documentation will be a different crowd,

"Different" from what? I mean, my new guide is added to the "user's and
administrator's guide" book and from what I see we live in times where
many users and admins might never have compiled a kernel, but still
occasionally encounter a situation where they want to report a bug
upstream. That guide allows them to do this. And even if they have
occasionally complied a kernel in the past the guide works well for
them, as the TLDR is easy to follow for such readers.

> and
> everybody might be better off if we put the tutorial material in one
> place where they can find it easily.

But do you expect more documents like that? FWIW, I for one don't plan
to write anything more like this (revising the "reporting issues"
document is next on my list). Unless more is forthcoming I guess a new
book is not worth it.

> Regardless, thanks for doing this,

Thx for saying that!

Ciao, Thorsten

  reply	other threads:[~2024-02-20 10:26 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 [this message]
2024-02-29 21:55   ` Vegard Nossum
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=2c5a82e1-31f0-4908-80b7-00b3b0257d59@leemhuis.info \
    --to=linux@leemhuis.info \
    --cc=bagasdotme@gmail.com \
    --cc=corbet@lwn.net \
    --cc=linux-doc@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=nathan@kernel.org \
    --cc=petr@tesarici.cz \
    --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;
as well as URLs for NNTP newsgroup(s).