diff options
-rw-r--r-- | README.md | 25 | ||||
-rwxr-xr-x | new_contribs.sh | 12 |
2 files changed, 24 insertions, 13 deletions
@@ -13,21 +13,20 @@ for pr in $(xsel -ob); do firefox https://github.com/mozilla/rust/pull/$pr; slee # write TWIR ``` -## How I get new contributors: +Alternately use GitHub search: - new_contribs.sh 6/21/2014 > ~/entropy/newbies.txt +``` +https://github.com/rust-lang/rust/pulls?q=is%3Apr+is%3Amerged+updated%3A2014-11-03..2014-11-10 +``` + +## How I get new contributors: + +Use the included `new_contribs.sh` script: -Where `new_contribs.sh` is: + new_contribs.sh 6/21/2014 -```sh -#!/usr/bin/sh +## Building -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 ``` +pelican content -s pelicanconf.py +```
\ No newline at end of file diff --git a/new_contribs.sh b/new_contribs.sh new file mode 100755 index 0000000..565f110 --- /dev/null +++ b/new_contribs.sh @@ -0,0 +1,12 @@ +#!/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 +names=`diff names_old.txt names_all.txt` +rm names_old.txt names_all.txt +names=`echo "$names" | grep \> | sed 's/^>/*/'` +echo "$names" |