Group
Extension

Matches 3

CPAN-Testers-Schema ( P/PR/PREACTION/CPAN-Testers-Schema-0.028.tar.gz, PREACTION, 2025; MetaCPAN )
CPAN-Testers-Schema/lib/CPAN/Testers/Schema.pm ( view source; MetaCPAN )
eased} )->epoch;
                $_->{type} = 'cpan';
                $_;
            } $tx->res->json->@*;
            $self->resultset( 'Upload' )->update_or_create( $_ ) for @rows;
        }

     
n )} })
                                 ->first->id;
                $_;
            } $tx->res->json->@*;
            # ; use Data::Dumper;
            # ; say "Populate summary: " . Dumper \@rows;
err->{message};
            }
            my @results = $search->{version} ? ( $tx->res->json ) : $tx->res->json->@*;
            my @rows = map {
                delete $_->{author}; # Author is from
CPAN-Testers-Schema ( P/PR/PREACTION/CPAN-Testers-Schema-0.028.tar.gz, PREACTION, 2025; MetaCPAN )
CPAN-Testers-Schema/lib/CPAN/Testers/Schema/Result/TestReport.pm ( view source; MetaCPAN )
age CPAN::Testers::Schema::Result::TestReport;
our $VERSION = '0.028';
# ABSTRACT: Raw reports as JSON documents

#pod =head1 SYNOPSIS
#pod
#pod     my $schema = CPAN::Testers::Schema->connect( $dsn, 
hema>
#pod
#pod =cut

use CPAN::Testers::Schema::Base 'Result';
use Data::UUID;
use DateTime;
use JSON::MaybeXS;
use Mojo::Util qw( html_unescape );
table 'test_report';

__PACKAGE__->load_components(
n the report was inserted into the database.
#pod Will default to the current time.
#pod
#pod The JSON report also contains a C<created> field. This is the date/time
#pod that the report was created o
CPAN-Testers-Schema ( P/PR/PREACTION/CPAN-Testers-Schema-0.028.tar.gz, PREACTION, 2025; MetaCPAN )
CPAN-Testers-Schema/lib/CPAN/Testers/Schema/ResultSet/TestReport.pm ( view source; MetaCPAN )
:Base 'ResultSet';
use Scalar::Util qw( blessed );
use Log::Any qw( $LOG );
use JSON::MaybeXS qw( decode_json encode_json );
use Data::FlexSerializer;
use CPAN::Testers::Report;
use CPAN::Testers::Fac
Data::FlexSerializer->new(
    assume_compression  => 1,
    detect_sereal       => 1,
    detect_json         => 1,
);

sub parse_metabase_report( $self, $row ) {
    if ( $row->{fact} ) {
        re
" column:
    # Sometimes the `content` keys are also JSON, sometimes they aren't.
    # So, if we get a simple scalar, we assume it's encoded JSON and
    # decode it for normalization
    for my $ke

Powered by Groonga
Maintained by Kenichi Ishigaki <ishigaki@cpan.org>. If you find anything, submit it on GitHub.