summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth Graunke <kenneth@whitecape.org>2014-04-21 16:17:10 -0700
committerKenneth Graunke <kenneth@whitecape.org>2014-04-21 16:17:10 -0700
commitfc80c04eb03e61a249f68e6f629f681c3995a683 (patch)
treefca8fc574da6e328d36ead977d733d2b30e3ec3f
Initial commit (lol)
-rwxr-xr-xcommit-org-stats9
-rwxr-xr-xcommit-stats8
-rwxr-xr-xfix-emails71
-rwxr-xr-xreview-org-stats10
-rwxr-xr-xreview-stats9
-rwxr-xr-xto-organizations55
6 files changed, 162 insertions, 0 deletions
diff --git a/commit-org-stats b/commit-org-stats
new file mode 100755
index 0000000..06d5b3d
--- /dev/null
+++ b/commit-org-stats
@@ -0,0 +1,9 @@
+#! /bin/bash
+
+git log $@ \
+| grep '^Author:' \
+| sed 's/^Author: //g' \
+| sed 's/>[^>]*$/>/g' \
+| $(dirname $0)/fix-emails \
+| $(dirname $0)/to-organizations \
+| sort | uniq -c | sort -n -r | less
diff --git a/commit-stats b/commit-stats
new file mode 100755
index 0000000..ffc0b6d
--- /dev/null
+++ b/commit-stats
@@ -0,0 +1,8 @@
+#! /bin/bash
+
+git log $@ \
+| grep '^Author:' \
+| sed 's/^Author: //g' \
+| sed 's/>[^>]*$/>/g' \
+| $(dirname $0)/fix-emails \
+| sort | uniq -c | sort -n -r | less
diff --git a/fix-emails b/fix-emails
new file mode 100755
index 0000000..e4d92a3
--- /dev/null
+++ b/fix-emails
@@ -0,0 +1,71 @@
+#! /bin/bash
+#
+# This script attempts to fix typos in people's names/email addresses,
+# as well as combine identities of people who use multiple email addresses.
+#
+
+cat \
+| sed 's/ at /@/g' \
+| sed 's/-at-/@/g' \
+| sed 's/-dot-com/.com/g' \
+| sed "s/ 'at' /@/g" \
+| sed "s/ 'dot' /./g" \
+| sed 's/@\./@/g' \
+| sed 's/\([^ ]\)</\1 </g' \
+| sed 's/com$/com>/g' \
+| sed 's/idr@freedesktop.org/ian.d.romanick@intel.com/g' \
+| sed 's/idr@lists.freedesktop.org/ian.d.romanick@intel.com/g' \
+| sed 's/idr@us.ibm.com/ian.d.romanick@intel.com/g' \
+| sed 's/romanick\.intel\.com/romanick@intel.com/g' \
+| sed 's/romainck/romanick/g' \
+| sed 's/Iam Romanick/Ian Romanick/g' \
+| sed 's/Matt Tuner/Matt Turner/g' \
+| sed 's/matts88/mattst88/g' \
+| sed 's/Anunj Phogat/Anuj Phogat/g' \
+| sed 's/Ken Graunke/Kenneth Graunke/g' \
+| sed 's/Kenneth Gruanke/Kenneth Graunke/g' \
+| sed 's/Marek Ol????k/Marek Olšák/g' \
+| sed 's/Marek Ol ák/Marek Olšák/g' \
+| sed 's/maraeo@gmail.com/marek.olsak@amd.com/g' \
+| sed 's/alex.deucher@amd.com/alexander.deucher@amd.com/g' \
+| sed 's/alexdeucher@gmail.com/alexander.deucher@amd.com/g' \
+| sed 's/vmare.com/vmware.com/g' \
+| sed 's/strereotype441@gmail.com/stereotype441@gmail.com/g' \
+| sed 's/stereoytpe441@gmail.com/stereotype441@gmail.com/g' \
+| sed 's/Paul-Berry/Paul Berry/g' \
+| sed 's/chad@chad-versace.us/chad.versace@linux.intel.com/g' \
+| sed 's/chad.versace@intel.com/chad.versace@linux.intel.com/g' \
+| sed 's/Chad Verace/Chad Versace/g' \
+| sed 's/Chad Versace chad.versace@linux.intel.com/chad.versace@linux.intel.com/g' \
+| sed 's/Dylan Baken/Dylan Baker/g' \
+| sed 's/aholt.net/anholt.net/g' \
+| sed 's/anho.net/anholt.net/g' \
+| sed 's/<eric@anholt>/<eric@anholt.net>/g' \
+| sed 's/^<eric@anholt.net>$/Eric Anholt <eric@anholt.net>/g' \
+| sed 's/krh@redhat.com/krh@bitplanet.net/g' \
+| sed 's/virtousgeek.org/virtuousgeek.org/g' \
+| sed 's/jljusten@gmail.com/jordan.l.justen@intel.com/g' \
+| sed 's/Bornecranz/Bornecrantz/g' \
+| sed 's/Bornecrants/Bornecrantz/g' \
+| sed 's/Bornecrant/Bornecrantz/g' \
+| sed 's/Bornecrantzz/Bornecrantz/g' \
+| sed 's/Jose Fonseca/José Fonseca/g' \
+| sed 's/jrfonseca@tungstengraphics.com/jfonseca@vmware.com/g' \
+| sed 's/jose.r.fonseca@gmail.com/jfonseca@vmware.com/g' \
+| sed 's/Daenzer/Dänzer/g' \
+| sed 's/michel@daenzer.net/michel.daenzer@amd.com/g' \
+| sed 's/Stellad/Stellard/g' \
+| sed 's/tom@stellard.net/thomas.stellard@amd.com/g' \
+| sed 's/^Mathias.Froehlich@web.de$/Mathias Fröhlich <Mathias.Froehlich@web.de>/g' \
+| sed 's/Froehlich/Fröhlich/g' \
+| sed 's/vlee@vmware.com/vlee@freedesktop.org/g' \
+| sed 's/m.b.lankhorst@gmail.com/maarten.lankhorst@canonical.com/g' \
+| sed 's/maarten.lankhorst@ubunutu.com/maarten.lankhorst@canonical.com/g' \
+| sed 's/stephane.marchesin@gmail.com/marcheu@chromium.org/g' \
+| sed 's/stephane.marchesin@gmail.com/marcheu@chromium.org/g' \
+| sed 's/Rob Clark robdclark@freedesktop.org/robclark@freedesktop.org/g' \
+| sed 's/airlied@gmail.com/airlied@redhat.com/g' \
+| sed 's/airliedfreedesktop.org/airlied@redhat.com/g' \
+| sed 's/LunarG.com/lunarg.com/g' \
+| sed 's/MarkKMueller@gmail.com/markkmueller@gmail.com/g' \
+| sed 's/^\s*//g'
diff --git a/review-org-stats b/review-org-stats
new file mode 100755
index 0000000..af166ce
--- /dev/null
+++ b/review-org-stats
@@ -0,0 +1,10 @@
+#! /bin/bash
+
+git log $@ \
+| grep Reviewed-by \
+| sed 's/^[^R]*Reviewed-by:* *//g' \
+| sed 's/>[^>]*$/>/g' \
+| sed 's/Reviewed-by:* *//g' \
+| $(dirname $0)/fix-emails \
+| $(dirname $0)/to-organizations \
+| sort | uniq -c | sort -n -r | less
diff --git a/review-stats b/review-stats
new file mode 100755
index 0000000..b1200ef
--- /dev/null
+++ b/review-stats
@@ -0,0 +1,9 @@
+#! /bin/bash
+
+git log $@ \
+| grep Reviewed-by \
+| sed 's/^[^R]*Reviewed-by:* *//g' \
+| sed 's/>[^>]*$/>/g' \
+| sed 's/Reviewed-by:* *//g' \
+| $(dirname $0)/fix-emails \
+| sort | uniq -c | sort -n -r | less
diff --git a/to-organizations b/to-organizations
new file mode 100755
index 0000000..1a92fa2
--- /dev/null
+++ b/to-organizations
@@ -0,0 +1,55 @@
+#! /bin/bash
+
+cat \
+| sed 's/.*intel.com.*/Intel/g' \
+| sed 's/.*amd.com.*/AMD/g' \
+| sed 's/.*vmware.com.*/VMWare/g' \
+| sed 's/.*lunarg.com.*/LunarG/g' \
+| sed 's/.*redhat.com.*/Red Hat/g' \
+| sed 's/.*google.com.*/Google/g' \
+| sed 's/.*chromium.org.*/Google/g' \
+| sed 's/.*canonical.com.*/Canonical/g' \
+| sed 's/.*ubuntu.com.*/Canonical/g' \
+| sed 's/.*apple.com.*/Apple/g' \
+| sed 's/.*oracle.com.*/Oracle/g' \
+| sed 's/.*samsung.com.*/Samsung/g' \
+| sed 's/.*linaro.org.*/Linaro/g' \
+| sed 's/.*ibm.com.*/IBM/g' \
+| sed 's/.*mozilla.com.*/Mozilla/g' \
+| sed 's/.*suse.com.*/SuSE/g' \
+| sed 's/.*gentoo.org.*/Gentoo/g' \
+| sed 's/.*debian.org.*/Debian/g' \
+| sed 's/.*kde.org.*/KDE/g' \
+| sed 's/.*igalia.com.*/Igalia/g' \
+| sed 's/Eric Anholt <eric@anholt.net>/Intel/g' \
+| sed 's/Kenneth Graunke <kenneth@whitecape.org>/Intel/g' \
+| sed 's/Matt Turner <mattst88@gmail.com>/Intel/g' \
+| sed 's/Paul Berry <stereotype441@gmail.com>/Intel/g' \
+| sed 's/Chris Forbes <chrisf@ijw.co.nz>/Intel/g' \
+| sed 's/Anuj Phogat <anuj.phogat@gmail.com>/Intel/g' \
+| sed 's/Kristian Høgsberg <krh@bitplanet.net>/Intel/g' \
+| sed 's/Robert Bragg <robert@sixbynine.org>/Intel/g' \
+| sed 's/Carl Worth <cworth@cworth.org>/Intel/g' \
+| sed 's/Keith Packard <keithp@keithp.com>/Intel/g' \
+| sed 's/Daniel Vetter <daniel.vetter@ffwll.ch>/Intel/g' \
+| sed 's/Rodrigo Vivi <rodrigo.vivi@gmail.com>/Intel/g' \
+| sed 's/Todd Previte <tprevite@gmail.com>/Intel/g' \
+| sed 's/Dylan Baker <baker.dylan.c@gmail.com>/Intel/g' \
+| sed 's/Josh Triplett <josh@joshtriplett.org>/Intel/g' \
+| sed 's/Mark Mueller <markkmueller@gmail.com>/Intel/g' \
+| sed 's/Nicholas Mack <nichmack@gmail.com>/Intel/g' \
+| sed 's/Jacob Penner <jkpenner91@gmail.com>/Intel/g' \
+| sed 's/Steve Miller <dervishx@gmail.com>/Intel/g' \
+| sed 's/Ben Widawsky <ben@bwidawsk.net>/Intel/g' \
+| sed 's/Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>/Intel/g' \
+| sed 's/Alexander von Gluck IV <kallisti5@unixzen.com>/Haiku/g' \
+| sed 's/Rob Clark <robclark@freedesktop.org>/Red Hat/g' \
+| sed 's/Dave Airlie <airlied@gmail.com>/Red Hat/g' \
+| sed 's/Chia-I Wu <olvaffe@gmail.com>/LunarG/g' \
+| sed 's/.*@.*/Independent/g'
+
+#| sed 's/.*Emil Velikov.*/Emil Velikov/g' \
+
+# Francisco Jerez worked at Intel for a while, but this tool is ignorant about
+# date ranges and he did piles of work outside of Intel too, so consider him
+# independent for now.