Skip to contentSkip to conversation

Unhelpful cover letter default for single patch serieses

DISCUSSION Mark Brown 3 participants 4 messages Apr 28, 2023 – Jun 21, 2023

lore
Share & tools
lore

Mark Brown

author
#0 lore raw

Hi,

When creating single patch serieses I repeately get tripped up by the default cover letter behaviour with EDITME. I run

b4 prep <make a new branch>
<make kernel do thing>
b4 prep --auto-to-cc

see that --auto-to-cc did what I wanted then run my CI only to have b4 send fail afterwards due to the EDITMEs left in the cover letter which I never saw since I don't want a cover for a single patch series and --auto-to-cc did the right thing.

Perhaps this could be addressed by both changing the default cover letter to not include the EDITMEs and switching the sense of the check so that b4 send requires some magic string in the cover letter to send a blank cover letter for a multi-patch series (NOCOVER or something)? That'd mean that people would get no cover letter for single patch serieses without any friction but still refuse to send a multi-patch series without a cover letter unless the user actively intervenes.

Thanks,
Mark

#1 lore raw
Quoted 11 lines · Mark Brown

When creating single patch serieses I repeately get tripped up by the default cover letter behaviour with EDITME. I run

b4 prep <make a new branch>
<make kernel do thing>
b4 prep --auto-to-cc

see that --auto-to-cc did what I wanted then run my CI only to have b4 send fail afterwards due to the EDITMEs left in the cover letter which I never saw since I don't want a cover for a single patch series and --auto-to-cc did the right thing.

I'll think of something for single-patch series.

bugbot assign to me

-K

#3 lore raw
In reply to Mark Brown

Konstantin Ryabitsev writes in commit cb93cd00e391622db4a49753f8944ce2b29c5d9d:

ez: make it easier to send single-patch series

Do not force developers to edit the cover letter when information from it is not going to be included into the single-patch message anyway.

(via https://git.kernel.org/pub/scm/utils/b4/b4.git/commit/?id=cb93cd00e391)

Signature · 2 lines
Deet-doot-dot, I am a bot.
Kernel.org Bugzilla (peebz 0.1)