Skip to contentSkip to conversation

mailmap/gitdm: more fixes for bad tags and authors

RFC PATCH In review Alex Bennée 4 participants 5 messages Mar 11, 2022 – Mar 15, 2022

lore
Share & tools
lore
#0 lore raw

RFC PATCH 1/1 mailmap/gitdm: more fixes for bad tags and authors

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 [email protected] 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 [email protected] 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.

Cc Aaron Larson <[email protected]>
Cc Andreas Färber <[email protected]>
Cc Jason Wang <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Peter Chubb <[email protected]>
---
 .mailmap              | 6 ++++++
 contrib/gitdm/aliases | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
.mailmap +6 -0
index 5113f55b3a..5dc168b199 100644
@@ -28,7 +28,11 @@ Thiemo Seufer <[email protected]> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
 malc <[email protected]> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
 
 # Corrupted Author fields
+Aaron Larson <[email protected]> [email protected]
+Andreas Färber <[email protected]> Andreas Färber <andreas.faerber>
+Jason Wang <[email protected]> Jason Wang <jasowang>
 Marek Dolata <[email protected]> [email protected] <[email protected]>
+Michael Ellerman <[email protected]> [email protected] <[email protected]>
 Nick Hudson <[email protected]> [email protected] <[email protected]>
 
 # There is also a:
@@ -70,6 +74,7 @@ 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]>
+Aaron Larson <[email protected]>
 Alexey Gerasimenko <[email protected]>
 Alex Chen <[email protected]>
 Alex Ivanov <[email protected]>
@@ -144,6 +149,7 @@ Pan Nengyuan <[email protected]>
 Pavel Dovgaluk <[email protected]>
 Pavel Dovgaluk <[email protected]>
 Pavel Dovgaluk <[email protected]>
+Peter Chubb <[email protected]>
 Peter Crosthwaite <[email protected]>
 Peter Crosthwaite <[email protected]>
 Peter Crosthwaite <[email protected]>
contrib/gitdm/aliases +4 -1
index 4792413ce7..5b31635c15 100644
@@ -34,8 +34,11 @@ malc@c046a42c-6fe2-441c-8c8c-71466251a162 [email protected]
 # canonical emails
 [email protected] [email protected]
 
-# some broken tags
+# some broken DCO tags
 yuval.shaia.ml.gmail.com [email protected]
+jasowang [email protected]
+nicta.com.au [email protected]
[email protected] [email protected]
 
 # There is also a:
 #    (no author) <(no author)@c046a42c-6fe2-441c-8c8c-71466251a162>
Signature · 1 line
2.30.2
Reviewed-by on v1 1/1
#1 lore raw
Quoted 32 lines · Alex Bennée

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 [email protected] 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 [email protected] 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.

Cc Aaron Larson <[email protected]>
Cc Andreas Färber <[email protected]>
Cc Jason Wang <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Peter Chubb <[email protected]>
---
  .mailmap              | 6 ++++++
  contrib/gitdm/aliases | 5 ++++-
  2 files changed, 10 insertions(+), 1 deletion(-)
contrib/gitdm/aliases +0 -0
index 4792413ce7..5b31635c15 100644

contrib/gitdm/aliases malc@c046a42c-6fe2-441c-8c8c-71466251a162 [email protected] · line 39

Quoted 7 lines
contrib/gitdm/aliases +2 -1
@@ -34,8 +34,11 @@ malc@c046a42c-6fe2-441c-8c8c-71466251a162 [email protected]
  # canonical emails
  [email protected] [email protected]
 
-# some broken tags
+# some broken DCO tags
 
[email protected] [email protected]

Is this one useful? Otherwise:

#2 lore raw
In reply to Alex Bennée
Quoted 33 lines · Alex Bennée

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 [email protected] 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 [email protected] 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.

Cc Aaron Larson <[email protected]>
Cc Andreas Färber <[email protected]>
Cc Jason Wang <[email protected]>
Cc Michael Ellerman <[email protected]>
Cc Peter Chubb <[email protected]>
---
 .mailmap              | 6 ++++++
 contrib/gitdm/aliases | 5 ++++-
 2 files changed, 10 insertions(+), 1 deletion(-)
.mailmap +0 -0
index 5113f55b3a..5dc168b199 100644

.mailmap Thiemo Seufer <[email protected]> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162> · line 35

Quoted 8 lines
.mailmap +4 -0
@@ -28,7 +28,11 @@ Thiemo Seufer <[email protected]> ths <ths@c046a42c-6fe2-441c-8c8c-71466251a162>
 malc <[email protected]> malc <malc@c046a42c-6fe2-441c-8c8c-71466251a162>
 
 # Corrupted Author fields
+Aaron Larson <[email protected]> [email protected]
+Andreas Färber <[email protected]> Andreas Färber <andreas.faerber>
+Jason Wang <[email protected]> Jason Wang <jasowang>
 Marek Dolata <[email protected]> [email protected] <[email protected]>
+Michael Ellerman <[email protected]> [email protected] <[email protected]>

I prefer to use [email protected] for coding related things, but obviously this address also works.

cheers

#3 lore raw
Quoted 11 lines

Alex Bennée <[email protected]> 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
[email protected] 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 :-).

#4 lore raw
Quoted 12 lines · [email protected] writes:
Quoted 11 lines

Alex Bennée <[email protected]> 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
[email protected] 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.

Quoted 2 lines

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.

Signature · 1 line
Alex Bennée