diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-12-11 19:56:23 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-12-11 19:56:23 +0000 |
commit | f29c0235c2a92e155999c8d8f047869ee798a52c (patch) | |
tree | 4245935de83df7244a102c90a800fd4ee1669ad5 /scripts | |
parent | Cleanup -- Readd packages if there are changes (diff) | |
download | jokey-f29c0235c2a92e155999c8d8f047869ee798a52c.tar.gz jokey-f29c0235c2a92e155999c8d8f047869ee798a52c.tar.bz2 jokey-f29c0235c2a92e155999c8d8f047869ee798a52c.zip |
Another script
svn path=/trunk/; revision=87
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/create-stats.sh | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/scripts/create-stats.sh b/scripts/create-stats.sh new file mode 100755 index 0000000..fb764bc --- /dev/null +++ b/scripts/create-stats.sh @@ -0,0 +1,26 @@ +#!/bin/bash + +ebuilds=$(ls *-*/* -d) + +#declare -a bugs ebuilds cc + +#a=0 +#for i in ${ebuildsin}; do +# ebuilds[$a]=${i} +# a=$[ $a+1 ]; +#done +# second loop +#a=0 +#for i in ${bugsin}; do +# bugs[$a]=${i} +# a=$[ $a+1 ]; +#done + +for i in $ebuilds; do + bug=$(grep -oE "[0-9]{2}[0-9]+" $i/ChangeLog | tail -n 1) + bugz get $bug > /tmp/crst + cc=$(grep CC /tmp/crst | sed -e "s/CC : //"); + assignee=$(grep Assignee /tmp/crst | sed -e "s/Assignee : //"); + echo $i - bug $bug - $assignee - on CC: $cc; +done + |