From 19d0c63a7874ede7a17ce3f563fe31b6e6c472e8 Mon Sep 17 00:00:00 2001 From: aawizard Date: Apr 08 2021 05:29:30 +0000 Subject: contribution graph updated --- diff --git a/create-all-time-userstats-csv.sh b/create-all-time-userstats-csv.sh index d616ede..10032d2 100755 --- a/create-all-time-userstats-csv.sh +++ b/create-all-time-userstats-csv.sh @@ -6,12 +6,12 @@ # start on week 156, which is the end of 2014, because first-seen dates start in the end of 2012 because # that's when fedmsg starts. So the old-vs-mid-vs-new metrics are only really meaningful starting two years # after that. (Actually, push back to 158 because the data looks ugly with low points before that.) -STARTWEEK=158 +STARTWEEK=209 ENDWEEK=$(( ( $(date +'%s') - $(date -ud '2012-01-01 0:0:0' +'%s') )/60/60/24/7 -1 )) -python new-and-old-users-report.py --csvh $(( $STARTWEEK - 1 )) | tee data/contributor-count.csv +python3 new-and-old-users-report.py --csvh $(( $STARTWEEK - 1 )) | tee data/contributor-count.csv for week in $(seq $STARTWEEK $ENDWEEK ); do - python new-and-old-users-report.py --csv $week | tee -a data/contributor-count.csv + python3 new-and-old-users-report.py --csv $week | tee -a data/contributor-count.csv done