NAME
Test::Smoke::Database - Add / parse /display perl reports smoke database
SYNOPSIS
$ admin_smokedb --rename --suck --import --update_archi
$ lynx http://localhost/cgi-bin/smokedb.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
- smokedb.cgi
-
A www interface to browse this smoke database
SEE ALSO
admin_smokedb, Test::Smoke::Database::FAQ, Test::Smoke
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}
- rundb SQL request
-
This will do like $dbh->do, but several request can be put in SQL request, separated by ';'
Method for cgi
- nb
-
Return the number of reports found after limit.
- header_html
-
Return the HTML menubar that will be displayed in the CGI
- filter
-
Return the HTML filter screen.
- display
-
Return the main HTML screen with summary
- distinct col of mysql table 'smoke'
Actions for admin_smokedb
See admin_smokedb
- rename_rpt
-
For all reports found, this will append at end of name the number of smoke
- parse_import
-
As his name, this method will parse and import fetched report in database
- suck_ng
-
Fetch new report from perl.daily-build.reports
Private methods
- read_all
- compl_url
VERSION
$Revision: 1.2 $
AUTHOR
Alain BARBET with some help from Abe Timmerman