summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEino Keskitalo <evktalo@users.sourceforge.net>2009-11-07 00:26:30 +0200
committerEino Keskitalo <evktalo@users.sourceforge.net>2009-11-07 00:27:06 +0200
commit52a4ca93a61ad414182c6fe53a23b626eda8cbfb (patch)
tree320e67052f03675e63faee035a03bcbc8e4fb8c6
parentb56e52a70cb539a7e88b6395e391f62f5b533e5c (diff)
downloadcrawl-ref-52a4ca93a61ad414182c6fe53a23b626eda8cbfb.tar.gz
crawl-ref-52a4ca93a61ad414182c6fe53a23b626eda8cbfb.zip
A hack to convert CIA's idea of committeer names into IRC handles where applicable.
Signed-off-by: Eino Keskitalo <evktalo@users.sourceforge.net>
-rwxr-xr-xcrawl-ref/git-hooks/crawl-ref-cia14
1 files changed, 13 insertions, 1 deletions
diff --git a/crawl-ref/git-hooks/crawl-ref-cia b/crawl-ref/git-hooks/crawl-ref-cia
index fd542653f4..b77bacb3b5 100755
--- a/crawl-ref/git-hooks/crawl-ref-cia
+++ b/crawl-ref/git-hooks/crawl-ref-cia
@@ -143,7 +143,6 @@ while (defined ($line = <COMMIT>)) {
}
close COMMIT;
-
open DIFF, "git-diff-tree -r $parent[0] $tree|" or die "git-diff-tree $parent[0] $tree: $!";
while (defined ($line = <DIFF>)) {
chomp $line;
@@ -158,6 +157,19 @@ close DIFF;
# XXX: Too trivial this way?
($user) = $author =~ /<(.*?)@/;
+# HACK to convert CIA's idea of committeers names to match the IRC handles
+$user =~ s/stefanor/sorear/;
+$user =~ s/evktalo/Keskitalo/;
+$user =~ s/dploog/dpeg/;
+$user =~ s/bookofjude/due/;
+$user =~ s/zelgadis/Matthew_Cline/;
+$user =~ s/dshaligram/greensnark/;
+$user =~ s/rvollmert/by/;
+$user =~ s/ottochar/pointless_/;
+$user =~ s/ennewalker/Enne/;
+$user =~ s/steven/neunon/;
+
+
$rev = substr($commit, 0, 12);