Hack: stats.sh prints useful project stats for maintainers

This commit is contained in:
Solomon Hykes 2013-12-08 01:47:03 +00:00
parent f4676f0ffa
commit edace08327
1 changed files with 22 additions and 0 deletions

22
hack/stats.sh Executable file
View File

@ -0,0 +1,22 @@
#!/bin/bash
## Run this script from the root of the docker repository
## to query project stats useful to the maintainers.
## You will need to install `pulls` and `issues` from
## http://github.com/crosbymichael/pulls
set -e
echo -n "Open pulls: "
PULLS=$(pulls | wc -l); let PULLS=$PULLS-1
echo $PULLS
echo -n "Pulls alru: "
pulls alru
echo -n "Open issues: "
ISSUES=$(issues list | wc -l); let ISSUES=$ISSUES-1
echo $ISSUES
echo -n "Issues alru: "
issues alru