NAME
CPAN::Testers::Schema::ResultSet::Release - Query the per-release summary testers data
VERSION
version 0.027
SYNOPSIS
my $rs = $schema->resultset( 'Release' );
$rs->by_dist( 'My-Dist', '0.001' );
$rs->by_author( 'PREACTION' );
$rs->since( '2016-01-01T00:00:00' );
$rs->maturity( 'stable' );
DESCRIPTION
This object helps to query the per-release test report summaries. These summaries say how many pass, fail, NA, and unknown results a single version of a distribution has.
METHODS
by_dist
$rs = $rs->by_dist( 'My-Dist' );
$rs = $rs->by_dist( 'My-Dist', '0.001' );
Add a dist constraint to the query (with optional version), replacing any previous dist constraints.
by_author
$rs = $rs->by_author( 'PREACTION' );
Add an author constraint to the query, replacing any previous author constraints.
since
$rs = $rs->since( '2016-01-01T00:00:00' );
Restrict results to only those that have been updated since the given ISO8601 date.
maturity
$rs = $rs->maturity( 'stable' );
Restrict results to only those dists that are stable. Also supported: 'dev' to restrict to only development dists.
total_by_release
$rs = $rs->total_by_release
Sum the pass/fail/na/unknown counts by release distribution and version.
SEE ALSO
DBIx::Class::ResultSet, CPAN::Testers::Schema
AUTHORS
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
COPYRIGHT AND LICENSE
This software is copyright (c) 2018 by Oriol Soriano, Doug Bell.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.