Teach checkAUTHORS about all the authors in 5.8.2-5.8.8, and any others
Nicholas Clark [Mon, 16 Jan 2006 13:10:06 +0000 (13:10 +0000)]
whose e-mail address I recognise.

p4raw-id: //depot/perl@26861

Porting/checkAUTHORS.pl

index ae9dc71..4468667 100644 (file)
@@ -99,7 +99,14 @@ my %map = reverse (
                   "rmgiroux\100acm.org" => "rmgiroux\100hotmail.com",
                   "smcc\100mit.edu" => "smcc\100ocf.berkeley.edu",
                   "steven\100accognoscere.org" => "schubiger\100cpan.org",
-                  "!" => "me-02\100ton.iguana.be",
+                  "richard.foley\100ubsw.com"
+                  => "richard.foley\100t-online.de",
+                  "damian\100cs.monash.edu.au" => "damian\100conway.org",
+                  "gp\100familiehaase.de" => "gerrit\100familiehaase.de",
+                  "juerd\100cpan.org" => "juerd\100convolution.nl",
+                  "paul.green\100stratus.com"
+                  => "paul_greenvos\100vos.stratus.com",
+                  "alian\100cpan.org" => "alian\100alianwebserver.com",
                   # Maybe we should special case this to get real names out?
                   "perlbug\100perl.org" => "perlbug-followup\100perl.org",
                  );
@@ -107,7 +114,8 @@ my %map = reverse (
 # Make sure these are all lower case.
 
 $map{"autrijus\100egb.elixus.org"} = $map{"autrijus\100geb.elixus.org"}
-  = $map{"autrijus\100gmail.com"} = "autrijus\100autrijus.org";
+  = $map{"autrijus\100gmail.com"} = $map{"autrijus\100ossf.iis.sinica.edu.tw"}
+  = "autrijus\100autrijus.org";
 $map{"ilya\100math.ohio-state.edu"} = $map{"ilya\100math.berkeley.edu"}
   = $map{"ilya\100math.berkeley.edu"} = "nospam-abuse\100ilyaz.org";
 $map{"philip.newton\100gmx.net"} = $map{"philip.newton\100datenrevision.de"}
@@ -119,7 +127,8 @@ $map{"spider\100web.zk3.dec.com"} = $map{"spider\100leggy.zk3.dec.com"}
   = $map{"spider-perl\100orb.nashua.nh.us"}
   = $map{"spider\100peano.zk3.dec.com"}
   = "spider\100orb.nashua.nh.us";
-$map{"a.koenig\100mind.de"} = "andreas.koenig\100anima.de";
+$map{"andreas.koenig.gmwojprw\100franz.ak.mind.de"}
+  = $map{"a.koenig\100mind.de"} =  "andreas.koenig\100anima.de";
 $map{"japhy\100perlmonk.org"} = $map{"japhy\100cpan.org"}
   = "japhy\100pobox.com";
 $map{"rmbarker\100cpan.org"} = "robin.barker\100npl.co.uk";
@@ -137,12 +146,34 @@ $map{"perl\100dellah.anu.edu.au"} = "spoon\100cpan.org";
 $map{"rjk-perl-p5p\100tamias.net"} = "rjk\100linguist.dartmouth.edu";
 $map{"sts\100accognoscere.org"} = "steven\100accognoscere.org";
 $map{"s.payrard\100wanadoo.fr"} = "stef\100mongueurs.net";
+$map{"richard.foley\100ubs.com"} = "richard.foley\100ubsw.com";
+# I assume that Ton Hopsel's lack of e-mail address in AUTHORS is deliberate
+$map{"me-02\100ton.iguana.be"} = $map{"perl-5.8.0\100ton.iguana.be"}
+  = $map{"perl5-porters\100ton.iguana.be"} = "!";
+# No real name for these address
+$map{$_} = "?" foreach ("grommel\100sears.com", "pxm\100nubz.org",
+                       "padre\100elte.hu", "jdhedden\100" . "1979.usna.com",
+                       "nothingmuch\100woobling.org", "bob\100starlabs.net",
+                       "bbucklan\100jpl-devvax.jpl.nasa.gov",
+                       "bilbo\100ua.fm", "mats\100sm5sxl.net",
+                       "chris\100ex-parrot.com", 
+                       "kaminsky\100math.huji.ac.il",
+                       "bonefish\100cs.tu-berlin.de",
+                       "bstrand\100switchmanagement.com",
+                       "glasser\100tang-eleven-seventy-nine.mit.edu",
+                       "raf\100tradingpost.com.au", "erik\100cs.uni-jena.de",
+                       "jms\100mathras.comcast.net", "kvr\100centrum.cz",
+                       "perlbug\100veggiechinese.net",
+                       "scott\100perlcode.org",
+                      );
+# We don't have an e-mail address for Beau Cox
+$map{"beau\100beaucox.com"} = "?";
 
 $map{"rgarciasuarez\100mandrakesoft.com"}
   = $map{"rgarciasuarez\100mandriva.com"}
   = $map{"raphel.garcia-suarez\100hexaflux.com"} = "rgs";
 $map{"jhietaniemi\100gmail.com"} = $map{"jhi\100kosh.hut.fi"}
-  = $map{"jhi\100cc.hut.fi"} = "jhi";
+  = $map{"jhi\100cc.hut.fi"} = $map{"jarkko.hietaniemi\100nokia.com"} = "jhi";
 $map{"nick\100ccl4.org"} = $map{"nick\100talking.bollo.cx"}
   = $map{"nick\100plum.flirble.org"} = $map{"nick\100babyhippo.co.uk"}
   = $map{"nick\100bagpuss.unfortu.net"} = "nicholas";
@@ -150,11 +181,12 @@ $map{"craig.berry\100psinetcs.com"} = $map{"craig.berry\100metamorgs.com"}
   = $map{"craig.berry\100signaltreesolutions.com"}
   = $map{"craigberry\100mac.com"} = "craigb";
 $map{"davem\100iabyn.nospamdeletethisbit.com" }
-  = $map{"davem\100fdgroup.co.uk"} = "davem";
+  = $map{"davem\100fdgroup.co.uk"} = $map{"davem\100fdisolutions.com"}
+ = "davem";
 $map{"alan.burlison\100uk.sun.com"} = "alanbur";
 $map{"artur\100contiller.se"} = $map{"arthur\100contiller.se"} = "sky";
 $map{"h.m.brand\100hccnet.nl"} = $map{"merijn\100l1.procura.nl"} = "merijn";
-$map{"nik\100tiuk.ti.com"} = "nick";
+$map{"nik\100tiuk.ti.com"} = $map{"nick.ing-simmons\100elixent.com"} = "nick";
 $map{"hv\100crypt.org"} = "hv";
 $map{"gisle\100aas.no"} = "gisle";
 
@@ -182,7 +214,8 @@ if (@authors) {
     $_ = lc $_;
     $authors{$map{$_} || $_}++;
   }
-  $authors{'!'}++;
+  ++$authors{'!'};
+  ++$authors{'?'};
 }
 
 while (<>) {
@@ -250,7 +283,7 @@ sub display_ordered {
 sub process {
   my ($committer, $patch, $log) = @_;
   return unless $committer;
-  my @authors = $log =~ /From:\s+.*?([^"\@ \t\n]+\@[^"\@ \t\n]+)/gm;
+  my @authors = $log =~ /From:\s+.*?([^"\@ \t\n<>]+\@[^"\@ \t\n<>]+)/gm;
 
   if (@authors) {
     foreach (@authors) {