[SeaBIOS] Re: From header field rewrite used as git author (was: Re: [PATCH] ahci: handle TFES irq correctly)

2023-07-07 Thread Philippe Mathieu-Daudé

On 3/7/23 12:51, Paul Menzel wrote:

Just a note, Mailman’s rewrite of the `From` header field resulted in 
the author information below in the SeaBIOS git archive [1][2]:


 > Niklas Cassel via SeaBIOS 

No idea, how to solve this.


Thanks for reporting. Candidate patch using git .mailmap
(https://git-scm.com/docs/gitmailmap):

https://mail.coreboot.org/hyperkitty/list/seabios@seabios.org/thread/6QUBPHALQ6NURG2553FZJPDUO4I3SRGZ/

It would be better if some pre-apply script checks for this
locally or during merge.

Regards,

Phil.
___
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org


[SeaBIOS] [PATCH] git: Add .mailmap entries for patches claiming list authorship

2023-07-07 Thread Philippe Mathieu-Daudé
Similarly to QEMU's commit 3bd2608db7 ("maint: Add .mailmap
entries for patches claiming list authorship") [*], add a
.mailmap file to SeaBIOS repository to fix the following
commits:

- 1281e34 ("ahci: handle TFES irq correctly")
  authored by Niklas Cassel 

- cd93345 ("virtio-blk: Fix integer overflow for large max IO sizes")
  authored by Lukas Stockner 

- dc776a2 ("nvme: avoid use-after-free in nvme_controller_enable()")
  authored by Jan Beulich 

- 54082c8 ("nvme: fix missing newline on sq full print")
  authored by Alex Martens 

- b0d61ec ("usb-hid: Increase MAX_KBD_EVENT")
  authored by Stefan Ott 

[*] https://gitlab.com/qemu-project/qemu/-/commit/3bd2608db72

Fixes: 1281e34 ("ahci: handle TFES irq correctly")
Fixes: cd93345 ("virtio-blk: Fix integer overflow for large max IO sizes")
Fixes: dc776a2 ("nvme: avoid use-after-free in nvme_controller_enable()")
Fixes: 54082c8 ("nvme: fix missing newline on sq full print")
Fixes: b0d61ec ("usb-hid: Increase MAX_KBD_EVENT")
Reported-by: Paul Menzel 
Signed-off-by: Philippe Mathieu-Daudé 
---
 .mailmap | 23 +++
 1 file changed, 23 insertions(+)
 create mode 100644 .mailmap

diff --git a/.mailmap b/.mailmap
new file mode 100644
index 000..1411ae5
--- /dev/null
+++ b/.mailmap
@@ -0,0 +1,23 @@
+# This mailmap fixes up author names/addresses.
+#
+# If you are adding to this file consider if a similar change needs to
+# be made to contrib/gitdm/aliases. They are not however completely
+# analogous. .mailmap is concerned with fixing up damaged author
+# fields where as the gitdm equivalent is more concerned with making
+# sure multiple email addresses get mapped onto the same author.
+#
+# From man git-shortlog the forms are:
+#
+#  Proper Name 
+#   
+#  Proper Name  
+#  Proper Name  Commit Name 
+#
+
+# Translate a few commits where mailman rewrote the From: line due to
+# strict SPF, although we prefer to avoid adding more entries like that.
+Niklas Cassel  Niklas Cassel via SeaBIOS 

+Lukas Stockner  Lukas Stockner via SeaBIOS 

+Jan Beulich  Jan Beulich via SeaBIOS 
+Alex Martens  Alex Martens via SeaBIOS 

+Stefan Ott  Stefan Ott via SeaBIOS 
-- 
2.38.1

___
SeaBIOS mailing list -- seabios@seabios.org
To unsubscribe send an email to seabios-le...@seabios.org