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
We should expose badges for distributions to show off their status in CPAN Testers. We should create a new controller, CPAN::Testers::Web::Controller::Badge with a method pass_badge that creates an SVG image showing the percentage of reports that are PASS compared with the total PASS and FAIL. If the PASS percentage is above 90, the badge should be green. If it's below 90 and above 50, it should be yellow. If it is below 50, it should be red.
The dist and version should be provided in the URL. If the version is not provided, we should use the latest version of the dist.
The text was updated successfully, but these errors were encountered:
Cool! What could I do to help? Just for example, here's how I patched it into CPANTS: cpants/www-cpants@92e7a28. I'm not sure what the best approach for cpantesters.org would be...
The main description of the ticket presents a possible solution: A new controller which will serve badges by dist and version (defaulting to latest non-dev version). It would need automated tests.
We should expose badges for distributions to show off their status in CPAN Testers. We should create a new controller,
CPAN::Testers::Web::Controller::Badge
with a methodpass_badge
that creates an SVG image showing the percentage of reports that arePASS
compared with the totalPASS
andFAIL
. If thePASS
percentage is above 90, the badge should be green. If it's below 90 and above 50, it should be yellow. If it is below 50, it should be red.The
dist
andversion
should be provided in the URL. If theversion
is not provided, we should use the latest version of the dist.The text was updated successfully, but these errors were encountered: