summaryrefslogtreecommitdiff
path: root/tools/ci/jobs/gitstatsh.sh
blob: 376d31f43293ed4bf8a4f00e5813bf24d2f7ce30 (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 ManaPlus ../../repo_log
check_error $?
mv web ../../stats2
check_error $?
cd ../..
check_error $?
ls -la