dbu / dashboard

A Symfony2 application to show and search aggregated information over a configured list of repositories
Other
29 stars 3 forks source link

show status images for each repo #16

Closed dbu closed 10 years ago

dbu commented 10 years ago

as they all follow the same schema, we could just provide global configuration in parameters.yml like this:

status_images:
    downloads:
        img_prefix: https://secure.travis-ci.org/
        img_postfix: .png
        caption: Build Status
        link_prefix: http://travis-ci.org/
        link_postfix: ~

This would render as

<a href="http://travis-ci.org/symfony-cmf/symfony-cmf-standard" target="_blank" title="Build Status">
    <img src="https://secure.travis-ci.org/symfony-cmf/symfony-cmf-standard.png" alt="Build Status">
</a>

we could also add a promote option that makes this image show right next to the repo title, and add a tab for less important images. i.e. show build status and latest stable right away, and all the other cool stuff in the tab.

Other examples:

Latest Stable Version https://poser.pugx.org/symfony-cmf/standard-edition/version.png https://packagist.org/packages/symfony-cmf/standard-edition

Total Downloads https://poser.pugx.org/symfony-cmf/standard-edition/d/total.png https://packagist.org/packages/symfony-cmf/standard-edition

dbu commented 10 years ago

fixed in #18