diff mbox series

[RFC] mailmap/gitdm: more fixes for bad tags and authors

Message ID 20220311135200.680127-1-alex.bennee@linaro.org
State Superseded
Headers show
Series [RFC] mailmap/gitdm: more fixes for bad tags and authors | expand

Commit Message

Alex Bennée March 11, 2022, 1:52 p.m. UTC
I was running some historical tags for the last 10 years and got the
following warnings:

  git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm -n -l 5
  alarson@ddci.com is an author name, probably not what you want
  bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 552: invalid continuation byte) in patchm skipping
  bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 342: invalid continuation byte) in patchm skipping
  michael@ozlabs.org  is an author name, probably not what you want
  Oops...funky email nicta.com.au
  bad utf-8 ('utf-8' codec can't decode byte 0xe9 in position 232: invalid continuation byte) in patchm skipping
  Oops...funky email andreas.faerber
  Grabbing changesets...done
  Processed 76422 csets from 1902 developers

The following fixes try and alleviate that although I still get a
warning for Aaron which I think is from 9743cd5736.

Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Cc: Aaron Larson <alarson@ddci.com>
Cc: Andreas Färber <andreas.faerber@web.de>
Cc: Jason Wang <jasowang@redhat.com>
Cc: Michael Ellerman <michael@ellerman.id.au>
Cc: Peter Chubb <peter.chubb@nicta.com.au>
---
 .mailmap              | 6 ++++++
 contrib/gitdm/aliases | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)

Comments

