PaReD: a patch relations detector for patchwork

Konstantin Ryabitsev konstantin at linuxfoundation.org
Thu Sep 9 05:24:52 AEST 2021


On Sat, Sep 04, 2021 at 08:04:48AM +0200, Lukas Bulwahn wrote:
> For completeness, I need to mention that Konstantin's b4 tool also
> detects the "latest patch series" when you ask it to pick a patch
> series from a kernel mailing list. I do not know how it determines
> that (and I hope that Konstantin can comment here), but it is probably
> also a simple heuristics searching for similar/same subject lines of
> the patch series cover letter.

There are two ways that b4 supports. One is a simple query for the same author
and subject, which obviously doesn't work if the subject changes.

The second one is support for the Obsoleted-by: follow-up tag, but nobody
really uses it because it's not widely known. I really envisioned it to be
used by automated tooling like the upcoming auto-pull-request-exploder.

I am leaning towards embracing the Change-id: header, which would reference
the message-id of the initial patch/series (or URL like
lore.kernel.org/r/message-id). That would allow us to more effectively track
the series progression.

-K


More information about the Patchwork mailing list