Skip to contentSkip to conversation

various gitdm and mailmap updates

PATCH In review Alex Bennée 2 participants 11 messages Aug 28, 2019

lore
Share & tools
lore
#0 lore raw

cover various gitdm and mailmap updates

Hi,

With another release out of the door and KVM Forum approaching it is a good time to clean up our gitdm stats. As usual updates for academic institutions and individual contributors involve a bit of guess work so I have CC'd those affected for their confirmation. There is also a large amount of verbiage added to the mailmap and aliases files to (hopefully) better explain what they are trying to do.

Alex Bennée (3):
.mailmap/aliases: add some further commentary contrib/gitdm: add RT-RK to domain-map contrib/gitdm: add more entries individuals and academics

Markus Armbruster (2):
contrib/gitdm: filetype interface is not in order, fix contrib/gitdm: Add [email protected] to group-map-redhat

Philippe Mathieu-Daudé (3):
mailmap: Reorder by sections
mailmap: Update philmd email address
mailmap: Add many entries to improve 'git shortlog' statistics

 .mailmap                            | 137 ++++++++++++++++++++++++++--
 contrib/gitdm/aliases               |  20 +++-
 contrib/gitdm/domain-map            |   1 +
 contrib/gitdm/filetypes.txt         |   2 +-
 contrib/gitdm/group-map-academics   |   3 +
 contrib/gitdm/group-map-individuals |   7 +-
 contrib/gitdm/group-map-redhat      |   1 +
 7 files changed, 159 insertions(+), 12 deletions(-)
Signature · 1 line
2.20.1
#1 lore raw

PATCH 1/8 contrib/gitdm: filetype interface is not in order, fix

From: Markus Armbruster <[email protected]>

gitm prints the rather cryptic message "interface not found, appended to the last order". This is because filetypes.txt has filetype interface, but neglects to mention it in order. Fix that.

Fixes 2f28271d807edfcdc47a280c06999dd866dcae10

Message-Id: <[email protected]>

---
 contrib/gitdm/filetypes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/gitdm/filetypes.txt +1 -1
index 165b71b3f9a..2d5002fea0c 100644
@@ -34,7 +34,7 @@
 #   If there is an filetype which is not in order but has values, it will
 #   be added at the end.
 #
-order build,tests,code,documentation,devel-doc,blobs
+order build,interface,tests,code,documentation,devel-doc,blobs
 
 #
 #
Signature · 1 line
2.20.1
Reviewed-by on v1 1/8
#2 lore raw

Re: [Qemu-devel] [PATCH v1 1/8] contrib/gitdm: filetype interface is not in order, fix

28.08.2019. 14.09, "Alex Bennée" <[email protected]> је написао/ла:

Quoted 11 lines

From: Markus Armbruster <[email protected]>

gitm prints the rather cryptic message "interface not found, appended to the last order". This is because filetypes.txt has filetype interface, but neglects to mention it in order. Fix that.

Fixes 2f28271d807edfcdc47a280c06999dd866dcae10

Message-Id: <[email protected]>
---

Quoted 20 lines
 contrib/gitdm/filetypes.txt | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
contrib/gitdm/filetypes.txt +1 -2
index 165b71b3f9a..2d5002fea0c 100644
@@ -34,7 +34,7 @@
 #   If there is an filetype which is not in order but has values, it will
 #   be added at the end.
 #
-order build,tests,code,documentation,devel-doc,blobs
+order build,interface,tests,code,documentation,devel-doc,blobs
 
 #
 #
--

2.20.1

#3 lore raw

PATCH 2/8 contrib/gitdm: Add [email protected] to group-map-redhat

In reply to Alex Bennée

From: Markus Armbruster <[email protected]>

Just to get the (few) accidental uses of my private e-mail address attributed correctly.

Message-Id: <[email protected]>

---
 contrib/gitdm/group-map-redhat | 1 +
 1 file changed, 1 insertion(+)
contrib/gitdm/group-map-redhat +1 -0
index 6d05c6b54fd..d15db2d35e1 100644
@@ -5,3 +5,4 @@
 [email protected]
 [email protected]
 [email protected]
[email protected]
Signature · 1 line
2.20.1
#4 lore raw

PATCH 3/8 mailmap: Reorder by sections

