From edace08327675967700a5ff8093ee3104a91772f Mon Sep 17 00:00:00 2001 From: Solomon Hykes Date: Sun, 8 Dec 2013 01:47:03 +0000 Subject: [PATCH] Hack: stats.sh prints useful project stats for maintainers --- hack/stats.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 hack/stats.sh diff --git a/hack/stats.sh b/hack/stats.sh new file mode 100755 index 0000000000..2053e583a2 --- /dev/null +++ b/hack/stats.sh @@ -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