forked from cncf/gitdm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommits_in_default_ranges.sh
executable file
·27 lines (27 loc) · 1.43 KB
/
commits_in_default_ranges.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
#!/bin/sh
PREFIX=$1
FN=$2
DT_STARTY=`ruby -e "require 'date'; puts Date.today - 366"`
DT_STARTM=`ruby -e "require 'date'; puts Date.today - 31"`
DT_END=`ruby -e "require 'date'; puts Date.today - 1"`
echo "$FN analysis in $DT_STARTY,$DT_STARTM - $DT_END"
./commits_in_ranges.sh $PREFIX $FN "$DT_STARTY" "$DT_END"
./commits_in_ranges.sh $PREFIX $FN "$DT_STARTM" "$DT_END"
./commits_in_ranges.sh $PREFIX $FN "2016-01-01" "2016-02-01"
./commits_in_ranges.sh $PREFIX $FN "2016-02-01" "2016-03-01"
./commits_in_ranges.sh $PREFIX $FN "2016-03-01" "2016-04-01"
./commits_in_ranges.sh $PREFIX $FN "2016-04-01" "2016-05-01"
./commits_in_ranges.sh $PREFIX $FN "2016-05-01" "2016-06-01"
./commits_in_ranges.sh $PREFIX $FN "2016-06-01" "2016-07-01"
./commits_in_ranges.sh $PREFIX $FN "2016-07-01" "2016-08-01"
./commits_in_ranges.sh $PREFIX $FN "2016-08-01" "2016-09-01"
./commits_in_ranges.sh $PREFIX $FN "2016-09-01" "2016-10-01"
./commits_in_ranges.sh $PREFIX $FN "2016-10-01" "2016-11-01"
./commits_in_ranges.sh $PREFIX $FN "2016-11-01" "2016-12-01"
./commits_in_ranges.sh $PREFIX $FN "2016-12-01" "2017-01-01"
./commits_in_ranges.sh $PREFIX $FN "2017-01-01" "2017-02-01"
./commits_in_ranges.sh $PREFIX $FN "2017-02-01" "2017-03-01"
./commits_in_ranges.sh $PREFIX $FN "2017-03-01" "2017-04-01"
./commits_in_ranges.sh $PREFIX $FN "2017-04-01" "2017-05-01"
./commits_in_ranges.sh $PREFIX $FN "2017-05-01" "2017-06-01"
./commits_in_ranges.sh $PREFIX $FN "2017-06-01" "2017-07-01"