In reply to Alex Bennée

From: Philippe Mathieu-Daudé <[email protected]>

Our mailmap currently has 4 sections somehow documented. Reorder few entries not related to "addresses from the original git import" into the 3rd section, and add a comment to describe it.

Message-Id: <[email protected]>

---
 .mailmap | 17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)
.mailmap +9 -8
index b8e08297c90..e1fdc88d25d 100644
@@ -4,20 +4,12 @@
 # into proper addresses so that they are counted properly by git shortlog.
 Andrzej Zaborowski <[email protected]> balrog <balrog@c046a42c-6fe2-441c-8c8c-71466251a162>
 Anthony Liguori <[email protected]> aliguori <aliguori@c046a42c-6fe2-441c-8c8c-71466251a162>
-Anthony Liguori <[email protected]> Anthony Liguori <[email protected]>
 Aurelien Jarno <[email protected]> aurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
 Blue Swirl <[email protected]> blueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>
 Edgar E. Iglesias <[email protected]> edgar_igl <edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162>
 Fabrice Bellard <[email protected]> bellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>
-James Hogan <[email protected]> <[email protected]>
 Jocelyn Mayer <[email protected]> j_mayer <j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162>
 Paul Brook <[email protected]> pbrook <pbrook@c046a42c-6fe2-441c-8c8c-71466251a162>
-Yongbok Kim <[email protected]> <[email protected]>
-Aleksandar Markovic <[email protected]> <[email protected]>
-Aleksandar Markovic <[email protected]> <[email protected]>
-Paul Burton <[email protected]> <[email protected]>
-Paul Burton <[email protected]> <[email protected]>
-Paul Burton <[email protected]> <[email protected]>
 Thiemo Seufer <[email protected]> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
 malc <[email protected]> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
 
@@ -32,6 +24,15 @@ Ian McKellar <[email protected]> Ian McKellar via Qemu-devel <qemu-devel@nongnu
 Julia Suvorova <[email protected]> Julia Suvorova via Qemu-devel <[email protected]>
 Justin Terry (VM) <[email protected]> Justin Terry (VM) via Qemu-devel <[email protected]>
 
+# Next, replace old addresses by a more recent one.
+Anthony Liguori <[email protected]> Anthony Liguori <[email protected]>
+James Hogan <[email protected]> <[email protected]>
+Aleksandar Markovic <[email protected]> <[email protected]>
+Aleksandar Markovic <[email protected]> <[email protected]>
+Paul Burton <[email protected]> <[email protected]>
+Paul Burton <[email protected]> <[email protected]>
+Paul Burton <[email protected]> <[email protected]>
+Yongbok Kim <[email protected]> <[email protected]>
 
 # Also list preferred name forms where people have changed their
 # git author config, or had utf8/latin1 encoding issues.
Signature · 1 line
2.20.1
#5 lore raw

PATCH 4/8 mailmap: Update philmd email address

In reply to Alex Bennée

From: Philippe Mathieu-Daudé <[email protected]>

Use the email address where I spend most of my time.

Message-Id: <[email protected]>

---
 .mailmap | 1 +
 1 file changed, 1 insertion(+)
.mailmap +1 -0
index e1fdc88d25d..e68ddd26e67 100644
@@ -32,6 +32,7 @@ Aleksandar Markovic <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
 Paul Burton <[email protected]> <[email protected]>
+Philippe Mathieu-Daudé <[email protected]> <[email protected]>
 Yongbok Kim <[email protected]> <[email protected]>
 
 # Also list preferred name forms where people have changed their
Signature · 1 line
2.20.1
#6 lore raw

PATCH 5/8 mailmap: Add many entries to improve 'git shortlog' statistics

In reply to Alex Bennée

From: Philippe Mathieu-Daudé <[email protected]>

All of these emails have a least 1 commit with utf8/latin1 encoding issue, or one with no author name.
When there are multiple commits, keep the author name the most used.

Message-Id: <[email protected]>

---
 .mailmap | 105 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 105 insertions(+)
.mailmap +105 -0
index e68ddd26e67..d0fc1d793c6 100644
@@ -37,5 +37,110 @@ Yongbok Kim <[email protected]> <[email protected]>
 
 # Also list preferred name forms where people have changed their
 # git author config, or had utf8/latin1 encoding issues.
