Re: whomto.pl -- finding out whom to send patches to

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Roel
Date: Friday, May 30, 2008 - 2:29 am

Vegard Nossum schreef:

Based on Linus' script to get the email address of a maintainer, I wrote 
this bash script to get
an indication of relevant lists. Maybe you can make use of the part that 
parses the
MAINTAINERS file for relevant lists?

---

git log --since="1 year ago"  "$@" | sed -n "s/^    .[-a-z]*by: \(.*\) <.*$/\1/p" |
sort | uniq | sort -n -r | while read -r name; do
        sed -n "/^P:[ \t]*.*$name/,/^$/{
                s/^L:[ \t]*\(.*\)$/\1/p
        }" ./MAINTAINERS
done | sort | uniq -c | sort -n -r | while read -r nr list; do
        tot=`grep -c "^L:\W*.*$list.*" ./MAINTAINERS`
        echo "`expr $nr / \( $tot + 1 \)` $nr $tot $list"
done | sort -r | cut -d " " -f2- | while read -r nr tot list; do
        echo -e "$nr/$tot Acks were commited by maintainers of list $list"
done


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: whomto.pl -- finding out whom to send patches to, Joe Perches, (Thu May 29, 11:20 am)
whomto.pl -- finding out whom to send patches to, Vegard Nossum, (Thu May 29, 2:00 pm)
Re: whomto.pl -- finding out whom to send patches to, Jesper Juhl, (Thu May 29, 3:19 pm)
Re: whomto.pl -- finding out whom to send patches to, Junio C Hamano, (Thu May 29, 4:33 pm)
Re: whomto.pl -- finding out whom to send patches to, Andrea Righi, (Fri May 30, 12:58 am)
Re: whomto.pl -- finding out whom to send patches to, Roel, (Fri May 30, 2:29 am)
Re: whomto.pl -- finding out whom to send patches to, Vegard Nossum, (Sat May 31, 3:03 am)
Re: whomto.pl -- finding out whom to send patches to, Vegard Nossum, (Sat May 31, 3:33 am)