Show
Ignore:
Timestamp:
05/03/08 23:32:58 (5 years ago)
Author:
charsbar
Message:

Acme::CPANAuthors::CodeRepos?: improved mapping

Location:
lang/perl/Acme-CPANAuthors-CodeRepos/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • lang/perl/Acme-CPANAuthors-CodeRepos/trunk/lib/Acme/CPANAuthors/CodeRepos.pm

    r11018 r11038  
    1515    DAIBA => 'Keiichi Daiba', 
    1616    DANKOGAI => 'Dan Kogai', 
     17    DMAKI => 'Daisuke Maki', 
    1718    DROLSKY => 'Dave Rolsky', 
    1819    FUJIWARA => 'FUJIWARA Shunichiro', 
    1920    HANK => 'Bill Moseley', 
     21    HIDE => 'Hideo Kimura', 
    2022    HIO => 'YAMASHINA Hio', 
    2123    HIRATARA => 'Masahiro Honma', 
     24    HIROSE => 'HIROSE Masaaki', 
    2225    HIROYUKIM => 'Yamanaka Hiroyuki', 
    2326    IKEBE => 'IKEBE Tomohiro', 
    2427    ISHIGAKI => 'Kenichi Ishigaki', 
     28    ITWARRIOR => 'Hitoshi Amano', 
    2529    JESSE => 'Jesse Vincent', 
    2630    JIRO => 'Jiro Nishiguchi', 
     
    3236    KNAGANO => 'Keiichiro Nagano', 
    3337    KOKOGIKO => 'OHTSUKA Ko-hei', 
     38    KURIHARA => 'Yoshiki KURIHARA', 
    3439    LYOKATO => 'Lyo Kato', 
    3540    MARCEL => 'Marcel Gruenauer == hanekomu', 
    3641    MASAKI => 'NAKAGAWA Masaki', 
    3742    MATTN => 'Yasuhiro Matsumoto', 
     43    MIKIHOSHI => 'KAN Fushihara', 
    3844    MIYAGAWA => 'Tatsuhiko Miyagawa', 
    3945    MIYAMUKO => 'MIYAMUKO Katsuyuki', 
     46    MIYAZAKI => 'Ittetsu Miyazaki', 
    4047    MIZZY => 'Gosuke Miyashita', 
    4148    MRAMBERG => 'Marcus Ramberg', 
     
    5461    TAKESAKO => 'Yoshinori TAKESAKO', 
    5562    TAKKYUN => 'Takuya Otani', 
     63    TANIGUCHI => 'Koichi Taniguchi', 
     64    TARO => 'Daisuke Komatsu', 
    5665    TEEJAY => 'Aaron James Trevena', 
    5766    TOKUHIROM => 'Tokuhiro Matsuno', 
     
    6776    ZIGOROU => 'Toru Yamaguchi', 
    6877); 
     78 
     79# people whose coderepos id doesn't match their pause id 
     80sub _mapping {( 
     81    AMACHANG => 'ITWARRIOR', 
     82    AUTARCH => 'DROLSKY', 
     83    BULB => '- other person -', 
     84    CASTAWAY => 'JROBINSON', 
     85    CHARSBAR => 'ISHIGAKI', 
     86    CLOUDER => 'KURIHARA', 
     87    DAISUKE => 'DMAKI', 
     88    DANN => '- other person -', 
     89    FBIS => 'MIYAZAKI', 
     90    HANEKOMU => 'MARCEL', 
     91    HIDEK => 'HIDE', 
     92    HIROSE31 => 'HIROSE', 
     93    KAN => 'MIKIHOSHI', 
     94    MARCUS => 'MRAMBERG', 
     95    MATTHEWT => 'MSTROUT', 
     96    MOSELEY => 'HANK', 
     97    NIPOTAN => 'TANIGUCHI', 
     98    NOTHINGMUCH => 'NUFFIN', 
     99    OMEGA => '- other person -', 
     100    TAKEMARU => 'TAKERU', 
     101    VKGTARO => 'TARO', 
     102)} 
    69103 
    701041; 
     
    82116=head1 MAINTENANCE 
    83117 
    84 If you are a CodeRepos user and are not listed here, add your own id/name. 
     118If you are a CodeRepos user and are not listed here, add your own id/name, or preferably update tools/update.pl in the repository (probably modify %mapping would suffice). 
    85119 
    86120=head1 SVN REPOSITORY 
  • lang/perl/Acme-CPANAuthors-CodeRepos/trunk/tools/update.pl

    r11018 r11038  
    1616my %mapping = ( 
    1717  # people whose coderepos id is not the same as their pause id 
     18  AMACHANG    => 'ITWARRIOR', 
    1819  AUTARCH     => 'DROLSKY', 
    1920  CASTAWAY    => 'JROBINSON', 
    2021  CHARSBAR    => 'ISHIGAKI', 
     22  CLOUDER     => 'KURIHARA', 
     23  DAISUKE     => 'DMAKI', 
     24  FBIS        => 'MIYAZAKI', 
    2125  HANEKOMU    => 'MARCEL', 
     26  HIDEK       => 'HIDE', 
     27  HIROSE31    => 'HIROSE', 
     28  KAN         => 'MIKIHOSHI', 
    2229  MARCUS      => 'MRAMBERG', 
    2330  MATTHEWT    => 'MSTROUT', 
    2431  MOSELEY     => 'HANK', 
     32  NIPOTAN     => 'TANIGUCHI', 
    2533  NOTHINGMUCH => 'NUFFIN', 
     34  TAKEMARU    => 'TAKERU', 
     35  VKGTARO     => 'TARO', 
    2636 
    2737  # people whose coderepos id matches other person's pause id 
    28   BULB        => '-none-', 
    29   DANN        => '-none-', 
    30   OMEGA       => '-none-', 
     38  BULB        => '- other person -', 
     39  DANN        => '- other person -', 
     40  OMEGA       => '- other person -', 
    3141); 
    3242 
     
    3444 
    3545my $committers; 
    36 unless ( $command =~ /no_update/ ) { 
     46if ( $command && $command =~ /scraper/ ) { 
    3747  my $scraper = scraper { 
    3848    process "ul>li>a", 
     
    8292$engine->process( 
    8393  \$template, 
    84   { authors => \%cpan_authors, version => $version }, 
     94  { 
     95    authors => \%cpan_authors, 
     96    version => $version, 
     97    mapping => \%mapping 
     98  }, 
    8599  $target, 
    86100) or die $engine->error; 
     
    101115[% END -%] 
    102116); 
     117 
     118# people whose coderepos id doesn't match their pause id 
     119sub _mapping {( 
     120[% FOREACH committer IN mapping -%] 
     121    [% committer.key %] => '[% committer.value %]', 
     122[% END -%] 
     123)} 
    103124 
    1041251;