Skip to content

Create simple CPAN Testers badge #20

@preaction

Description

@preaction

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions