NAME

CPAN::Testers::Common::Article - Parse a CPAN Testers NNTP article

DESCRIPTION

Given an NNTP article from the cpan-testers or cpan-uploads feed, will parse and return the appropriate the data parts via accessors.

INTERFACE

The Constructor

  • new

    The constructor. Pass in a reference to the article.

Methods

  • parse_upload

    Parses an upload article.

  • parse_report

    Parses a report article.

  • passed

    Whether the report was a PASS

  • failed

    Whether the report was a FAIL

Accessors

All the following are accessors available through via the object, once an article has been parsed as a report or upload announcement.

  • postdate

    'YYYYMM' representation of the date article was posted.

  • date

    'YYYYMMDDhhmm' representation of the date article was posted.

  • status

    For reports this will be the grade, for uploads this will be 'CPAN'.

  • from

    Who posted the article.

  • distribution

    The distribution name.

  • version

    The distribution version.

  • perl

    The perl interpreter version used for testing.

  • osname

    Operating system name.

  • osvers

    Operating system version.

  • archname

    Operating system architecture name. This is usually based on the osname and osvers, but they are not always the same.

  • subject

    Subject line of the original post.

BUGS, PATCHES & FIXES

There are no known bugs at the time of this release. However, if you spot a bug or are experiencing difficulties, that is not explained within the POD documentation, please send bug reports and patches to the RT Queue (see below).

Fixes are dependant upon their severity and my availablity. Should a fix not be forthcoming, please feel free to (politely) remind me.

RT Queue - http://rt.cpan.org/Public/Dist/Display.html?Name=CPAN-Testers-Common-Article

SEE ALSO

CPAN::Testers::Data::Generator, CPAN::Testers::Data::Uploads

http://www.cpantesters.org/, http://stats.cpantesters.org/, http://wiki.cpantesters.org/

AUTHOR

Original author:    Leon Brocard <acme@astray.com>   (C) 2002-2008
Current maintainer: Barbie       <barbie@cpan.org>   (C) 2008-2009

LICENSE

This code is distributed under the same license as Perl.