CPAN::Testers::Common::Article - Parse a CPAN Testers NNTP article
Given an NNTP article from the cpan-testers or cpan-uploads feed, will parse and return the appropriate the data parts via accessors.
The constructor. Pass in a reference to the article.
Parses an upload article.
Parses a report article.
Whether the report was a PASS
Whether the report was a FAIL
All the following are accessors available through via the object, once an article has been parsed as a report or upload announcement.
'YYYYMM' representation of the date article was posted.
'YYYYMMDDhhmm' representation of the date article was posted.
Number of seconds since the epoch of when article was posted
For reports this will be the grade, for uploads this will be 'CPAN'.
Who posted the article.
The distribution name.
The distribution version.
The perl interpreter version used for testing.
Operating system name.
Operating system version.
Operating system architecture name. This is usually based on the osname and osvers, but they are not always the same.
Subject line of the original post.
Author of uploaded distribution (Upload article only).
File name of uploaded distribution (Upload article only).
A regular expression of known operating system coded strings.
A hash reference to strings that may have been mangled, and their corrections.
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 dependent upon their severity and my availability. Should a fix not be forthcoming, please feel free to (politely) remind me.
Original author: Leon Brocard <firstname.lastname@example.org> (C) 2002-2008 Current maintainer: Barbie <email@example.com> (C) 2008-2012
This module is free software; you can redistribute it and/or modify it under the Artistic Licence v2.