Skip to content

Commit

Permalink
Update authors
Browse files Browse the repository at this point in the history
  • Loading branch information
cool-RR committed Apr 2, 2022
1 parent f3d7f39 commit 7ca28af
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 4 deletions.
2 changes: 2 additions & 0 deletions AUTHORS
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,5 @@ Itamar.Raviv
iory
Mark Blakeney
Yael Mintz
Lumír 'Frenzy' Balhar
Lukas Klenk
13 changes: 9 additions & 4 deletions misc/generate_authors.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()
Expand All @@ -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):
Expand Down

0 comments on commit 7ca28af

Please sign in to comment.