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


CPAN-Testers-Common-Article documentation  | view source Contained in the CPAN-Testers-Common-Article distribution.

Index


NAME

Top

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

DESCRIPTION

Top

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

INTERFACE

Top

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.

* epoch

Number of seconds since the epoch of when 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.

* author

Author of uploaded distribution (Upload article only).

* filename

File name of uploaded distribution (Upload article only).

BUGS, PATCHES & FIXES

Top

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

Top

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

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

AUTHOR

Top

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

LICENSE

Top

This code is distributed under the same license as Perl.


CPAN-Testers-Common-Article documentation  | view source Contained in the CPAN-Testers-Common-Article distribution.