From 5d8ab776f09475b0108f0a05c3e1bf2a1da69d1f Mon Sep 17 00:00:00 2001 From: Jack Grigg Date: Thu, 21 Dec 2017 00:25:29 +0000 Subject: [PATCH] Exclude beta and RC release notes from author tallies (except for pre-1.0.0, per previous commit) --- doc/authors.md | 4 ++-- zcutil/release-notes.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/doc/authors.md b/doc/authors.md index 7094aff8b..a6dedffbc 100644 --- a/doc/authors.md +++ b/doc/authors.md @@ -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) diff --git a/zcutil/release-notes.py b/zcutil/release-notes.py index 3413aacaf..01f658f07 100755 --- a/zcutil/release-notes.py +++ b/zcutil/release-notes.py @@ -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])