a (not perfect) hack for author list (src/hal directories):

$ cat find.sh
#!/bin/bash

mkdir /tmp/b 2>/dev/null
>|/tmp/b/all
cd /home/git/emc2-dev/src/hal
git checkout master

for f in `find . -iname '*.[ch]' -o -iname '*make*' `;  do  git blame $f 
>>/tmp/b/all ; done

originator=kasunich
authors="\
joni \
corner \
epler \
vavaroutsos \
kuzminsky \
radek \
pugh \
morley \
padnos \
lipkowitz \
johnson \
thornton \
garrett \
geszkiewicz \
kirwan \
shaver \
wallin \
rocco \
hahn \
henry \
elson \
mcknight \
wallace \
kuhnle \
joe9 \
maximilian \
shramov \
newell \
haberler \
kovacs \
"

alist=$originator
for a in $authors ; do
  alist="${alist}\\|$a"
done
cmd="grep -vEi $alist /tmp/b/all"
echo
echo "Check for unlisted authors:"
echo cmd=$cmd
echo
echo "Spurious or Unknown authors:"
eval $cmd
echo

ct=`grep -i $originator /tmp/b/all|wc -l`
echo "$ct $originator" >|/tmp/b/list
for a in $authors ; do 
  ct=`grep -i $a /tmp/b/all|wc -l`
  echo "$ct $a" >>/tmp/b/list
done
sort -n /tmp/b/list

------------------------------------------------------
result:
$ ./find.sh
Aready on 'master'

Check for unlisted authors:
cmd=grep -vEi 
kasunich\|joni\|corner\|epler\|vavaroutsos\|kuzminsky\|radek\|pugh\|morley\|padnos\|lipkowitz\|johnson\|thornton\|garrett\|geszkiewicz\|kirwan\|shaver\|wallin\|rocco\|hahn\|henry\|elson\|mcknight\|wallace\|kuhnle\|joe9\|maximilian\|shramov\|newell\|haberler\|kovacs
 /tmp/b/all

Spurious or Unknown authors:
15cc8c87 (aw@aw-VirtualBox.(none) 2012-10-08 20:20:25 +0300 49)         @$(CC) 
$(LDFLAGS) $(CFLAGS) $(ULFLAGS) -o $@ $^ $(GTK_LIBS) -lpthread

1 hahn
1 maximilian
1 shramov
3 kirwan
4 joe9
5 newell
19 henry
32 wallin
34 corner
44 thornton
69 geszkiewicz
76 mcknight
120 wallace
185 shaver
227 lipkowitz
372 garrett
486 kuhnle
574 elson
1412 radek
1776 rocco
1905 kovacs
2559 haberler
3445 johnson
3586 padnos
3855 joni
4092 vavaroutsos
5036 pugh
8597 morley
9010 kuzminsky
16141 epler
21045 kasunich
-- 
Dewey Garrett


------------------------------------------------------------------------------
Monitor your physical, virtual and cloud infrastructure from a single
web console. Get in-depth insight into apps, servers, databases, vmware,
SAP, cloud infrastructure, etc. Download 30-day Free Trial.
Pricing starts from $795 for 25 servers or applications!
http://p.sf.net/sfu/zoho_dev2dev_nov
_______________________________________________
Emc-developers mailing list
Emc-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-developers

Reply via email to