summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gitstatsh.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ci/jobs/gitstatsh.sh')
-rwxr-xr-xtools/ci/jobs/gitstatsh.sh22
1 files changed, 22 insertions, 0 deletions
diff --git a/tools/ci/jobs/gitstatsh.sh b/tools/ci/jobs/gitstatsh.sh
new file mode 100755
index 000000000..4537920e4
--- /dev/null
+++ b/tools/ci/jobs/gitstatsh.sh
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+export LOGFILE=gitstatsh.log
+
+source ./tools/ci/scripts/init.sh
+
+tools/ci/scripts/retry.sh pip install pandas
+check_error $?
+tools/ci/scripts/retry.sh pip install yattag
+check_error $?
+tools/ci/scripts/retry.sh git clone https://github.com/gzc/gitstats.git gitstatsh
+check_error $?
+git log --stat --no-merges --summary --decorate=false >repo_log
+check_error $?
+cd gitstatsh/v1
+python main.py ManaPlus ../../repo_log
+check_error $?
+mv web ../../stats2
+check_error $?
+cd ../..
+check_error $?
+ls -la