On 2014-03-19 15:09, Carsten Haitzler wrote:
> this is pretty simple. i made a list of everyone who has not committed 
> to any
> git repository we have for the past 6 months. slight problem is that 
> people
> don't keep their email addresses up to date in info.txt vs their git 
> author
> email, so i've had to manually check almost everyone. (i made a script 
> to help
> automate this but it was getting stuff wrong)...

You should look at gitolite logs is which you get the Enlightenment 
login, instead of relying on email addresses.

The original hack I did can be enhanced a bit to to it by project :

# getent passwd |
   awk 'BEGIN { FS=":" }
     {
       if ($3 > 1000 && $3 < 9999 && $7 != "/sbin/nologin") {
         print $1
       }
     }' |
   while read ; do
     awk -v REPLY="${REPLY}" '{
       if ($2 == REPLY) {
         print $1
       }
     }' /var/log/gitolite/gitolite-*.log |
     tail -n 1 |
     read LAST

     echo "${REPLY} ${LAST:-never}"
   done

------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to