+Aaron Lindsay <[email protected]>
+Alexey Gerasimenko <[email protected]>
+Alex Ivanov <[email protected]>
+Andreas Färber <[email protected]>
+Bandan Das <[email protected]>
+Benjamin MARSILI <[email protected]>
+Benoît Canet <[email protected]>
+Benoît Canet <[email protected]>
+Benoît Canet <[email protected]>
+Boqun Feng <[email protected]>
+Boqun Feng <[email protected]>
+Brad Smith <[email protected]>
+Brijesh Singh <[email protected]>
+Brilly Wu <[email protected]>
+Cédric Vincent <[email protected]>
+CheneyLin <[email protected]>
+Chen Gang <[email protected]>
+Chen Gang <[email protected]>
+Chen Gang <[email protected]>
+Chen Wei-Ren <[email protected]>
+Christophe Lyon <[email protected]>
+Collin L. Walling <[email protected]>
 Daniel P. Berrangé <[email protected]>
+Eduardo Otubo <[email protected]>
+Fabrice Desclaux <[email protected]>
+Fernando Luis Vázquez Cao <[email protected]>
+Fernando Luis Vázquez Cao <[email protected]>
+Gautham R. Shenoy <[email protected]>
+Gautham R. Shenoy <[email protected]>
+Gonglei (Arei) <[email protected]>
+Guang Wang <[email protected]>
+Hailiang Zhang <[email protected]>
+Hervé Poussineau <[email protected]>
+Jakub Jermář <[email protected]>
+Jakub Jermář <[email protected]>
+Jean-Christophe Dubois <[email protected]>
+Jindřich Makovička <[email protected]>
+John Arbuckle <[email protected]>
+Juha Riihimäki <[email protected]>
+Juha Riihimäki <[email protected]>
+Jun Li <[email protected]>
+Laurent Vivier <[email protected]>
+Leandro Lupori <[email protected]>
+Li Guang <[email protected]>
+Liming Wang <[email protected]>
+linzhecheng <[email protected]>
+Liran Schour <[email protected]>
+Liu Yu <[email protected]>
+Liu Yu <[email protected]>
+Li Zhang <[email protected]>
+Li Zhang <[email protected]>
+Lluís Vilanova <[email protected]>
+Lluís Vilanova <[email protected]>
+Longpeng (Mike) <[email protected]>
+Luc Michel <[email protected]>
+Luc Michel <[email protected]>
+Marc Marí <[email protected]>
+Marc Marí <[email protected]>
+Michael Avdienko <[email protected]>
+Michael S. Tsirkin <[email protected]>
+Munkyu Im <[email protected]>
+Nicholas Bellinger <[email protected]>
+Nicholas Thomas <[email protected]>
+Nikunj A Dadhania <[email protected]>
+Orit Wasserman <[email protected]>
+Paolo Bonzini <[email protected]>
+Pavel Dovgaluk <[email protected]>
+Pavel Dovgaluk <[email protected]>
+Pavel Dovgaluk <[email protected]>
+Peter Crosthwaite <[email protected]>
+Peter Crosthwaite <[email protected]>
+Peter Crosthwaite <[email protected]>
+Prasad J Pandit <[email protected]>
+Prasad J Pandit <[email protected]>
+Qiao Nuohan <[email protected]>
 Reimar Döffinger <[email protected]>
+Remy Noel <[email protected]>
+Roger Pau Monné <[email protected]>
+Shin'ichiro Kawasaki <[email protected]>
+Shin'ichiro Kawasaki <[email protected]>
+Sochin Jiang <[email protected]>
+Takashi Yoshii <[email protected]>
+Thomas Huth <[email protected]>
+Thomas Knych <[email protected]>
+Timothy Baldwin <[email protected]>
+Tony Nguyen <[email protected]>
+Venkateswararao Jujjuri <[email protected]>
+Vibi Sreenivasan <[email protected]>
+Vijaya Kumar K <[email protected]>
+Vijaya Kumar K <[email protected]>
+Vijay Kumar <[email protected]>
+Vijay Kumar <[email protected]>
+Wang Guang <[email protected]>
+Wenchao Xia <[email protected]>
+Wenshuang Ma <[email protected]>
+Xiaoqiang Zhao <[email protected]>
+Xinhua Cao <[email protected]>
+Xiong Zhang <[email protected]>
+Yin Yin <[email protected]>
+yuchenlin <[email protected]>
+YunQiang Su <[email protected]>
+YunQiang Su <[email protected]>
+Yuri Pudgorodskiy <[email protected]>
+Zhengui Li <[email protected]>
+Zhenwei Pi <[email protected]>
+Zhenwei Pi <[email protected]>
+Zhuang Yanying <[email protected]>
Signature · 1 line
2.20.1
#7 lore raw

