-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create simple CPAN Testers badge #20
Comments
I recently released |
@haukex: Yes, that looks perfect! |
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. Once we have that, we can start adding it to places (like a blurb on http://beta.cpantesters.org) |
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: