summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-12-11 19:56:23 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-12-11 19:56:23 +0000
commitf29c0235c2a92e155999c8d8f047869ee798a52c (patch)
tree4245935de83df7244a102c90a800fd4ee1669ad5 /scripts
parentCleanup -- Readd packages if there are changes (diff)
downloadjokey-f29c0235c2a92e155999c8d8f047869ee798a52c.tar.gz
jokey-f29c0235c2a92e155999c8d8f047869ee798a52c.tar.bz2
jokey-f29c0235c2a92e155999c8d8f047869ee798a52c.zip
Another script
svn path=/trunk/; revision=87
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/create-stats.sh26
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
+