aboutsummaryrefslogtreecommitdiffstats
path: root/contrib/weekly-changelog-report.py
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-10-30 14:28:16 +0100
committerKoen Kooi <koen@openembedded.org>2008-10-30 14:28:16 +0100
commit26f6477a2d5ecb7bc4eb984a334d17e2c833b875 (patch)
tree4cd63bbde25b5dd2c4ddb9e902152d6d5b1c2ae5 /contrib/weekly-changelog-report.py
parent4bbfd7ad9f6fca1669e7635dc28749ef11549b1c (diff)
downloadopenembedded-26f6477a2d5ecb7bc4eb984a334d17e2c833b875.tar.gz
weekly changelog: add in bugstats from the mtn2cl script
Diffstat (limited to 'contrib/weekly-changelog-report.py')
-rwxr-xr-xcontrib/weekly-changelog-report.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/contrib/weekly-changelog-report.py b/contrib/weekly-changelog-report.py
index 101de2919b..22535f32b1 100755
--- a/contrib/weekly-changelog-report.py
+++ b/contrib/weekly-changelog-report.py
@@ -25,4 +25,16 @@ print "OE weekly changelog %s to %s\n" % (start_day.isoformat(), end_day.isoform
os.system("git-shortlog --since=%s --until=%s | grep -v \"Merge branch\" | grep -v \"Merge commit\"" % (start_day.isoformat(), end_day.isoformat()))
+os.system("wget 'http://bugs.openembedded.net/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=RESOLVED&bug_status=VERIFIED&bug_status=CLOSED&bugidtype=include&chfieldfrom=7d&chfieldto=Now&chfieldvalue=&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field-1-0-0=bug_status&field0-0-0=noop&known_name=1WFixed&long_desc=&long_desc_type=substring&query_format=advanced&remaction=&short_desc=&short_desc_type=allwordssubstr&type-1-0-0=anyexact&type0-0-0=noop&value-1-0-0=RESOLVED%2CVERIFIED%2CCLOSED&value0-0-0=&ctype=csv' -O resolved-bugs.csv >& /dev/null")
+os.system("wget 'http://bugs.openembedded.net/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bug_status=NEW&bugidtype=include&chfield=%5BBug%20creation%5D&chfieldfrom=7d&chfieldto=Now&chfieldvalue=&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field-1-0-0=bug_status&field0-0-0=noop&long_desc=&long_desc_type=substring&query_format=advanced&remaction=&short_desc=&short_desc_type=allwordssubstr&type-1-0-0=anyexact&type0-0-0=noop&value-1-0-0=NEW&value0-0-0=&ctype=csv' -O new-bugs.csv &> /dev/null")
+
+
+print "Bugs fixed:\n"
+
+os.system("cat resolved-bugs.csv | awk -F, '{print $1 \" \" $7 \"\t \" $8}' | sed s:\\\"::g")
+
+print "\nBugs opened:\n"
+
+os.system("cat new-bugs.csv | awk -F, '{print $1 \" \" $7 \"\t \" $8}' | sed s:\\\"::g")
+