NAME

Data::CodeRepos::CommitPing - CodeRepos commit ping data handler

SYNOPSIS

use Data::CodeRepos::CommitPing;

# from CGI data
my $data = Data::CodeRepos::CommitPing->new(CGI->new);

# from yaml data
my $data = Data::CodeRepos::CommitPing->new(CGI->new->param('yaml'));

# from HASH ref
my $data = Data::CodeRepos::CommitPing->new({
    author  => 'yappo',
    comment => 'commit log',
    date    => '2008-02-08 14:59:11 +0900',
    files   => [
        {
            path   => 'websites/coderepos.org/scripts/commit-ping-hook.pl',
            status => 'U',
        },
    ],
    rev     => '6373',
});

print $data->revision; # 6373
print $data->comment; # commit log
print $data->author; # yappo
print $data->date; # DateTime object
print $data->files; # file list array ref

print $data->changes_base; # websites/coderepos.org

DESCRIPTION

Data::CodeRepos::CommitPing is CodeRepos commit log parser and handler.

AUTHOR

Kazuhiro Osawa <ko@yappo.ne.jp>

SEE ALSO

http://coderepos.org/share/ http://coderepos.org/share/wiki/commit-ping/SITEINFO

REPOSITORY

svn co http://svn.coderepos.org/share/lang/perl/Data-CodeRepos-CommitPing/trunk Data-CodeRepos-CommitPing

Data::CodeRepos::CommitPing is Subversion repository is hosted at http://coderepos.org/share/. patches and collaborators are welcome.

LICENSE

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.