Created
June 23, 2017 21:49
-
-
Save edunham/11abb03089654ea80d30eb05b4a750e5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
0 from 2012-02-01 to 2012-03-01 | |
0 from 2012-03-01 to 2012-04-01 | |
0 from 2012-04-01 to 2012-05-01 | |
0 from 2012-05-01 to 2012-06-01 | |
0 from 2012-06-01 to 2012-07-01 | |
0 from 2012-07-01 to 2012-08-01 | |
0 from 2012-08-01 to 2012-09-01 | |
0 from 2012-09-01 to 2012-10-01 | |
0 from 2012-10-01 to 2012-11-01 | |
0 from 2012-11-01 to 2012-12-01 | |
0 from 2012-12-01 to 2013-01-01 | |
0 from 2013-01-01 to 2013-02-01 | |
0 from 2013-02-01 to 2013-03-01 | |
0 from 2013-03-01 to 2013-04-01 | |
0 from 2013-04-01 to 2013-05-01 | |
13 from 2013-05-01 to 2013-06-01 | |
22 from 2013-06-01 to 2013-07-01 | |
55 from 2013-07-01 to 2013-08-01 | |
79 from 2013-08-01 to 2013-09-01 | |
67 from 2013-09-01 to 2013-10-01 | |
91 from 2013-10-01 to 2013-11-01 | |
70 from 2013-11-01 to 2013-12-01 | |
55 from 2013-12-01 to 2014-01-01 | |
96 from 2014-01-01 to 2014-02-01 | |
80 from 2014-02-01 to 2014-03-01 | |
95 from 2014-03-01 to 2014-04-01 | |
122 from 2014-04-01 to 2014-05-01 | |
153 from 2014-05-01 to 2014-06-01 | |
70 from 2014-06-01 to 2014-07-01 | |
0 from 2014-07-01 to 2014-08-01 | |
0 from 2014-08-01 to 2014-09-01 | |
50 from 2014-09-01 to 2014-10-01 | |
179 from 2014-10-01 to 2014-11-01 | |
143 from 2014-11-01 to 2014-12-01 | |
200 from 2014-12-01 to 2015-01-01 | |
136 from 2015-01-01 to 2015-02-01 | |
180 from 2015-02-01 to 2015-03-01 | |
213 from 2015-03-01 to 2015-04-01 | |
247 from 2015-04-01 to 2015-05-01 | |
175 from 2015-05-01 to 2015-06-01 | |
176 from 2015-06-01 to 2015-07-01 | |
192 from 2015-07-01 to 2015-08-01 | |
284 from 2015-08-01 to 2015-09-01 | |
184 from 2015-09-01 to 2015-10-01 | |
242 from 2015-10-01 to 2015-11-01 | |
258 from 2015-11-01 to 2015-12-01 | |
171 from 2015-12-01 to 2016-01-01 | |
194 from 2016-01-01 to 2016-02-01 | |
176 from 2016-02-01 to 2016-03-01 | |
205 from 2016-03-01 to 2016-04-01 | |
320 from 2016-04-01 to 2016-05-01 | |
312 from 2016-05-01 to 2016-06-01 | |
206 from 2016-06-01 to 2016-07-01 | |
242 from 2016-07-01 to 2016-08-01 | |
224 from 2016-08-01 to 2016-09-01 | |
187 from 2016-09-01 to 2016-10-01 | |
236 from 2016-10-01 to 2016-11-01 | |
239 from 2016-11-01 to 2016-12-01 | |
198 from 2016-12-01 to 2017-01-01 | |
255 from 2017-01-01 to 2017-02-01 | |
210 from 2017-02-01 to 2017-03-01 | |
243 from 2017-03-01 to 2017-04-01 | |
267 from 2017-04-01 to 2017-05-01 | |
292 from 2017-05-01 to 2017-06-01 | |
208 from 2017-06-01 to 2017-07-01 | |
------------------------ | |
#!/bin/bash | |
begin=$(date -I -d "2012-02-01") | |
end=$(date -I -d "2017-07-01") # should automatically be first day of next month | |
while [[ "$begin" < "$end" ]]; do | |
temp=$(date -I -d "$begin + 1 month") | |
n=$(git log --author="bors-servo" --pretty=format:"%cd %h %s" --before={$temp} --after={$begin} | wc -l) | |
echo $n from $begin to $temp | |
begin=$temp | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment