Skip to content

Commit

Permalink
[tools] Improve co-author detection and add new authors
Browse files Browse the repository at this point in the history
  • Loading branch information
rleh authored and salkinium committed Apr 8, 2023
1 parent 26ebee6 commit 67d2719
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion tools/scripts/authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,12 @@
"Kevin Läufer": "ekiwi",
"Linas Nikiperavicius": "linasnikis",
"Lucas Mösch": "lmoesch",
"Luiz Gili": "lgili",
"Lukas Güldenstein": "gueldenstone",
"Marten Junga": "Maju-Ketchup",
"Martin Esser": "Scabber",
"Martin Rosekeit": "thundernail",
"Mattis Kieffer": "mat-kie",
"Michael Thies": "mhthies",
"Mike Wolfram": "mikewolfram",
"Nick Sarten": "genbattle",
Expand Down Expand Up @@ -83,6 +85,7 @@
"Tomasz Chyrowicz": "tomchy",
"Tomasz Wasilczyk": "twasilczyk",
"Valeriy Osipov": "SgtPepperFTW",
"Victor Costa": "victorandrehc",
"Vivien Henry": "lukh",
"Zawadniak Pedro": "PDR5",
"Álan Crístoffer": "acristoffers",
Expand All @@ -109,7 +112,7 @@ def get_author_log(since = None, until = None, handles = False, count = False):
co_author_command += " --since=\"{}\"".format(since)
if until is not None:
co_author_command += " --until=\"{}\"".format(until)
co_author_command += " | grep -v '^$' | sed -e 's/Co-authored-by: /\t/g' | sort | uniq -c"
co_author_command += " | grep -v '^$' | sed -e 's/[Cc]o-authored-by: /\t/g' | sort | uniq -c"
output = subprocess.Popen(co_author_command, shell=True, stdout=subprocess.PIPE)\
.stdout.read().decode(locale.getpreferredencoding())
for line in output.splitlines():
Expand Down

0 comments on commit 67d2719

Please sign in to comment.