From 52a4ca93a61ad414182c6fe53a23b626eda8cbfb Mon Sep 17 00:00:00 2001 From: Eino Keskitalo Date: Sat, 7 Nov 2009 00:26:30 +0200 Subject: A hack to convert CIA's idea of committeer names into IRC handles where applicable. Signed-off-by: Eino Keskitalo --- crawl-ref/git-hooks/crawl-ref-cia | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) 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 = )) { } close COMMIT; - open DIFF, "git-diff-tree -r $parent[0] $tree|" or die "git-diff-tree $parent[0] $tree: $!"; while (defined ($line = )) { 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); -- cgit v1.2.3-54-g00ecf