project-stats.sh 477 B

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