Dear Interwebs. Say I have a patch on disk that I downloaded using "b4 am <messageid>". Say I have a message that I want to send as a reply. Is there a way to send a reply using the message ID/recipients/subject from the patch? I was hoping git-send-email or b4 had something clever but I can't see it if so.
@ross isn't what --in-reply-to from git-send-email is for? Have never used it but maybe that's what you're after?
@0leil That's *just* the message-id. I want it to populate the recipients and subject too.
@ross haha, misunderstood the use of '/' in your post. @monsieuricon wrote b4 so maybe he has some ideas? Hope he doesn't mind being randomly summoned :)
@0leil lore can do it, because it constructs git-send-email instructions. eg https://lore.kernel.org/openembedded-core/20231016194458.2243201-2-tgamblin@baylibre.com/#R.
@monsieuricon @0leil my goal is to script the sending so no interaction needed.
@monsieuricon @0leil more โsorry but it blew up like thisโ. The reverse of โb4 tyโ :)
@ross If you get something working here, I'd be interested as well.
@trini so my overall goal is a script for โhere is a patchwork series id (or message Id) and some recipes. Bitbake master, apply the patch, bitbake again, buildhistory diff. Mail a reply on success or failure.
@ross Yeah, I could see uses for that here. I assume in your case you're not building the whole world just initial patch-unit testing? Firing off ID + building sandbox + running pytest would catch a good number of things here.
@ross When you have something tinkering-worthy I'd be happy to lend a hand, if you like.
@monsieuricon Feature request: way to specify the thankyou template per *call* of b4 ty. I want to generate the thankyou template with more information and then post it. Basically abusing ty as a "this passed some tests" mail notification.
@monsieuricon Will do. Work around is to set GIT_CONFIG_* in the environment. Feels like generalising ty to a 'mail' command would be a good thing to do.