diff --git a/AUTHORS.txt b/AUTHORS.txt index 30777d436..e705ff820 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -36,3 +36,17 @@ CONTRIBUTORS ordered by first contribution. * xubin * intliang * flowerwrong +* YLX<568414379@qq.com> +* J +* Harlan +* hankun +* JonathanBarratt +* KeeganH +* StevenLiu +* liuxc0116 +* ChengdongZhang +* lovacat +* qiang.li +* HungMingWu +* Himer +* xialixin \ No newline at end of file diff --git a/trunk/scripts/new_authors.sh b/trunk/scripts/new_authors.sh new file mode 100755 index 000000000..f0a94123c --- /dev/null +++ b/trunk/scripts/new_authors.sh @@ -0,0 +1,18 @@ +#!/bin/bash + +AFILE=`dirname $0`/../../AUTHORS.txt +if [[ ! -f $AFILE ]]; then echo "No file at $AFILE"; exit -1; fi + +authors=`git log --format='%ae'|grep -v localhost|grep -v demo|grep -v none|sort|uniq` +if [[ $? -ne 0 ]]; then echo "no authors"; exit -1; fi + +for author in $authors; do + echo $author| grep 'winlin' >/dev/null 2>&1 && continue; + echo $author| grep 'winterserver' >/dev/null 2>&1 && continue; + echo $author| grep 'wenjie.zhao' >/dev/null 2>&1 && continue; + echo $author| grep 'zhaowenjie' >/dev/null 2>&1 && continue; + + grep $author $AFILE 1>/dev/null 2>/dev/null && continue; + + git log -1 --author="$author" --format='%an<%ae>'| sed 's/ //g' +done