Commit 7211c4aa authored by Jim Fehlig's avatar Jim Fehlig

Fix duplicate entries in AUTHORS

The generated AUTHORS file contains many duplicates.  If an author
has N commits, there will be N entries for the author in AUTHORS.
Check if an author already exists in the list before appending.
While at it, add a .mailmap (derived from libivrt's .mailmap) to
futher tidy the generated AUTHORS list.
parent 06e8ea47
# 'git shortlog --help' and look for mailmap for the format of each line
# Email consolidation:
# <Preferred address in AUTHORS> <other alias used by same author>
<> <>
<> <>
<> <>
# Name consolidation:
# Preferred author spelling <preferred email>
Alex Jia <>
Ján Tomko <>
MATSUDA Daiki <>
Serge E. Hallyn <>
Philipp Hahn <>
......@@ -176,7 +176,9 @@ class my_sdist(sdist):
f = os.popen("git log --pretty=format:'%aN <%aE>'")
authors = []
for line in f:
authors.append(" " + line.strip())
line = " " + line.strip()
if line not in authors:
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment