NAME

Test::Smoke::Database - Add / parse /display perl reports smoke database

SYNOPSIS

 $ admin_smokedb --create --suck --import --update_archi
 $ lynx http://localhost/cgi-bin/smoke_db.cgi

DESCRIPTION

This module help to build an application that parses smoke-reports for perl-current and puts the results in a database. This allows for a simple overview of the build status on as wide a variety of supported platforms (operating system/architecture) as possible.

This distribution come with 2 perl scripts:

admin_smokedb

Fetch / Import smoke report in a mysql database. See admin_smokedb

smoke_db.cgi

A www interface to browse this smoke database. Use method from Test::Smoke::Database::Display.

SEE ALSO

admin_smokedb, Test::Smoke::Database::FAQ, Test::Smoke, http://www.alianwebserver.com/perl/smoke/smoke_db.cgi

METHODS

new hash reference

Construct a new Test::Smoke::Database object and return it. This call too connect method of DBD::Mysql and store dbh in $self->{DBH} except if key no_dbconnect is found in hash reference. Then all SQL request will be done thru Test::Smoke::Database::DB.

Actions for admin_smokedb

See admin_smokedb

parse_import

Wrapper. See Test::Smoke::Database::Parsing

suck_ng

Fetch new report from perl.daily-build.reports

Private methods

rename_rpt

Rename fetched report to add no of smoke in name of file. For all reports found, this will append at end of name the number of smoke. After that all *. and *.rpt file will be deleted. This method is auto. called after fetch method.

VERSION

$Revision: 1.12 $

AUTHOR

Alain BARBET with some help from Abe Timmerman