Patchwork gets confused about authorship

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


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

For example:

has Eugen.Hristev set as author, but it was never sent by then. The
original mail can be had on our mailing list:

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

    $ curl -s '' |grep -E '^From:'
    From: "Eugen.Hristev--- via buildroot" <buildroot at>

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

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

The issue is also present when requesting the info via the REST API:

    $ curl -s '' |jq .submitter
      "id": 80120,
      "url": "",
      "name": "Eugen.Hristev--- via buildroot",
      "email": "buildroot at"

But the From mail header from the REST API is still correct:

    $ curl -s '' |jq .headers.From
    "\"Chan, Donald via buildroot\" <buildroot at>"

Any idea? How can we avoid that?

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  |
| | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |

More information about the Patchwork mailing list