CPAN::Testers::Schema::ResultSet::Release - Query the per-release summary testers data
version 0.025
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' );
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.
$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.
$rs = $rs->by_author( 'PREACTION' );
Add an author constraint to the query, replacing any previous author constraints.
$rs = $rs->since( '2016-01-01T00:00:00' );
Restrict results to only those that have been updated since the given ISO8601 date.
$rs = $rs->maturity( 'stable' );
Restrict results to only those dists that are stable. Also supported: 'dev' to restrict to only development dists.
$rs = $rs->total_by_release
Sum the pass/fail/na/unknown counts by release distribution and version.
DBIx::Class::ResultSet, CPAN::Testers::Schema
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
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.
To install CPAN::Testers::Schema, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CPAN::Testers::Schema
CPAN shell
perl -MCPAN -e shell install CPAN::Testers::Schema
For more information on module installation, please visit the detailed CPAN module installation guide.