CPAN::Testers::Schema::Result::Release - Collected test report stats about a single CPAN release
version 0.011
my $release = $schema->resultset( 'Release' )->find({ dist => 'My-Dist', version => '1.001', }); say sprintf "My dist has %d pass and %d fail reports", $release->pass, $release->fail; $schema->resultset( 'Release' ) ->search({ dist => 'My-Dist', version => '1.001' }) ->update({ pass => \'pass+1' }); # increment PASSes
This table contains a collected summary of release data suitable for quick views of sets of distributions and versions.
This table's data is generated by Labyrinth::Plugin::CPAN::Release.
The name of the distribution.
The version of the distribution.
The ID of the latest report for this release from the `cpanstats` table. See CPAN::Testers::Schema::Result::Stats.
The GUID of the latest report for this release from the `cpanstats` table. See CPAN::Testers::Schema::Result::Stats.
The installability of this release: 1 if the release is on CPAN. 2 if the release has been deleted from CPAN and is only on BackPAN.
1
2
The maturity of this release. 1 if the release is stable and ostensibly indexed by CPAN. 2 if the release is a developer release, unindexed by CPAN.
The maturity of the Perl these reports were sent by: 1 if the Perl is a stable release. 2 if the Perl is a developer release.
The patch status of the Perl that sent the report. 2 if the Perl reports being patched, 1 otherwise.
The number of PASS results for this release.
PASS
The number of FAIL results for this release.
FAIL
The number of NA results for this release.
NA
The number of UNKNOWN results for this release.
UNKNOWN
The ID of this upload from the `uploads` table.
Get the related row from the `uploads` table. See CPAN::Testers::Schema::Result::Upload.
Get the related row from the `cpanstats` table. See CPAN::Testers::Schema::Result::Stats.
This report is the latest report, by date, that went in to this release summary. The date field in the report can be used to determine when this release was last updated.
DBIx::Class::Row, CPAN::Testers::Schema
Oriol Soriano <oriolsoriano@gmail.com>
Doug Bell <preaction@cpan.org>
This software is copyright (c) 2016 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.