I was curious about this but couldn't see a way to filter specific machines using the web interface. The CPAN Testers Reports page has download links for JSON, RSS and YAML. I downloaded the JSON data and wrote this quick-and-dirty script:

#!/usr/bin/env perl use 5.010; use strict; use warnings; use JSON; my ($json_file, %json_wanted) = @ARGV; open my $json_fh, '<', $json_file or die "Can't open $json_file: $!"; my $json_text = <$json_fh>; close $json_fh; my $json_array_ref = decode_json $json_text; TEST_HASH: for my $test_hash (@$json_array_ref) { for my $wanted_key (keys %json_wanted) { my $test_value = $test_hash->{$wanted_key}; next TEST_HASH unless defined $test_value; next TEST_HASH unless "$json_wanted{$wanted_key}" eq "$test_va +lue"; } for my $key (sort keys %$test_hash) { say $key, ': ', $test_hash->{$key}; } say '-' x 60; }

Here's a test run filtering on a specific tester and a specific Perl version:

$ pm_cpan_test_extract.pl Tk-ROSyntaxText.json tester 'was_a_real_emai +l_address' perl '5.17.0' csspatch: unp cssperl: dev dist: Tk-ROSyntaxText distribution: Tk-ROSyntaxText distversion: Tk-ROSyntaxText-1.001 fulldate: 201205260128 guid: 0bf30766-a6d2-11e1-88ae-fe3ff4b14d39 id: 22275926 osname: linux ostext: GNU/Linux osvers: 2.6.32-5-amd64 perl: 5.17.0 platform: x86_64-linux-ld postdate: 201205 state: pass status: PASS tester: was_a_real_email_address type: 2 version: 1.001 ------------------------------------------------------------ csspatch: unp cssperl: dev dist: Tk-ROSyntaxText distribution: Tk-ROSyntaxText distversion: Tk-ROSyntaxText-1.001 fulldate: 201205220052 guid: 77d0ff9c-a3a8-11e1-8aed-c04af4b14d39 id: 22217880 osname: linux ostext: GNU/Linux osvers: 2.6.32-5-amd64 perl: 5.17.0 platform: x86_64-linux-thread-multi postdate: 201205 state: pass status: PASS tester: was_a_real_email_address type: 2 version: 1.001 ------------------------------------------------------------

I changed the tester's email address to was_a_real_email_address before posting here. Use http://stats.cpantesters.org/cpanmail.html if you're really that interested. :-)

I saw Khen1950fx's response as I was about to post this. I'm not familiar with the module he's used. Perhaps that's a better solution.

-- Ken


In reply to Re: CPANTester: finding reports for a particular test machine by kcott
in thread CPANTester: finding reports for a particular test machine by sedusedan

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.