You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current site has a few APIs that allow authors to see their data via YAML, or to subscribe to recent reports via RSS. These feeds are advertised as orange buttons near the upper-right of the author's page (example author page for PREACTION).
For backwards compatibility, we should create these same feeds in this app. We should add a single method to CPAN::Testers::Web::Controller::Legacy called author_feeds. This method should return either an RSS or a YAML document based on the format requested (use $c->respond_to() to vary the responses).
There are two RSS feeds: One with all reports, one without PASS reports (called <author>-nopass.rss). A stash value ("nopass") should be used when wanting to filter the list of reports returned.
Once the controller action is written, and routes created, the Apache config will be updated to proxy to these replacements.
RSS Example
<?xml version="1.0" encoding="UTF-8"?>
<rssversion="2.0"
xmlns:atom="http://www.w3.org/2005/Atom"xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>
<channel>
<atom:linkhref="http://www.cpantesters.org/author/P/PREACTION-nopass.rss"rel="self"type="application/rss+xml" />
<title>CPAN Testers Reports</title>
<link>http://www.cpantesters.org/</link>
<description>news and updates for the CPAN Testers Reports website</description>
<language>en</language>
<pubDate>Tue, 19 Jun 2018 17:31:43 GMT</pubDate>
<generator>Labyrinth v5.32</generator>
<item>
<title>FAIL Git-ReleaseRepo-0.006 5.24.1 on linux 4.4.0-81-generic (x86_64-linux)</title>
<link>http://www.cpantesters.org/cpan/report/0e9d34fe-1892-11e8-bb4d-81605a155286</link>
<description>FAIL Git-ReleaseRepo-0.006 5.24.1 on linux 4.4.0-81-generic (x86_64-linux)</description>
<guidisPermaLink="false">http://www.cpantesters.org/cpan/report/0e9d34fe-1892-11e8-bb4d-81605a155286</guid>
<pubDate>Fri, 23 Feb 2018 12:07:00 GMT</pubDate>
</item>
</channel>
</rss>
The current site has a few APIs that allow authors to see their data via YAML, or to subscribe to recent reports via RSS. These feeds are advertised as orange buttons near the upper-right of the author's page (example author page for PREACTION).
For backwards compatibility, we should create these same feeds in this app. We should add a single method to
CPAN::Testers::Web::Controller::Legacy
calledauthor_feeds
. This method should return either an RSS or a YAML document based on the format requested (use$c->respond_to()
to vary the responses).There are two RSS feeds: One with all reports, one without
PASS
reports (called<author>-nopass.rss
). A stash value ("nopass") should be used when wanting to filter the list of reports returned.Once the controller action is written, and routes created, the Apache config will be updated to proxy to these replacements.
RSS Example
YAML Example
The text was updated successfully, but these errors were encountered: