jantman / repostatus.org

A standard to easily communicate to humans and machines the development/support and usability status of software repositories/projects.
http://www.repostatus.org
Creative Commons Attribution Share Alike 4.0 International
169 stars 40 forks source link

Conform shield sizes and style to shields.io #4

Closed leeper closed 9 years ago

leeper commented 9 years ago

shields.io seems to be the standard format for shields. This pull request modifies the master branch shields to follow that template, preserving color and horizontal size of the shields. Basically this just changes the height to match shields.io (see #2) and uses the same gradient pattern. It also adds "flat" versions of the shields (again, to match options available from shields.io). I'll send a separate pull request for the gh-pages branch.

jantman commented 9 years ago

@leeper thanks for this, and #5

The badges are actually generated programmatically via the shields.io URL API, as is the gh-pages branch. Now that there's some interest in this, I'm going to add contributing docs and try to reproduce this. I'll ping back when the docs are up, but I guess I might as well have a try at generating them myself, since it's not terribly intuitive. And I'm not sure exactly how to handle pull requests and the versioned API directories.

It's probably going to be a day or two, though, as apparently I need to work something out with the GitHub API to make sure I'm watching all of my own repos...

jantman commented 9 years ago

@leeper Aside from the "flat" ones, I believe this may already be handled by the changes that I pushed tonight as 1.0.0.

If there's still value in this, I'll ask that: (1) you rebase on master and (2) the SVG files aren't maintained by hand, they're actually pulled in by a fab script. See https://github.com/jantman/repostatus.org/blob/master/fabfile.py#L21 and https://github.com/jantman/repostatus.org/blob/master/fabfile.py#L79 - that would need to be adjusted to accomodate for the flat URLs, but since it's as simple as appending ?style=flat to the URL, I can probably handle that part if you can work something up for the docs ( https://github.com/jantman/repostatus.org/blob/master/gh_pages/index.md ).

leeper commented 9 years ago

No, I think what you've done looks great. Thanks! I'll close this.