NAME

admin_smokedb - Import smoke report in a mysql database

SYNOSPIS

admin_smokedb --clear --suck --import --dir=s --verbose 
              --nntp_server=s --mysql=s --user=s 
              --password=s --database=s --update_archi
              --help --man --create --drop

DESCRIPTION

This script help you to populate smoke database

The first time you run this script, you must do:

admin_smokedb --create

for create the needed mysql table. Use --user, --password, --database for overwrite default values.

Then you must do:

admin_smokedb --suck --import --update_archi

for create a complete smoke database. You can add this sequence to your crontab daily. You can now lauch your browser yo browse database with smoke_db.cgi.

OPTIONS

Options supported at this moment:

Actions

--clear

Remove all reports from database

--create

Create needed tables in mysql for store reports

--drop

Drop tables in mysql created by this app.

--import

Parse and imports reports in database

--suck

Fetch new report from perl.daily-build.reports

--update_archi

Update row 'archi' in database for reports made before Test-Smoke-1.16.

Others options

--dir= directory

Directory where store fetched reports. Default is HOME/.perl.daily-build.reports

--nntp_server= nntp host

Nntp host to use with --fetch. Default is nntp.perl.org

--verbose

Display informations during execution

--user= user --password=s pass --database= db

Informations about mysql connection. Default is current user, no password, database 'smoke'

SEE ALSO

Test::Smoke::Database, Test::Smoke::Database::FAQ, Test::Smoke

VERSION

$Revision: 1.3 $

AUTHOR

Alain BARBET with some help from Abe Timmerman