Files
gource-organization-vizuali…/unique-commiters.py
2021-12-22 10:51:24 +01:00

12 lines
403 B
Python

# This script depends on the combined.txt file created by all-repos.sh to be present.
commiters = []
with open('combined.txt', 'r') as reader:
for line in reader.readlines():
author = line.split("|")[1]
timestamp = line.split("|")[0]
if author not in commiters and float(timestamp) > 1609455600: # 2021-01-01
commiters.append(author)
print(str(len(commiters)))