Perl5::CoreSmokeDB::Schema - DBIC::Schema for the smoke reports database
use Perl5::CoreSmokeDB::Schema;
my $schema = Perl5::CoreSmokeDB::Schema->connect($dsn, $user, $pswd, $options);
my $report = $schema->resultset('Report')->find({ id => 1 });
This class is used in the backend for accessing the database.
Another use is: $schema->deploy()
This ORM is generated by
DBIx::Class::Schema::Loader
and the dbicdump
tool it provides (also see
dbicdump.conf).
Central to the schema are report
s, they have config
s. Each config
has result
s, and each result
may have failures_for_env
that point to a failure
.
At the moment this table is not actively used (as the data is not propagated by
Test::Smoke), but each report
belongs
to a smoke_config
.
This table holds the basic information for a Perl5 core smoke report that is consistent throughout the smoke-run (like OS, hardware, source-tree status and aggregate information).
A config
consists the arguments passed to ./Configure
the name and version
of the c-compiler.
This is the aggregate information of a single make test
run, recording the
value of the PERLIO
environment variable the summary (P
/F
) and the timing
aggregates.
This is an intermediate table to normalise the many-to-many relationship
between a result
and a test-failure
.
This table holds the test name, status and output from the test harness.
This table (tsgateway_config
) holds the schema version of the database and
was only introduced after the first version of the schema. It might also be
used future to keep other global information about the Perl5::CoreSmokeDB
software.
© MMXIII - MMXXII Abe Timmerman abeltje@cpan.org, H.Merijn Brand
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.