PATCH 6/8 .mailmap/aliases: add some further commentary

In reply to Alex Bennée

The two files are not interchangeable but a change to one *might* require a change to the other so lets flag that up with an explanation of what both files are trying to achieve. While we are at it document the many forms .mailmap can take in the header.

---
 .mailmap                            | 14 ++++++++++++++
 contrib/gitdm/aliases               | 20 ++++++++++++++++++--
 contrib/gitdm/group-map-individuals |  3 ++-
 3 files changed, 34 insertions(+), 3 deletions(-)
.mailmap +14 -0
index d0fc1d793c6..0756a0bf66d 100644
@@ -1,4 +1,18 @@
 # 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 <[email protected]>
+#  <[email protected]> <[email protected]>
+#  Proper Name <[email protected]> <[email protected]>
+#  Proper Name <[email protected]> Commit Name <[email protected]>
+#
 
 # The first section translates weird addresses from the original git import
 # into proper addresses so that they are counted properly by git shortlog.
contrib/gitdm/aliases +18 -2
index 07fd3391a56..c1e744312f5 100644
@@ -1,6 +1,22 @@
 #
-# This is the email aliases file, mapping secondary addresses
-# onto a single, canonical address. Duplicates some info from .mailmap
+# This is the email aliases file, mapping secondary addresses onto a
+# single, canonical address. It duplicates some info from .mailmap so
+# if you are adding something here also consider if the .mailmap needs
+# updating.
+#
+# If you just want to avoid gitdm complaining about author fields
+# which are actually email addresses with the message:
+#
+#   "...is an author name, probably not what you want"
+#
+# you can just apply --use-mailmap to you git-log command, e.g:
+#
+#   git log --use-mailmap --numstat --since "last 2 years" | $GITDM
+#
+# however that will have the effect of squashing multiple addresses to
+# a canonical address which will distort the stats of those who
+# contribute in both personal and professional capacities from
+# different addresses.
 #
 
 # weird commits
contrib/gitdm/group-map-individuals +2 -1
index 05e355d30ec..1c847174380 100644
@@ -2,7 +2,8 @@
 # Individual and personal contributors
 #
 # This is simply to allow prolific developers with no company
-# affiliations to be grouped together in the summary stats.
+# affiliations (or non-company related personal work) to be grouped
+# together in the summary stats.
 #
 
 [email protected]
Signature · 1 line
2.20.1
Reviewed-by on v1 6/8
#8 lore raw

Re: [Qemu-devel] [PATCH v1 6/8] .mailmap/aliases: add some further commentary

28.08.2019. 14.22, "Alex Bennée" <[email protected]> је написао/ла:

Quoted 8 lines

The two files are not interchangeable but a change to one *might* require a change to the other so lets flag that up with an explanation of what both files are trying to achieve. While we are at it document the many forms .mailmap can take in the header.

---

Quoted 17 lines
 .mailmap                            | 14 ++++++++++++++
 contrib/gitdm/aliases               | 20 ++++++++++++++++++--
 contrib/gitdm/group-map-individuals |  3 ++-
 3 files changed, 34 insertions(+), 3 deletions(-)
.mailmap +6 -0
index d0fc1d793c6..0756a0bf66d 100644
@@ -1,4 +1,18 @@
 # 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.

.mailmap line 17

Quoted 10 lines
.mailmap +8 -0
+#
+# From man git-shortlog the forms are:
+#
+#  Proper Name <[email protected]>
+#  <[email protected]> <[email protected]>
+#  Proper Name <[email protected]> <[email protected]>
+#  Proper Name <[email protected]> Commit Name <[email protected]>
+#
 
 # The first section translates weird addresses from the original git

