hstove / issue_stats

Analyze and compare how long it takes for Github issues to be closed.
issuestats.com
MIT License
184 stars 13 forks source link

Issue Stats Issue Stats

Code Climate Coverage Status

This is a project for analyzing how long it takes for Github issues and pull requests to be closed.

screen shot 2014-08-01 at 5 21 30 pm

Badges

This project serves badges like so:

http://issuestats.com/github/rails/rails/badge/pr : rails/rails http://issuestats.com/github/twbs/bootstrap/badge/issue : twbs/bootstrap

You can add ?style=flat to the url to get a flat badge:

http://issuestats.com/github/nodejs/node/badge/pr?style=flat : nodejs/node

?style=flat-square is also available:

http://issuestats.com/github/nodejs/node/badge/pr?style=flat-square : nodejs/node

You can also add ?concise=true to the URL to get a more concise version: (thanks to brettwooldridge):

http://issuestats.com/github/rails/rails/badge/pr?style=flat-square&concise=true : nodejs/node

API

You can get JSON data for a given repository by appending ?format=json to a repository's Issue Stats URL:

issuestats.com/github/rails/rails?format=json

Contributing

Pull requests and issues are encouraged!

This is a Rails 4.1 project. You'll need Postgres and Redis on your machine.

To install:

git clone https://github.com/hstove/issue_stats.git
cd issue_stats
bundle install
rake db:create
rake db:migrate
rake db:seed # enqueues a Sidekiq job
guard

Running guard will start a few things:

Codeship Status for hstove/issue_stats