Exclude beta and RC release notes from author tallies

(except for pre-1.0.0, per previous commit)
This commit is contained in:
Jack Grigg 2017-12-21 00:25:29 +00:00
parent fd08c50247
commit 5d8ab776f0
No known key found for this signature in database
GPG Key ID: 665DBCD284F7DAFF
2 changed files with 6 additions and 2 deletions

View File

@ -1,7 +1,7 @@
Zcash Contributors
==================
Jack Grigg (514)
Jack Grigg (518)
Simon Liu (281)
Sean Bowe (193)
Daira Hopwood (102)
@ -19,6 +19,7 @@ fanquake (5)
MarcoFalke (5)
Johnathan Corgan (5)
Gregory Maxwell (5)
Ariel Gabizon (5)
Philip Kaufmann (4)
Peter Todd (4)
Patrick Strateman (4)
@ -27,7 +28,6 @@ Karl-Johan Alm (4)
Jeff Garzik (4)
David Mercer (4)
Daniel Cousens (4)
Ariel Gabizon (4)
lpescher (3)
kozyilmaz (3)
Pavel Janík (3)

View File

@ -70,6 +70,10 @@ def document_authors():
f.write('Zcash Contributors\n==================\n\n')
total_contrib = {}
for notes in os.listdir(os.path.join(doc_dir, 'release-notes')):
# Commits are duplicated across beta, RC and final release notes,
# except for the pre-launch release notes.
if ('-beta' in notes or '-rc' in notes) and '1.0.0-' not in notes:
continue
authors = authors_in_release_notes(notes)
for author in authors:
commits = int(authors[author])