diff options
author | Corey Richardson <corey@octayn.net> | 2014-11-05 17:26:18 -0500 |
---|---|---|
committer | Corey Richardson <corey@octayn.net> | 2014-11-05 17:26:18 -0500 |
commit | 5c74d2cd696b05908dd3d9725b9ca57d1d9f80d7 (patch) | |
tree | 8e850123273ed40ca237702858eaedfad635336a /README.md | |
parent | b90d2b10b0708aba718b121861d59555c6818295 (diff) |
Create README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/README.md b/README.md new file mode 100644 index 0000000..07a3e94 --- /dev/null +++ b/README.md @@ -0,0 +1,33 @@ +this-week-in-rust +================= + +Data for this-week-in-rust.org + +## How I get PR lists: + +``` +git log --author=bors --since='MM/DD/YYYY 12:00PM' --until='MM/DD/YYYY 12:00PM' --pretty=oneline > ~/entropy/twir.txt +# edit in vim to get rid of everything but PR number, copy into clipboard +for pr in $(xsel -ob); do firefox https://github.com/mozilla/rust/pull/$pr; sleep 0.07; done +# wait a long time... +# write TWIR +``` + +## How I get new contributors: + + new_contribs.sh 6/21/2014 > ~/entropy/newbies.txt + +Where `new_contribs.sh` is: + +```sh +#!/usr/bin/sh + +INITIAL_COMMIT=c01efc6 +START_COMMIT=`git log --before="$1" --author=bors --pretty=format:%H|head -n1` +ALL_NAMES=`git log $INITIAL_COMMIT.. --pretty=format:%an|sort|uniq` +OLD_NAMES=`git log $INITIAL_COMMIT..$START_COMMIT --pretty=format:%an|sort|uniq` +echo "$OLD_NAMES">names_old.txt +echo "$ALL_NAMES">names_all.txt +diff names_old.txt names_all.txt +rm names_old.txt names_all.txt +``` |