Verify CONTRIBUTORS file

This commit is contained in:
Jakob Borg 2014-08-25 14:55:08 +02:00
parent eee702f299
commit fce73f6f17
2 changed files with 23 additions and 3 deletions

View File

@ -2,12 +2,12 @@ Aaron Bieber <qbit@deftly.net>
Alexander Graf <register-github@alex-graf.de> Alexander Graf <register-github@alex-graf.de>
Andrew Dunham <andrew@du.nham.ca> Andrew Dunham <andrew@du.nham.ca>
Audrius Butkevicius <audrius.butkevicius@gmail.com> Audrius Butkevicius <audrius.butkevicius@gmail.com>
Arthur Axel fREW Schmidt <frew@afoolishmanifesto.com> Arthur Axel fREW Schmidt <frew@afoolishmanifesto.com> <frioux@gmail.com>
Ben Sidhom <bsidhom@gmail.com> Ben Sidhom <bsidhom@gmail.com>
Brandon Philips <brandon@ifup.org> Brandon Philips <brandon@ifup.org>
Gilli Sigurdsson <gilli@vx.is> Gilli Sigurdsson <gilli@vx.is>
James Patterson <jamespatterson@operamail.com> James Patterson <jamespatterson@operamail.com> <jpjp@users.noreply.github.com>
Jens Diemer <github.com@jensdiemer.de> Jens Diemer <github.com@jensdiemer.de> <git@jensdiemer.de>
Marcin Dziadus <dziadus.marcin@gmail.com> Marcin Dziadus <dziadus.marcin@gmail.com>
Philippe Schommers <philippe@schommers.be> Philippe Schommers <philippe@schommers.be>
Ryan Sullivan <kayoticsully@gmail.com> Ryan Sullivan <kayoticsully@gmail.com>

20
check-contrib.sh Executable file
View File

@ -0,0 +1,20 @@
#!/bin/bash
missing-contribs() {
for email in $(git log --format=%ae master | grep -v jakob@nym.se | sort | uniq) ; do
grep -q "$email" CONTRIBUTORS || echo $email
done
}
no-docs-typos() {
# Commits that are known to not change code
grep -v f2459ef3319b2f060dbcdacd0c35a1788a94b8bd |\
grep -v b61f418bf2d1f7d5a9d7088a20a2a448e5e66801 |\
grep -v f0621207e3953711f9ab86d99724f1d0faac45b1 |\
grep -v f1120d7aa936c0658429edef0037792520b46334
}
for email in $(missing-contribs) ; do
git log --author="$email" --format="%H %ae %s" | no-docs-typos
done