b4 am doesn't fetch all recipient headers
Hi Konstantin,
At some point recently b4 am seems to have stopped including any To/Cc headers in the mailboxes it fetches and I can't see an option to get them back. They're not needed for the am itself but I do find them useful in my workflow, what I'm doing is grabbing the mailbox with am, putting that into CI and then ideally if there's a problem I can just reply to the mail in the saved mailbox to tell the submitter. I can go and get the mail with all the recipients separately but it's an extra step.
Thanks,
Mark
Quoted 10 lines · Mark Brown
Hi Konstantin,
At some point recently b4 am seems to have stopped including any To/Cc headers in the mailboxes it fetches and I can't see an option to get them back. They're not needed for the am itself but I do find them useful in my workflow, what I'm doing is grabbing the mailbox with am, putting that into CI and then ideally if there's a problem I can just reply to the mail in the saved mailbox to tell the submitter. I can go and get the mail with all the recipients separately but it's an extra step.
This change was a side-effect of implementing how we handle trailer updates, but it's also "more correct" because there were situations where you would send info to the wrong people, e.g. when we restored the in-body "From: " committer info:
From: Sender Person <...>
Subject: [PATCH] ...
From: Author Person <...>
Commit subject
Commit message
became:
From: Author Person <...>
Subject: [PATCH] ...
Commit subject
Commit message
So, replying to this message wouldn't actually have gone to the sender, but to the commit author.
Here's one way you can get the full thread:
b4 mbox < am-ready.mbx
This will grab the entire thread that you can then reply to (plus see if anyone's already replied to it). You can even fetch that into your existing maildir:
b4 mbox -fo ~/Mail < am-ready.mbx
I know this adds an extra step, but this is also more proper, I think.
-K
Quoted 10 lines · Konstantin Ryabitsev
Quoted 3 lines · Mark Brown
At some point recently b4 am seems to have stopped including any To/Cc headers in the mailboxes it fetches and I can't see an option to get them back. They're not needed for the am itself but I do find them
This change was a side-effect of implementing how we handle trailer updates, but it's also "more correct" because there were situations where you would send info to the wrong people, e.g. when we restored the in-body "From: " committer info:
...
Quoted 2 lines
So, replying to this message wouldn't actually have gone to the sender, but to the commit author.
Right, that's unfortunate.
Quoted 7 lines
This will grab the entire thread that you can then reply to (plus see if anyone's already replied to it). You can even fetch that into your existing maildir:
b4 mbox -fo ~/Mail < am-ready.mbx
I know this adds an extra step, but this is also more proper, I think.
For this workflow a command that would easily let me fetch a specific message without pulling in the rest of the series would be ideal, b4 mbox doesn't seem to even have an equivalent of b4 am's message ranges.
Quoted 11 lines · Mark Brown
Quoted 7 lines
This will grab the entire thread that you can then reply to (plus see if anyone's already replied to it). You can even fetch that into your existing maildir:
b4 mbox -fo ~/Mail < am-ready.mbx
I know this adds an extra step, but this is also more proper, I think.
For this workflow a command that would easily let me fetch a specific message without pulling in the rest of the series would be ideal, b4 mbox doesn't seem to even have an equivalent of b4 am's message ranges.
What if I give you:
b4 mbox --refetch mbox
This will refetch all the messages in the mbox with their original headers?
-K
Quoted 11 lines · Konstantin Ryabitsev
Quoted 3 lines · Mark Brown
For this workflow a command that would easily let me fetch a specific message without pulling in the rest of the series would be ideal, b4 mbox doesn't seem to even have an equivalent of b4 am's message ranges.
What if I give you:
b4 mbox --refetch mboxThis will refetch all the messages in the mbox with their original headers?
Yes, that'd also work well I think.
Quoted 7 lines · Mark Brown
Quoted 5 lines
What if I give you:
b4 mbox --refetch mboxThis will refetch all the messages in the mbox with their original headers?
Yes, that'd also work well I think.
It's in master if you want to try it out.
-K
Quoted 10 lines · Konstantin Ryabitsev
Quoted 7 lines · Mark Brown
Quoted 5 lines
What if I give you:
b4 mbox --refetch mboxThis will refetch all the messages in the mbox with their original headers?
Yes, that'd also work well I think.
It's in master if you want to try it out.
Works great, thanks!