github.com/dougm/docker@v1.5.0/project/stats.sh (about)

     1  #!/usr/bin/env bash
     2  
     3  ## Run this script from the root of the docker repository
     4  ## to query project stats useful to the maintainers.
     5  ## You will need to install `pulls` and `issues` from
     6  ## http://github.com/crosbymichael/pulls
     7  
     8  set -e
     9  
    10  echo -n "Open pulls: "
    11  PULLS=$(pulls | wc -l); let PULLS=$PULLS-1
    12  echo $PULLS
    13  
    14  echo -n "Pulls alru: "
    15  pulls alru
    16  
    17  echo -n "Open issues: "
    18  ISSUES=$(issues list | wc -l); let ISSUES=$ISSUES-1
    19  echo $ISSUES
    20  
    21  echo -n "Issues alru: "
    22  issues alru