import

.mailmap line 18

Quoted 1 line
.mailmap +0 -0
 # into proper addresses so that they are counted properly by git

shortlog.

Review

Quoted 30 lines
contrib/gitdm/aliases +18 -2
index 07fd3391a56..c1e744312f5 100644
@@ -1,6 +1,22 @@
 #
-# This is the email aliases file, mapping secondary addresses
-# onto a single, canonical address. Duplicates some info from .mailmap
+# This is the email aliases file, mapping secondary addresses onto a
+# single, canonical address. It duplicates some info from .mailmap so
+# if you are adding something here also consider if the .mailmap needs
+# updating.
+#
+# If you just want to avoid gitdm complaining about author fields
+# which are actually email addresses with the message:
+#
+#   "...is an author name, probably not what you want"
+#
+# you can just apply --use-mailmap to you git-log command, e.g:
+#
+#   git log --use-mailmap --numstat --since "last 2 years" | $GITDM
+#
+# however that will have the effect of squashing multiple addresses to
+# a canonical address which will distort the stats of those who
+# contribute in both personal and professional capacities from
+# different addresses.
 #
 
 # weird commits
(quoted diff) +0 -0

b/contrib/gitdm/group-map-individuals

Quoted 17 lines

index 05e355d30ec..1c847174380 100644

contrib/gitdm/group-map-individuals +2 -2
@@ -2,7 +2,8 @@
 # Individual and personal contributors
 #
 # This is simply to allow prolific developers with no company
-# affiliations to be grouped together in the summary stats.
+# affiliations (or non-company related personal work) to be grouped
+# together in the summary stats.
 #
 
 [email protected]
--

2.20.1

#9 lore raw

PATCH 7/8 contrib/gitdm: add RT-RK to domain-map

In reply to Alex Bennée

I added this because Mateja is showing up in the top 10 stats for the last year. I have noticed a bunch of the Wavecomp guys have been sending messages from RT-RK but I'm assuming they are different entities.

Cc Stefan Brankovic <[email protected]>
Cc Mateja Marjanovic <[email protected]>
---
 contrib/gitdm/domain-map | 1 +
 1 file changed, 1 insertion(+)
contrib/gitdm/domain-map +1 -0
index fa9d454473d..abee7e334b4 100644
@@ -18,6 +18,7 @@ nokia.com       Nokia
 oracle.com      Oracle
 proxmox.com     Proxmox
 redhat.com      Red Hat
+rt-rk.com       RT RK
 siemens.com     Siemens
 sifive.com      SiFive
 suse.de         SUSE
Signature · 1 line
2.20.1
#10 lore raw
In reply to Alex Bennée
Quoted 8 lines · Alex Bennée

Hi,

With another release out of the door and KVM Forum approaching it is a good time to clean up our gitdm stats. As usual updates for academic institutions and individual contributors involve a bit of guess work so I have CC'd those affected for their confirmation. There is also a large amount of verbiage added to the mailmap and aliases files to (hopefully) better explain what they are trying to do.

Apologies for the double post... when the initial run returned an empty result I thought it had failed but no - it had just complained about some utf-8 names.

Quoted 15 lines

Alex Bennée (3):
.mailmap/aliases: add some further commentary contrib/gitdm: add RT-RK to domain-map contrib/gitdm: add more entries individuals and academics

Markus Armbruster (2):
contrib/gitdm: filetype interface is not in order, fix contrib/gitdm: Add [email protected] to group-map-redhat

Philippe Mathieu-Daudé (3):
mailmap: Reorder by sections
mailmap: Update philmd email address
mailmap: Add many entries to improve 'git shortlog' statistics

Quoted 8 lines
 .mailmap                            | 137 ++++++++++++++++++++++++++--
 contrib/gitdm/aliases               |  20 +++-
 contrib/gitdm/domain-map            |   1 +
 contrib/gitdm/filetypes.txt         |   2 +-
 contrib/gitdm/group-map-academics   |   3 +
 contrib/gitdm/group-map-individuals |   7 +-
 contrib/gitdm/group-map-redhat      |   1 +
 7 files changed, 159 insertions(+), 12 deletions(-)

--
Alex Bennée