diff options
author | Brian Anderson <banderson@mozilla.com> | 2014-11-09 18:28:50 -0800 |
---|---|---|
committer | Brian Anderson <banderson@mozilla.com> | 2014-11-09 18:37:38 -0800 |
commit | 2c4558b138e9d957745c3c8f98d8f73076aca140 (patch) | |
tree | 2429d8462a42f8d85e88bf2be6af51cba65236de | |
parent | 7401a858cfc90c0e3063e165914ad8fb3e8d4a7e (diff) |
Add an updated new_contribs.sh and update README.md
-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" |