Philippe Mathieu-Daudé March 13, 2022, 1:59 p.m. UTC | #1
On 11/3/22 14:52, Alex Bennée wrote:
> I was running some historical tags for the last 10 years and got the
> following warnings:
> 
>    git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm -n -l 5
>    alarson@ddci.com is an author name, probably not what you want
>    bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 552: invalid continuation byte) in patchm skipping
>    bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 342: invalid continuation byte) in patchm skipping
>    michael@ozlabs.org  is an author name, probably not what you want
>    Oops...funky email nicta.com.au
>    bad utf-8 ('utf-8' codec can't decode byte 0xe9 in position 232: invalid continuation byte) in patchm skipping
>    Oops...funky email andreas.faerber
>    Grabbing changesets...done
>    Processed 76422 csets from 1902 developers
> 
> The following fixes try and alleviate that although I still get a
> warning for Aaron which I think is from 9743cd5736.
> 
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Aaron Larson <alarson@ddci.com>
> Cc: Andreas Färber <andreas.faerber@web.de>
> Cc: Jason Wang <jasowang@redhat.com>
> Cc: Michael Ellerman <michael@ellerman.id.au>
> Cc: Peter Chubb <peter.chubb@nicta.com.au>
> ---
>   .mailmap              | 6 ++++++
>   contrib/gitdm/aliases | 5 ++++-
>   2 files changed, 10 insertions(+), 1 deletion(-)
> diff --git a/contrib/gitdm/aliases b/contrib/gitdm/aliases
> index 4792413ce7..5b31635c15 100644
> --- a/contrib/gitdm/aliases
> +++ b/contrib/gitdm/aliases
> @@ -34,8 +34,11 @@ malc@c046a42c-6fe2-441c-8c8c-71466251a162 av1474@comtv.ru
>   # canonical emails
>   liq3ea@163.com liq3ea@gmail.com
>   
> -# some broken tags
> +# some broken DCO tags

> +alarson@ddci.com alarson@ddci.com

Is this one useful? Otherwise:
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Michael Ellerman March 14, 2022, 10:43 p.m. UTC | #2
Alex Bennée <alex.bennee@linaro.org> writes:
> I was running some historical tags for the last 10 years and got the
> following warnings:
>
>   git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm -n -l 5
>   alarson@ddci.com is an author name, probably not what you want
>   bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 552: invalid continuation byte) in patchm skipping
>   bad utf-8 ('utf-8' codec can't decode byte 0xe4 in position 342: invalid continuation byte) in patchm skipping
>   michael@ozlabs.org  is an author name, probably not what you want
>   Oops...funky email nicta.com.au
>   bad utf-8 ('utf-8' codec can't decode byte 0xe9 in position 232: invalid continuation byte) in patchm skipping
>   Oops...funky email andreas.faerber
>   Grabbing changesets...done
>   Processed 76422 csets from 1902 developers
>
> The following fixes try and alleviate that although I still get a
> warning for Aaron which I think is from 9743cd5736.
>
> Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
> Cc: Aaron Larson <alarson@ddci.com>
> Cc: Andreas Färber <andreas.faerber@web.de>
> Cc: Jason Wang <jasowang@redhat.com>
> Cc: Michael Ellerman <michael@ellerman.id.au>
> Cc: Peter Chubb <peter.chubb@nicta.com.au>
> ---
>  .mailmap              | 6 ++++++
>  contrib/gitdm/aliases | 5 ++++-
>  2 files changed, 10 insertions(+), 1 deletion(-)
>
> diff --git a/.mailmap b/.mailmap
> index 5113f55b3a..5dc168b199 100644
> --- a/.mailmap
> +++ b/.mailmap
> @@ -28,7 +28,11 @@ Thiemo Seufer <ths@networkno.de> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
>  malc <av1474@comtv.ru> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
>  
>  # Corrupted Author fields
> +Aaron Larson <alarson@ddci.com> alarson@ddci.com
> +Andreas Färber <andreas.faerber@web.de> Andreas Färber <andreas.faerber>
> +Jason Wang <jasowang@redhat.com> Jason Wang <jasowang>
>  Marek Dolata <mkdolata@us.ibm.com> mkdolata@us.ibm.com <mkdolata@us.ibm.com>
> +Michael Ellerman <michael@ellerman.id.au> michael@ozlabs.org <michael@ozlabs.org>

I prefer to use mpe@ellerman.id.au for coding related things, but
obviously this address also works.

cheers
alarson@ddci.com March 14, 2022, 11:20 p.m. UTC | #3
>Alex Bennée <alex.bennee@linaro.org> writes:

> I was running some historical tags for the last 10 years and got the
> following warnings:
> 
>   git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm 
> -n -l 5
>   alarson@ddci.com is an author name, probably not what you want
> ...
> The following fixes try and alleviate that although I still get a
> warning for Aaron which I think is from 9743cd5736.

Alex, I'm not sure what I can do to help, but my email address hasn't
changed, still works, and I lack any sort of accent (just ask me :-).
Alex Bennée March 15, 2022, 8:38 a.m. UTC | #4
alarson@ddci.com writes:

>>Alex Bennée <alex.bennee@linaro.org> writes:
>
>> I was running some historical tags for the last 10 years and got the
>> following warnings:
>> 
>>   git log --use-mailmap --numstat --since "June 2010" | ~/src/gitdm.git/gitdm 
>> -n -l 5
>>   alarson@ddci.com is an author name, probably not what you want
>> ...
>> The following fixes try and alleviate that although I still get a
>> warning for Aaron which I think is from 9743cd5736.
>
> Alex, I'm not sure what I can do to help, but my email address hasn't
> changed, still works, and I lack any sort of accent (just ask me :-).

An Acked-by is fine. I'll see if I can work out which route gitdm uses
to translate badly formed DCO tags so you can get proper attribution in
the stats.
diff mbox series

Patch

diff --git a/.mailmap b/.mailmap
index 5113f55b3a..5dc168b199 100644
--- a/.mailmap
+++ b/.mailmap
@@ -28,7 +28,11 @@  Thiemo Seufer <ths@networkno.de> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
 malc <av1474@comtv.ru> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
 
 # Corrupted Author fields
+Aaron Larson <alarson@ddci.com> alarson@ddci.com
+Andreas Färber <andreas.faerber@web.de> Andreas Färber <andreas.faerber>
+Jason Wang <jasowang@redhat.com> Jason Wang <jasowang>
 Marek Dolata <mkdolata@us.ibm.com> mkdolata@us.ibm.com <mkdolata@us.ibm.com>
+Michael Ellerman <michael@ellerman.id.au> michael@ozlabs.org <michael@ozlabs.org>
 Nick Hudson <hnick@vmware.com> hnick@vmware.com <hnick@vmware.com>
 
 # There is also a:
@@ -70,6 +74,7 @@  Yongbok Kim <yongbok.kim@mips.com> <yongbok.kim@imgtec.com>
 # Also list preferred name forms where people have changed their
 # git author config, or had utf8/latin1 encoding issues.
 Aaron Lindsay <aaron@os.amperecomputing.com>
+Aaron Larson <alarson@ddci.com>
 Alexey Gerasimenko <x1917x@gmail.com>
 Alex Chen <alex.chen@huawei.com>
 Alex Ivanov <void@aleksoft.net>
@@ -144,6 +149,7 @@  Pan Nengyuan <pannengyuan@huawei.com>
 Pavel Dovgaluk <dovgaluk@ispras.ru>
 Pavel Dovgaluk <pavel.dovgaluk@gmail.com>
 Pavel Dovgaluk <Pavel.Dovgaluk@ispras.ru>
+Peter Chubb <peter.chubb@nicta.com.au>
 Peter Crosthwaite <crosthwaite.peter@gmail.com>
 Peter Crosthwaite <peter.crosthwaite@petalogix.com>
 Peter Crosthwaite <peter.crosthwaite@xilinx.com>
diff --git a/contrib/gitdm/aliases b/contrib/gitdm/aliases
index 4792413ce7..5b31635c15 100644
--- a/contrib/gitdm/aliases
+++ b/contrib/gitdm/aliases
@@ -34,8 +34,11 @@  malc@c046a42c-6fe2-441c-8c8c-71466251a162 av1474@comtv.ru
 # canonical emails
 liq3ea@163.com liq3ea@gmail.com
 
-# some broken tags
+# some broken DCO tags
 yuval.shaia.ml.gmail.com yuval.shaia.ml@gmail.com
+jasowang jasowang@redhat.com
+nicta.com.au peter.chubb@nicta.com.au
+alarson@ddci.com alarson@ddci.com
 
 # There is also a:
 #    (no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162>