On 17/03/2022 10:35, Michael Opdenacker via lists.openembedded.org wrote:
On 3/16/22 21:21, Michael Opdenacker via lists.openembedded.org wrote:
Greetings,
My patches sent to the mailing lists are causing trouble for Richard.
The reason is the "From" field is modified by the mailing list server. It's
From: "Michael Opdenacker via lists.yoctoproject.org"
<michael.opdenacker=bootlin....@lists.yoctoproject.org>
instead of
From : Michael Opdenacker <michael.opdenac...@bootlin.com"
in my original patch.
And then when you try to apply the patch with "git am", you get a
modified committer name. This makes it harder for Richard to apply
patches, otherwise you get commits such as:
https://git.yoctoproject.org/poky/log/?qt=author&q=via
If I understood correctly, the problem happens because we had to enable
DMARC on our domain (bootlin.com), because of a storm of spam messages
claiming to come from our domain. Otherwise our legitimate e-mails were
getting blocked by Google Mail.
Richard recalls that someone once found a workaround for this issue. Did
any of you ever face this?
The problem seems to originate from the behavior of "git am"... As its
manual says (https://git-scm.com/docs/git-am):
"The commit author name is taken from the "From: " line of the message"
... and there seems to be no way to override this behavior.
Patchwork solves this issue by re-rewriting the From header. Cfr. [1] - if you
look at the headers, it has
From: Christian Stewart via buildroot <buildr...@buildroot.org>
but if you open the mbox version (which is what you get with pwclient git-am),
you get
X-Patchwork-Original-From: Christian Stewart via buildroot
<buildr...@buildroot.org>
From: Christian Stewart <christ...@paral.in>
If you want to reproduce that outside of patchwork, you can look at its sources.
Regards,
Arnout
[1]
https://patchwork.ozlabs.org/project/buildroot/patch/20220311041821.3078930-1-christ...@paral.in/
(I would have taken a patch from someone at bootlin, but the accents are
annoying :-)
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#163380):
https://lists.openembedded.org/g/openembedded-core/message/163380
Mute This Topic: https://lists.openembedded.org/mt/89831232/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-