Re: [MAINTAINERS SUMMIT] [4/4] Discuss how to better prevent backports of commits that turn out to cause regressions

Sasha Levin
2024-06-13T19:34:34Z

On Thu, Jun 13, 2024 at 04:28:47PM +0200, Andrew Lunn wrote:
>> * One cause of regressions that happen in stable trees (and not in
>> mainline) I've seen quite a few times are backports of commits with
>> Fixes: tags that were part of a patch-series and depend on earlier
>> patches from the series. The stable-team afaics has no easy way to spot
>> this, as there is no way to check "was this change part of a series".
>
>This sounds like a tooling issue. git send-email knows a patch is part
>of a patch series. Maybe it should be adding some sort of cross
>reference between patches in a patch series.

This came up in the past, and we have some machinery to check if a
commit is part of a series or not, but in practice most of the series we
see are actually not ones where patches depend on each other.

--
Thanks,
Sasha