summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gitstatsh.sh
blob: e4f6dfbb99ede9c9504c408ca13c7960aad5e467 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/usr/bin/env 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 ManaVerse ../../repo_log
check_error $?
mv web ../../stats2
check_error $?
cd ../..
check_error $?
ls -la