Browse Source

Verify CONTRIBUTORS file

Jakob Borg 11 years ago
parent
commit
fce73f6f17
2 changed files with 23 additions and 3 deletions
  1. 3 3
      CONTRIBUTORS
  2. 20 0
      check-contrib.sh

+ 3 - 3
CONTRIBUTORS

@@ -2,12 +2,12 @@ Aaron Bieber <[email protected]>
 Alexander Graf <[email protected]>
 Andrew Dunham <[email protected]>
 Audrius Butkevicius <[email protected]>
-Arthur Axel fREW Schmidt <[email protected]>
+Arthur Axel fREW Schmidt <[email protected]> <[email protected]>
 Ben Sidhom <[email protected]>
 Brandon Philips <[email protected]>
 Gilli Sigurdsson <[email protected]>
-James Patterson <[email protected]>
-Jens Diemer <[email protected]>
+James Patterson <[email protected]> <[email protected]>
+Jens Diemer <[email protected]> <[email protected]>
 Marcin Dziadus <[email protected]>
 Philippe Schommers <[email protected]>
 Ryan Sullivan <[email protected]>

+ 20 - 0
check-contrib.sh

@@ -0,0 +1,20 @@
+#!/bin/bash
+
+missing-contribs() {
+	for email in $(git log --format=%ae master | grep -v [email protected] | 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
+