Patchwork gets confused about authorship

Yann E. MORIN yann.morin.1998 at free.fr
Fri May 21 02:15:51 AEST 2021


Hello,

With recently noticed that patchwork gets confused about the authorship
of some patches.

For example:

    https://patchwork.ozlabs.org/project/buildroot/patch/1621475246377.74620@lab126.com/

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/1621475246377.74620@lab126.com/mbox/' |grep -E '^From:'
    From: "Eugen.Hristev--- via buildroot" <buildroot at busybox.net>

In the mbox, there is another header (notice that it's on two lines):

    X-Patchwork-Original-From: "Chan,
     Donald via buildroot" <buildroot at busybox.net>

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": "buildroot at busybox.net"
    }

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\" <buildroot at busybox.net>"

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.  |
'------------------------------^-------^------------------^--------------------'


More information about the Patchwork mailing list