File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ this-week-in-rust
2+ =================
3+
4+ Data for this-week-in-rust.org
5+
6+ ## How I get PR lists:
7+
8+ ```
9+ git log --author=bors --since='MM/DD/YYYY 12:00PM' --until='MM/DD/YYYY 12:00PM' --pretty=oneline > ~/entropy/twir.txt
10+ # edit in vim to get rid of everything but PR number, copy into clipboard
11+ for pr in $(xsel -ob); do firefox https://github.com/mozilla/rust/pull/$pr; sleep 0.07; done
12+ # wait a long time...
13+ # write TWIR
14+ ```
15+
16+ ## How I get new contributors:
17+
18+ new_contribs.sh 6/21/2014 > ~ /entropy/newbies.txt
19+
20+ Where ` new_contribs.sh ` is:
21+
22+ ``` sh
23+ #! /usr/bin/sh
24+
25+ INITIAL_COMMIT=c01efc6
26+ START_COMMIT=` git log --before=" $1 " --author=bors --pretty=format:%H| head -n1`
27+ ALL_NAMES=` git log $INITIAL_COMMIT .. --pretty=format:%an| sort| uniq`
28+ OLD_NAMES=` git log $INITIAL_COMMIT ..$START_COMMIT --pretty=format:%an| sort| uniq`
29+ echo " $OLD_NAMES " > names_old.txt
30+ echo " $ALL_NAMES " > names_all.txt
31+ diff names_old.txt names_all.txt
32+ rm names_old.txt names_all.txt
33+ ```
You can’t perform that action at this time.
0 commit comments