This is a project for analyzing how long it takes for Github issues and pull requests to be closed.
Badges
This project serves badges like so:
http://issuestats.com/github/rails/rails/badge/pr : http://issuestats.com/github/twbs/bootstrap/badge/issue :
You can add ?style=flat
to the url to get a flat badge:
http://issuestats.com/github/nodejs/node/badge/pr?style=flat :
?style=flat-square
is also available:
http://issuestats.com/github/nodejs/node/badge/pr?style=flat-square :
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 :
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:
- rails at http://localhost:3006
- a Sidekiq worker a concurrency of 1
- an rspec auto-runner with
guard-rspec