From 7ca28af18dd7534097845a89be8a1a687b26a182 Mon Sep 17 00:00:00 2001 From: Ram Rachum Date: Sat, 2 Apr 2022 16:07:32 +0100 Subject: [PATCH] Update authors --- AUTHORS | 2 ++ misc/generate_authors.py | 13 +++++++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/AUTHORS b/AUTHORS index 5746e7de..20ccb95e 100644 --- a/AUTHORS +++ b/AUTHORS @@ -24,3 +24,5 @@ Itamar.Raviv iory Mark Blakeney Yael Mintz +Lumír 'Frenzy' Balhar +Lukas Klenk diff --git a/misc/generate_authors.py b/misc/generate_authors.py index 5836dd75..f1968436 100644 --- a/misc/generate_authors.py +++ b/misc/generate_authors.py @@ -19,6 +19,11 @@ import subprocess import sys +# This is used for people who show up more than once: +deny_list = frozenset(( + 'Lumir Balhar', +)) + def drop_recurrences(iterable): s = set() @@ -37,10 +42,10 @@ def iterate_authors_by_chronological_order(branch): stdout=subprocess.PIPE, stderr=subprocess.PIPE, ) log_lines = log_call.stdout.decode('utf-8').split('\n') - - return drop_recurrences( - (line.strip().split(";")[1] for line in log_lines) - ) + + authors = tuple(line.strip().split(";")[1] for line in log_lines) + authors = (author for author in authors if author not in deny_list) + return drop_recurrences(authors) def print_authors(branch):