Re: [Qemu-devel] [PATCH v3] contrib: add a basic gitdm config
On Friday, December 14, 2018, Alex Bennée wrote: > This is a QEMU specific version of a gitdm config for generating > reports on the contributor base of the project. I've added enough > group maps and domain aliases to ensure the current top ten is as > reflective as it can be. As of this commit running: > > git log --numstat --since "Last Year" | gitdm -n -l 10 Alex, can you perhaps send final statistics for 2018, now that New Year passed? Thanks, Aleksandar > > Reports: > > Top changeset contributors by employer > Red Hat 3172 (44.3%) > Linaro1153 (16.1%) > (None) 549 (7.7%) > IBM348 (4.9%) > Academics (various)170 (2.4%) > Virtuozzo 168 (2.3%) > Wave Computing 118 (1.6%) > Xilinx 102 (1.4%) > Igalia 93 (1.3%) > Cadence Design Systems 88 (1.2%) > > Top lines changed by employer > Red Hat 144092 (28.1%) > Cadence Design Systems126554 (24.6%) > Linaro77480 (15.1%) > Wave Computing33134 (6.5%) > SiFive14392 (2.8%) > IBM 12219 (2.4%) > (None)11948 (2.3%) > Academics (various) 10447 (2.0%) > Virtuozzo 10445 (2.0%) > CodeWeavers 9179 (1.8%) > > Signed-off-by: Alex Bennée > Reviewed-by: Daniel P. Berrangé > Reviewed-by: Markus Armbruster > Reviewed-by: Aleksandar Markovic > > --- > v2 > - use aliases instead of .mailmap > - add more companies to domainmap > - add more groups to cover non-corporate email > - add an individuals group-map for (None) > - limit the stats to top ten > v3 > - updates to wavecomp group > - grouped ispras & others under academics > - tweaked invocation > - added tags > - updated stats while based of master > - slimmed down filetypes, added QEMU specific patterns > --- > contrib/gitdm/aliases | 27 + > contrib/gitdm/domain-map| 19 > contrib/gitdm/filetypes.txt | 146 > contrib/gitdm/group-map-cadence | 3 + > contrib/gitdm/group-map-codeweavers | 1 + > contrib/gitdm/group-map-ibm | 6 ++ > contrib/gitdm/group-map-redhat | 7 ++ > contrib/gitdm/group-map-wavecomp| 18 > gitdm.config| 50 ++ > 9 files changed, 277 insertions(+) > create mode 100644 contrib/gitdm/aliases > create mode 100644 contrib/gitdm/domain-map > create mode 100644 contrib/gitdm/filetypes.txt > create mode 100644 contrib/gitdm/group-map-cadence > create mode 100644 contrib/gitdm/group-map-codeweavers > create mode 100644 contrib/gitdm/group-map-ibm > create mode 100644 contrib/gitdm/group-map-redhat > create mode 100644 contrib/gitdm/group-map-wavecomp > create mode 100644 gitdm.config > > diff --git a/contrib/gitdm/aliases b/contrib/gitdm/aliases > new file mode 100644 > index 00..07fd3391a5 > --- /dev/null > +++ b/contrib/gitdm/aliases > @@ -0,0 +1,27 @@ > +# > +# This is the email aliases file, mapping secondary addresses > +# onto a single, canonical address. Duplicates some info from .mailmap > +# > + > +# weird commits > +balrog@c046a42c-6fe2-441c-8c8c-71466251a162 balr...@gmail.com > +aliguori@c046a42c-6fe2-441c-8c8c-71466251a162 anth...@codemonkey.ws > +aurel32@c046a42c-6fe2-441c-8c8c-71466251a162 aurel...@aurel32.net > +blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162 blauwir...@gmail.com > +edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162 edgar.igles...@gmail.com > +bellard@c046a42c-6fe2-441c-8c8c-71466251a162 fabr...@bellard.org > +j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162 l_ind...@magic.fr > +pbrook@c046a42c-6fe2-441c-8c8c-71466251a162 p...@codesourcery.com > +ths@c046a42c-6fe2-441c-8c8c-71466251a162 t...@networkno.de > +malc@c046a42c-6fe2-441c-8c8c-71466251a162 av1...@comtv.ru > + > +# There is also a: > +#(no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162> > +# for the cvs2svn initialization commit e63c3dc74bf. > + > +# Next, translate a few commits where mailman rewrote the From: line due > +# to strict SPF, although we prefer to avoid adding more entries like > that. > +"Ed Swierk via Qemu-devel" eswi...@skyportsystems.com > +"Ian McKellar via Qemu-devel" ianl...@google.com > +"Julia Suvorova via Qemu-devel" jus...@mail.ru > +"Justin Terry (VM) via Qemu-devel" jute...@microsoft.com > diff --git a/contrib/gitdm/domain-map b/contrib/gitdm/domain-map > new file mode 100644 > index 00..8cbbcfe93d > --- /dev/null > +++ b/contrib/gitdm/domain-map > @@ -0,0 +1,19 @@ > +# > +# QEMU gitdm domain-map > +# > +# This maps email domains to nice easy to read company names > +# > + > +amd.com AMD > +greensocs.com GreenSocs > +ibm.com IBM > +igalia.com Igalia > +linaro.org Linaro > +oracle.com Oracle > +redhat.com
[Qemu-devel] [PATCH v3] contrib: add a basic gitdm config
This is a QEMU specific version of a gitdm config for generating reports on the contributor base of the project. I've added enough group maps and domain aliases to ensure the current top ten is as reflective as it can be. As of this commit running: git log --numstat --since "Last Year" | gitdm -n -l 10 Reports: Top changeset contributors by employer Red Hat 3172 (44.3%) Linaro1153 (16.1%) (None) 549 (7.7%) IBM348 (4.9%) Academics (various)170 (2.4%) Virtuozzo 168 (2.3%) Wave Computing 118 (1.6%) Xilinx 102 (1.4%) Igalia 93 (1.3%) Cadence Design Systems 88 (1.2%) Top lines changed by employer Red Hat 144092 (28.1%) Cadence Design Systems126554 (24.6%) Linaro77480 (15.1%) Wave Computing33134 (6.5%) SiFive14392 (2.8%) IBM 12219 (2.4%) (None)11948 (2.3%) Academics (various) 10447 (2.0%) Virtuozzo 10445 (2.0%) CodeWeavers 9179 (1.8%) Signed-off-by: Alex Bennée Reviewed-by: Daniel P. Berrangé Reviewed-by: Markus Armbruster Reviewed-by: Aleksandar Markovic --- v2 - use aliases instead of .mailmap - add more companies to domainmap - add more groups to cover non-corporate email - add an individuals group-map for (None) - limit the stats to top ten v3 - updates to wavecomp group - grouped ispras & others under academics - tweaked invocation - added tags - updated stats while based of master - slimmed down filetypes, added QEMU specific patterns --- contrib/gitdm/aliases | 27 + contrib/gitdm/domain-map| 19 contrib/gitdm/filetypes.txt | 146 contrib/gitdm/group-map-cadence | 3 + contrib/gitdm/group-map-codeweavers | 1 + contrib/gitdm/group-map-ibm | 6 ++ contrib/gitdm/group-map-redhat | 7 ++ contrib/gitdm/group-map-wavecomp| 18 gitdm.config| 50 ++ 9 files changed, 277 insertions(+) create mode 100644 contrib/gitdm/aliases create mode 100644 contrib/gitdm/domain-map create mode 100644 contrib/gitdm/filetypes.txt create mode 100644 contrib/gitdm/group-map-cadence create mode 100644 contrib/gitdm/group-map-codeweavers create mode 100644 contrib/gitdm/group-map-ibm create mode 100644 contrib/gitdm/group-map-redhat create mode 100644 contrib/gitdm/group-map-wavecomp create mode 100644 gitdm.config diff --git a/contrib/gitdm/aliases b/contrib/gitdm/aliases new file mode 100644 index 00..07fd3391a5 --- /dev/null +++ b/contrib/gitdm/aliases @@ -0,0 +1,27 @@ +# +# This is the email aliases file, mapping secondary addresses +# onto a single, canonical address. Duplicates some info from .mailmap +# + +# weird commits +balrog@c046a42c-6fe2-441c-8c8c-71466251a162 balr...@gmail.com +aliguori@c046a42c-6fe2-441c-8c8c-71466251a162 anth...@codemonkey.ws +aurel32@c046a42c-6fe2-441c-8c8c-71466251a162 aurel...@aurel32.net +blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162 blauwir...@gmail.com +edgar_igl@c046a42c-6fe2-441c-8c8c-71466251a162 edgar.igles...@gmail.com +bellard@c046a42c-6fe2-441c-8c8c-71466251a162 fabr...@bellard.org +j_mayer@c046a42c-6fe2-441c-8c8c-71466251a162 l_ind...@magic.fr +pbrook@c046a42c-6fe2-441c-8c8c-71466251a162 p...@codesourcery.com +ths@c046a42c-6fe2-441c-8c8c-71466251a162 t...@networkno.de +malc@c046a42c-6fe2-441c-8c8c-71466251a162 av1...@comtv.ru + +# There is also a: +#(no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162> +# for the cvs2svn initialization commit e63c3dc74bf. + +# Next, translate a few commits where mailman rewrote the From: line due +# to strict SPF, although we prefer to avoid adding more entries like that. +"Ed Swierk via Qemu-devel" eswi...@skyportsystems.com +"Ian McKellar via Qemu-devel" ianl...@google.com +"Julia Suvorova via Qemu-devel" jus...@mail.ru +"Justin Terry (VM) via Qemu-devel" jute...@microsoft.com diff --git a/contrib/gitdm/domain-map b/contrib/gitdm/domain-map new file mode 100644 index 00..8cbbcfe93d --- /dev/null +++ b/contrib/gitdm/domain-map @@ -0,0 +1,19 @@ +# +# QEMU gitdm domain-map +# +# This maps email domains to nice easy to read company names +# + +amd.com AMD +greensocs.com GreenSocs +ibm.com IBM +igalia.com Igalia +linaro.org Linaro +oracle.com Oracle +redhat.com Red Hat +siemens.com Siemens +sifive.com SiFive +suse.de SUSE +virtuozzo.com Virtuozzo +wdc.com Western Digital +xilinx.com Xilinx diff --git a/contrib/gitdm/filetypes.txt b/contrib/gitdm/filetypes.txt new file mode 100644 index 00..15d6f803b9 --- /dev/null +++ b/contrib/gitdm/filetypes.txt @@ -0,0 +1,146 @@ +# -*- coding:utf-8 -*- +# Copyright (C) 2006