Git-R-Done
Simple Sinatra app to display GitHub issues according to tidiness rules
Prerequisites
- Redis
Usage
git clone https://github.com/aptible/gitrdone
cd gitrdone/
bundle install
bundle exec ruby app.rb
Configuration
Git-R-Done is configured through environment variables. The following variables may be set:
Environment Variable | Description |
---|---|
GITHUB_CRITERIA |
JSON mapping issue labels to "constraints" |
GITHUB_LABELS |
Comma-separated list of all issue labels |
GITHUB_TOKEN |
Token used for accessing GitHub API |
GITHUB_ORG |
Name of GitHub org |
REDIS_URL |
URL for Redis server |
Here's an example JSON value for ENV['GITHUB_CRITERIA']
, demonstrating what constraint keys/values are possible:
{
"none": { "min_age": 7, "max_age": 365 },
"ready": { "max_count": 90 },
"on deck": { "max_count": 60 },
"in progress": { "max_count": 18 }
}
Copyright and License
MIT License, see LICENSE for details.
Copyright (c) 2015 Aptible and contributors.