2014-01-22 05:21:56 +04:00
|
|
|
#!/usr/bin/env bash
|
2013-12-08 05:47:03 +04:00
|
|
|
|
|
|
|
## 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
|
2015-04-11 20:35:08 +03:00
|
|
|
## https://github.com/crosbymichael/pulls
|
2013-12-08 05:47:03 +04:00
|
|
|
|
|
|
|
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
|