Changeset 6374

Show
Ignore:
Timestamp:
02/08/08 15:14:54 (5 years ago)
Author:
cho45
Message:

websites/coderepos.org/scripts/commit-ping-to-irc/commig-ping-tiarra.rb:

rev をだすように。project のルールついか

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • websites/coderepos.org/scripts/commit-ping-to-irc/commig-ping-tiarra.rb

    r6372 r6374  
    1616                info = OpenStruct.new(yaml) 
    1717                info.comment.sub!(/^.+:/m, "") if info.comment.include?(":") 
    18                 info.rev = "????" 
    1918 
    2019                info.lang     = [] 
     
    3332                                info.platform << platform 
    3433                                info.project  << project 
     34                        when %r{^websites/([^/]+)} 
     35                                info.project << Regexp.last_match[1] 
    3536                        else 
    3637                                info.path << o["path"] 
    3738                        end 
    3839                end 
     40 
     41                info.project  = info.path if info.project.empty? 
    3942 
    4043                info.lang     = info.lang.join(", ") 
     
    120123                                                                <textarea name="yaml" style="width: 100%; height: 10em"> 
    121124                                --- 
     125                                rev: "0000" 
    122126                                author: clouder 
    123127                                comment: 'lang/perl/HTTP-MobileAgent-Plugin-Locator: modified pod' 
     
    143147__END__ 
    144148--- 
     149rev: "0000" 
    145150author: clouder 
    146151comment: 'lang/perl/HTTP-MobileAgent-Plugin-Locator: modified pod' 
     
    149154  - path: lang/perl/HTTP-MobileAgent-Plugin-Locator/trunk/lib/HTTP/MobileAgent/Plugin/Locator.pm 
    150155    status: U 
     156  - path: websites/coderepos.org/aaa 
     157    status: U