Hello,
With recently noticed that patchwork gets confused about the authorship
of some patches.
For example:
https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/
has Eugen.Hristev set as author, but it was never sent by then. The
original mail can be had on our mailing list:
http://lists.busybox.net/pipermail/buildroot/2021-May/310923.html
which was sent by Chan, Donald. So, when we apply patches, they get the
wrong authorship...
The mbox link (to use with git-am for example), has the wrong From
header:
$ curl -s
'https://patchwork.ozlabs.org/project/buildroot/patch/[email protected]/mbox/'
|grep -E '^From:'
From: "Eugen.Hristev--- via buildroot" <[email protected]>
In the mbox, there is another header (notice that it's on two lines):
X-Patchwork-Original-From: "Chan,
Donald via buildroot" <[email protected]>
The issue is also present when requesting the info via the REST API:
$ curl -s 'https://patchwork.ozlabs.org/api/1.2/patches/1481336/' |jq
.submitter
{
"id": 80120,
"url": "https://patchwork.ozlabs.org/api/1.2/people/80120/",
"name": "Eugen.Hristev--- via buildroot",
"email": "[email protected]"
}
But the From mail header from the REST API is still correct:
$ curl -s 'https://patchwork.ozlabs.org/api/1.2/patches/1481336/' |jq
.headers.From
"\"Chan, Donald via buildroot\" <[email protected]>"
Any idea? How can we avoid that?
Regards,
Yann E. MORIN.
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 561 099 427 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
_______________________________________________
Patchwork mailing list
[email protected]
https://lists.ozlabs.org/listinfo/patchwork