Data::CodeRepos::CommitPing - CodeRepos commit ping data handler
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
Data::CodeRepos::CommitPing is CodeRepos commit log parser and handler.
Kazuhiro Osawa <ko@yappo.ne.jp>
http://coderepos.org/share/ http://coderepos.org/share/wiki/commit-ping/SITEINFO
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.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Data::CodeRepos::CommitPing, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Data::CodeRepos::CommitPing
CPAN shell
perl -MCPAN -e shell install Data::CodeRepos::CommitPing
For more information on module installation, please visit the detailed CPAN module installation guide.