gitstatsh.sh 518 B

1234567891011121314151617181920212223
  1. #!/usr/bin/env bash
  2. export LOGFILE=gitstatsh.log
  3. source ./tools/ci/scripts/init.sh
  4. tools/ci/scripts/retry.sh pip install pandas
  5. check_error $?
  6. tools/ci/scripts/retry.sh pip install yattag
  7. check_error $?
  8. tools/ci/scripts/retry.sh git clone https://github.com/gzc/gitstats.git gitstatsh
  9. check_error $?
  10. git log --stat --no-merges --summary --decorate=false >repo_log
  11. check_error $?
  12. cd gitstatsh/v1
  13. python main.py ManaPlus ../../repo_log
  14. check_error $?
  15. mv web ../../stats2
  16. check_error $?
  17. cd ../..
  18. check_error $?
  19. ls -la