weekly-changelog-report.py: remove "Merge Branch" entries, add TODO list
authorCliff Brake <cbrake@bec-systems.com>
Mon, 20 Oct 2008 15:02:29 +0000 (11:02 -0400)
committerCliff Brake <cbrake@bec-systems.com>
Mon, 20 Oct 2008 15:02:29 +0000 (11:02 -0400)
contrib/weekly-changelog-report.py

index 2898c2f..b5e70cb 100755 (executable)
@@ -4,6 +4,10 @@
 # generates an OE changelog for last weeks activity (Mon-Sun) assuming it is run on
 # any day of the following week
 
+# TODO
+# - remove patch count as it does not match after we remove "Merge branch" statements
+# - add bugzilla info
+
 import datetime
 import os
 
@@ -19,6 +23,6 @@ start_day = end_day - datetime.timedelta(7)
 
 print "OE weekly changelog %s to %s\n" % (start_day.isoformat(), end_day.isoformat())
 
-os.system("git-shortlog --since=%s --until=%s" % (start_day.isoformat(), end_day.isoformat()))
+os.system("git-shortlog --since=%s --until=%s | grep -v \"Merge branch\"" % (start_day.isoformat(), end_day.isoformat()))