[oe-commits] org.oe.dev contrib/mtn2cl: print a list of new bugs as well

koen commit openembedded-commits at lists.openembedded.org
Sat Jun 16 18:45:21 UTC 2007


contrib/mtn2cl: print a list of new bugs as well

Author: koen at openembedded.org
Branch: org.openembedded.dev
Revision: b6e86a37731576ee6fdcf7532f2acbe80763248d
ViewMTN: http://monotone.openembedded.org/revision.psp?id=b6e86a37731576ee6fdcf7532f2acbe80763248d
Files:
1
contrib/mtn2cl/mtn2cl.sh
Diffs:

#
# mt diff -r6533d29ade3437cb280d339ecb6c72cc063114ae -rb6e86a37731576ee6fdcf7532f2acbe80763248d
#
# 
# 
# patch "contrib/mtn2cl/mtn2cl.sh"
#  from [901620b22eeedcc3624ec0117032504de5008906]
#    to [89788c2d8ed63aa5ab3469b7c152d93de8ec1af6]
# 
============================================================
--- contrib/mtn2cl/mtn2cl.sh	901620b22eeedcc3624ec0117032504de5008906
+++ contrib/mtn2cl/mtn2cl.sh	89788c2d8ed63aa5ab3469b7c152d93de8ec1af6
@@ -23,18 +23,19 @@ cd ..
 done
 cd ..
 
-echo "Bug fixed:" >> ChangeLog
+wget 'http://bugs.openembedded.org/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 logs/resolved-bugs.csv >& /dev/null
 
-wget 'http://bugs.openembedded.org/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 logs/bugs.csv >& /dev/null
-
-cat logs/bugs.csv | awk -F, '{print $1 " " $7 "\t " $8}' | sed s:\"::g >> ChangeLog
-
-wget "http://bugs.openembedded.org/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bugidtype=include&chfield=bug_status&chfieldfrom=7d&chfieldto=Now&chfieldvalue=RESOLVED&email1=&email2=&emailassigned_to1=1&emailassigned_to2=1&emailcc2=1&emailqa_contact2=1&emailreporter2=1&emailtype1=substring&emailtype2=substring&field0-0-0=noop&long_desc=&long_desc_type=substring&query_format=advanced&remaction=&short_desc=&short_desc_type=allwordssubstr&type0-0-0=noop&value0-0-0=&ctype=csv" -O logs/resolved-bugs.csv >& /dev/null
 wget "http://bugs.openembedded.org/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 logs/new-bugs.csv &>/dev/null
 
 NEW_BUGS="`cat logs/new-bugs.csv | wc -l | tr -d " "`"
 RESOLVED_BUGS="`cat logs/resolved-bugs.csv | wc -l | tr -d " "`"
 
+echo -e "\n\nBugs fixed:" >> ChangeLog
+cat logs/resolved-bugs.csv | awk -F, '{print $1 " " $7 "\t " $8}' | sed s:\"::g >> ChangeLog
+
+echo -e "\n\nBugs opened:" >> ChangeLog
+cat logs/new-bugs.csv | awk -F, '{print $1 " " $7 "\t " $8}' | sed s:\"::g >> ChangeLog
+
 echo -e "\nIn total $NEW_BUGS bugs have been created and $RESOLVED_BUGS bugs were closed." >> ChangeLog
 
 rm -Rf logs 






More information about the Openembedded-commits mailing list