package Devel::Tinderbox::Reporter; use strict; use vars qw($VERSION @ISA); $VERSION = '0.10'; require Class::Accessor::Fast; @ISA = qw(Class::Accessor::Fast); my $CLASS = __PACKAGE__; =head1 NAME Devel::Tinderbox::Reporter - Client to send reports to Tinderbox =head1 SYNOPSIS use Devel::Tinderbox::Reporter; my $report = Devel::Tinderbox::Reporter->new; $report->from('your@mail.address.com'); $report->to('tinderbox@their.address.com'); $report->project('the_project'); $report->boxname('your.machine.name'); $report->style('unix'); $report->start; ...go and test your project... $report->log($build_log); $report->end($status); =head1 DESCRIPTION Tinderbox collects and summaries build and test reports from many developers on many machines. This is a simple client for testers to make reports to Tinderbox servers. =head2 Starting off First thing, you need a Devel::Tinderbox::Reporter object. =over 4 =item B my $report = Devel::Tinderbox::Reporter->new; Creates a new reporter representing this testing session. =cut # Inherited from Class::Accessor =back =head2 Tell us a little about yourself You then have to tell it about yourself and what you're testing. Fill in each of these blanks. You can either call these methods individually or pass each to new(). =item B $report->from($my_email); Email address you wish to report as. =item B $report->to($their_email); Email address you're sending reports to. =item B $report->project($project_name); Name of the Tinderbox project you're reporting about. =item B $report->boxname($box_name); Name of the machine this is being built on. This is a unique id for your build. Maybe something like your machine's name, your name and OS. "Schwern blackrider Debian-Linux/PowerPC-testing" =item B