From 549cfb6466be2eda0aae8d21162ffc9fb0f79b2f Mon Sep 17 00:00:00 2001 From: Holger Freyther Date: Fri, 16 Mar 2007 19:58:53 +0000 Subject: contrib/qa/bugzilla.py: Extract all bug reports, even the ones from bugs.openembedded.org Abuse the class attribute even further and check for severities. We are able to find all 2006 bugs of OpenEmbedded and all 282 bugs of OpenMoko --- contrib/qa/bugzilla.py | 4872 +++++++++++++++++++++++++++++------------------- 1 file changed, 2980 insertions(+), 1892 deletions(-) diff --git a/contrib/qa/bugzilla.py b/contrib/qa/bugzilla.py index 1bc0ce9949..17849552b0 100644 --- a/contrib/qa/bugzilla.py +++ b/contrib/qa/bugzilla.py @@ -25,11 +25,16 @@ class BugQueryExtractor(HTMLParser): def __init__(self): HTMLParser.__init__(self) self.state = self.STATE_NONE + self.bug = None self.bugs = [] def handle_starttag(self, tag, attr): if self.state == self.STATE_NONE and tag.lower() == "tr": - if len(attr) == 1 and attr[0] == ('class', 'bz_normal bz_P2 '): + # check for bz_normal and bz_P2 as indicator in buglist.cgi + # use 'all' and 'map' on python2.5 + if len(attr) == 1 and attr[0][0] == 'class' and \ + ('bz_normal' in attr[0][1] or 'bz_blocker' in attr[0][1] or 'bz_enhancement' in attr[0][1] or 'bz_major' in attr[0][1] or 'bz_minor' in attr[0][1] or 'bz_trivial' in attr[0][1] or 'bz_critical' in attr[0][1] or 'bz_wishlist' in attr[0][1]) \ + and 'bz_P' in attr[0][1]: print "Found tr %s %s" % (tag, attr) self.state = self.STATE_FOUND_TR elif self.state == self.STATE_FOUND_TR and tag.lower() == "td": @@ -41,6 +46,7 @@ class BugQueryExtractor(HTMLParser): if self.state != self.STATE_NONE: self.bugs.append( (self.bug,self.status) ) self.state = self.STATE_NONE + self.bug = None if self.state > 1 and tag.lower() == "td": print "Next TD" self.state += 1 @@ -51,11 +57,17 @@ class BugQueryExtractor(HTMLParser): # skip garbage if len(data) == 0: return - + if self.state == self.STATE_FOUND_NUMBER: + """ + #1995 in bugs.oe.org has [SEC] additionally to the number and we want to ignore it + """ print "Bug Number '%s'" % data.strip() + if self.bug: + print "Ignoring bug data" + return self.bug = data - + elif self.state == self.STATE_FOUND_STATUS: print "Status Name '%s'" % data.strip() self.status = data @@ -65,267 +77,7 @@ class BugQueryExtractor(HTMLParser): return self.bugs # -site = """ - - - - - - - - - - - - - - - - - - - - - Bug List - - - - - - - - - - - - - - - - - - - - - - - -
- Bug List -
- -
- -
- Tue Mar 6 19:01:13 CET 2007
- - - Free your problems - - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- ID - - Sev - - Pri - - Plt - - Owner - - State - - Result - - Summary -
- 238 - nor - P2 - Mac - mickey@vanille-media.de - NEW - - manual test bug -
- - - - - - One bug found. - - -
- - - - - - - - - - - - -
- - - - Query Page    - Enter New Bug    - Change Columns    - - - - Edit this Query    - -
- - - - - - - - - - - - - -
- - - - - -""" - -all_bugs = """ +bugs_openmoko = """ @@ -390,10 +142,10 @@ all_bugs = """
- Tue Mar 6 20:23:16 CET 2007
+ Fri Mar 16 20:51:52 CET 2007
- Free your problems + It was a time of great struggle and heroic deeds
@@ -405,7 +157,7 @@ all_bugs = """ -228 bugs found. +282 bugs found. @@ -454,23 +206,23 @@ all_bugs = """ - ID + ID - Sev + Sev - Pri + Pri - Plt + Plt - Owner + Owner - State + State - Result + Result - Summary + Summary @@ -535,7 +287,7 @@ all_bugs = """ - 4 + 3 nor @@ -544,13 +296,13 @@ all_bugs = """ Neo - laforge@openmoko.org + sean_chiang@fic.com.tw - ASSI + CLOS - + FIXE - random crashes of gsmd + Debug Board trying to control GSM_EN / FA_19 @@ -563,7 +315,7 @@ all_bugs = """ - 5 + 4 nor @@ -578,7 +330,7 @@ all_bugs = """ FIXE - call progress information is lacking + random crashes of gsmd @@ -591,7 +343,7 @@ all_bugs = """ - 7 + 5 nor @@ -602,11 +354,11 @@ all_bugs = """ laforge@openmoko.org - CLOS + RESO FIXE - PMU RTC driver date/time conversion is erroneous + call progress information is lacking @@ -616,25 +368,25 @@ all_bugs = """ - + - 8 + 6 - cri + nor - P5 + P2 Neo - laforge@openmoko.org + sean_chiang@fic.com.tw - RESO + NEW - FIXE + - SD/MMC: Card sometimes not detected + GSM_EN should be called nGSM_EN @@ -647,7 +399,63 @@ all_bugs = """ - 9 + 7 + + + nor + + P2 + + Neo + + laforge@openmoko.org + + CLOS + + FIXE + + PMU RTC driver date/time conversion is erroneous + + + + + + + + + + + + + 8 + + + cri + + P5 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + SD/MMC: Card sometimes not detected + + + + + + + + + + + + + 9 nor @@ -840,6 +648,62 @@ all_bugs = """ + + + + 16 + + + blo + + P2 + + Neo + + sean_chiang@fic.com.tw + + RESO + + FIXE + + bluetooth pullup / pulldown resistors + + + + + + + + + + + + + 17 + + + nor + + P2 + + Neo + + sean_chiang@fic.com.tw + + RESO + + FIXE + + microSD socket still has mechanical contact problems + + + + + + + + + @@ -854,11 +718,1411 @@ all_bugs = """ mickey@vanille-media.de - RESO + RESO + + FIXE + + OE build of u_boot with CVSDATE 20061030 uses latest git ... + + + + + + + + + + + + + 19 + + + min + + P2 + + Neo + + teddy@fic-sh.com.cn + + RESO + + FIXE + + "reboot" doesn't work + + + + + + + + + + + + + 20 + + + cri + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + connection status + + + + + + + + + + + + + 21 + + + blo + + P3 + + Neo + + sean_chiang@fic.com.tw + + NEW + + + + sms function missing + + + + + + + + + + + + + 22 + + + nor + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + outgoing call generates 'segmentation fault' when the pee... + + + + + + + + + + + + + 23 + + + nor + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + dtmf support not available now + + + + + + + + + + + + + 24 + + + wis + + P2 + + Neo + + laforge@openmoko.org + + NEW + + + + libgsmd/misc.h: lgsm_get_signal_quality() + + + + + + + + + + + + + 25 + + + nor + + P2 + + Neo + + davewu01@seed.net.tw + + ASSI + + + + GtkSpinBox unfinished + + + + + + + + + + + + + 26 + + + nor + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + Pixmap Engine and Shadows + + + + + + + + + + + + + 27 + + + nor + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + ASSI + + + + Labels on GtkButton don't appear centered + + + + + + + + + + + + + 28 + + + nor + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + GtkComboBox styling woes + + + + + + + + + + + + + 29 + + + nor + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + RESO + + FIXE + + GtkProgressBar styling woes + + + + + + + + + + + + + 30 + + + nor + + P2 + + Neo + + mickey@vanille-media.de + + REOP + + + + Touchscreen emits bogus events under X + + + + + + + + + + + + + 31 + + + cri + + P2 + + Neo + + laforge@openmoko.org + + NEW + + + + Display colors are slightly off + + + + + + + + + + + + + 32 + + + enh + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + Common function for loading GdkPixbuf + + + + + + + + + + + + + 33 + + + blo + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + incoming call status report causes gsmd to crash. + + + + + + + + + + + + + 34 + + + blo + + P2 + + Neo + + laforge@openmoko.org + + RESO + + WORK + + Need to decide if lgsm_handle is still valid. + + + + + + + + + + + + + 35 + + + enh + + P5 + + Neo + + laforge@openmoko.org + + RESO + + WONT + + Support debug board from u-boot + + + + + + + + + + + + + 36 + + + blo + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + Implement s3c2410 udc (usb device controller) driver in u... + + + + + + + + + + + + + 37 + + + blo + + P2 + + Neo + + laforge@openmoko.org + + RESO + + DUPL + + Implement USB Device Firmware Upgrade (DFU) + + + + + + + + + + + + + 38 + + + enh + + P2 + + Neo + + laforge@openmoko.org + + RESO + + DUPL + + implement USB serial emulation in u-boot + + + + + + + + + + + + + 39 + + + maj + + P2 + + Neo + + gordon_hsu@fic-sh.com.cn + + RESO + + FIXE + + Move LCM initialization into u-boot (currently in kernel ... + + + + + + + + + + + + + 40 + + + nor + + P2 + + Neo + + werner@openmoko.org + + RESO + + DUPL + + test + debug display of image on LCM in u-boot + + + + + + + + + + + + + 41 + + + enh + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + evaluate sapwood theme engine + + + + + + + + + + + + + 42 + + + blo + + P3 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + dynamic mtd partition table cration + + + + + + + + + + + + + 43 + + + maj + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + StatusBar (Footer) API + + + + + + + + + + + + + 44 + + + wis + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + InputMethod API + + + + + + + + + + + + + 45 + + + nor + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + Automatic opening input methods + + + + + + + + + + + + + 46 + + + maj + + P2 + + Neo + + laforge@openmoko.org + + RESO + + FIXE + + 266MHz initialization of GTA01Bv2 + + + + + + + + + + + + + 47 + + + min + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + RESO + + DUPL + + Evaluate sapwood theming engine + + + + + + + + + + + + + 48 + + + maj + + P2 + + Neo + + laforge@openmoko.org + + RESO + + DUPL + + Only power up the phone in case power button was pressed ... + + + + + + + + + + + + + 49 + + + min + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + Implement touchscreen & click daemon + + + + + + + + + + + + + 50 + + + nor + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + Sound Event API + + + + + + + + + + + + + 51 + + + nor + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + Preferences API + + + + + + + + + + + + + 52 + + + nor + + P2 + + Neo + + cj_steven@fic-sh.com.cn + + RESO + + FIXE + + Single Instance Startup + + + + + + + + + + + + + 53 + + + nor + + P2 + + All + + tonyguan@fic-sh.com.cn + + RESO + + FIXE + + DTMF tones during call + + + + + + + + + + + + + 54 + + + blo + + P1 + + All + + tonyguan@fic-sh.com.cn + + RESO + + FIXE + + PIN Entry + + + + + + + + + + + + + 55 + + + maj + + P2 + + All + + tonyguan@fic-sh.com.cn + + RESO + + FIXE + + Don't pop up the dialer interface initially + + + + + + + + + + + + + 56 + + + blo + + P4 + + All + + tonyguan@fic-sh.com.cn + + RESO + + FIXE + + Integrate with contacts database + + + + + + + + + + + + + 57 + + + min + + P2 + + All + + tonyguan@fic-sh.com.cn + + RESO + + LATE + + Recording Calls + + + + + + + + + + + + + 58 + + + nor + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + API for devmand + + + + + + + + + + + + + 59 + + + enh + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + Real DPI vs. Fake DPI + + + + + + + + + + + + + 60 + + + min + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + fontconfig antialiasing + + + + + + + + + + + + + 61 + + + maj + + P2 + + Neo + + ken_zhao@fic-sh.com.cn + + NEW + + + + Theme is very slow + + + + + + + + + + + + + 62 + + + wis + + P2 + + All + + mickey@vanille-media.de + + NEW + + + + High Level Multi Layer Network Discovery API + + + + + + + + + + + + + 63 + + + enh + + P2 + + Neo + + mickey@vanille-media.de + + ASSI + + + + matchbox-panel 1 vs. 2 + + + + + + + + + + + + + 64 + + + maj + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + Show Cipher Status in GSM-Panel applet + + + + + + + + + + + + + 65 + + + maj + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + Visual indication for SMS overflow + + + + + + + + + + + + + 66 + + + cri + + P2 + + Neo + + mickey@vanille-media.de + + NEW + + + + Applet for Missed Events + + + + + + + + + + + + + 67 + + + nor + + P2 + + All + + mickey@vanille-media.de + + RESO + + WONT + + libmokopim not necessary + + + + + + + + + + + + + 68 + + + nor + + P2 + + Neo + + laforge@openmoko.org + + NEW - FIXE + - OE build of u_boot with CVSDATE 20061030 uses latest git ... + SIM backend for EDS @@ -868,25 +2132,25 @@ all_bugs = """ - + - 19 + 69 - min + maj P2 - Neo + All - teddy@fic-sh.com.cn + buglog@lists.openmoko.org - RESO + NEW - FIXE + - "reboot" doesn't work + Speed up System Initialization @@ -896,25 +2160,25 @@ all_bugs = """ - + - 20 + 70 - cri + nor P2 Neo - laforge@openmoko.org + buglog@lists.openmoko.org - RESO + NEW - FIXE + - connection status + Minimize Services started on Bootup @@ -924,25 +2188,25 @@ all_bugs = """ - + - 21 + 71 - blo + enh - P3 + P2 Neo - sean_chiang@fic.com.tw + gordon_hsu@fic-sh.com.cn - NEW + RESO - + FIXE - sms function missing + make a short vibration pulse once u-boot is starting @@ -952,25 +2216,25 @@ all_bugs = """ - + - 22 + 72 - nor + wis P2 Neo - laforge@openmoko.org + gordon_hsu@fic-sh.com.cn RESO FIXE - outgoing call generates 'segmentation fault' when the pee... + Add on-screen boot menu @@ -980,13 +2244,13 @@ all_bugs = """ - + - 23 + 73 - nor + blo P2 @@ -998,7 +2262,7 @@ all_bugs = """ FIXE - dtmf support not available now + test and verify battery charger control (pcf50606) @@ -1008,25 +2272,25 @@ all_bugs = """ - + - 24 + 74 - wis + blo - P2 + P1 Neo laforge@openmoko.org - NEW + RESO - + WONT - libgsmd/misc.h: lgsm_get_signal_quality() + stub audio driver to power up amp and route audio through... @@ -1036,25 +2300,25 @@ all_bugs = """ - + - 25 + 75 - nor + maj P2 Neo - davewu01@seed.net.tw + laforge@openmoko.org - ASSI + RESO - + FIXE - GtkSpinBox unfinished + PWM code for display brightness control @@ -1064,25 +2328,25 @@ all_bugs = """ - + - 26 + 76 - nor + enh P2 Neo - ken_zhao@fic-sh.com.cn + teddy@fic-sh.com.cn NEW - Pixmap Engine and Shadows + Implement PWM control for vibrator @@ -1095,7 +2359,7 @@ all_bugs = """ - 27 + 77 nor @@ -1104,13 +2368,13 @@ all_bugs = """ Neo - ken_zhao@fic-sh.com.cn + songcw@fic-sh.com.cn - ASSI + NEW - Labels on GtkButton don't appear centered + Finish, test and verify agpsd implementation @@ -1120,25 +2384,25 @@ all_bugs = """ - + - 28 + 78 - nor + maj P2 Neo - ken_zhao@fic-sh.com.cn + laforge@openmoko.org - NEW + RESO - + FIXE - GtkComboBox styling woes + Implement and test ASoC platform driver @@ -1148,25 +2412,25 @@ all_bugs = """ - + - 29 + 79 - nor + blo - P2 + P1 Neo - ken_zhao@fic-sh.com.cn + werner@openmoko.org RESO FIXE - GtkProgressBar styling woes + suspend/resume to RAM support @@ -1176,25 +2440,25 @@ all_bugs = """ - + - 30 + 80 - nor + maj P2 Neo - mickey@vanille-media.de + laforge@openmoko.org - REOP + RESO - + WONT - Touchscreen emits bogus events under X + Add sysfs entry for PMU wakeup reason @@ -1204,25 +2468,25 @@ all_bugs = """ - + - 31 + 81 - cri + maj P2 Neo - laforge@openmoko.org + werner@openmoko.org NEW - Display colors are slightly off + Decide how PMU RTC alarm interrupt is signalled to userspace @@ -1232,25 +2496,25 @@ all_bugs = """ - + - 32 + 82 - enh + nor P2 Neo - mickey@vanille-media.de + laforge@openmoko.org NEW - Common function for loading GdkPixbuf + implement and test cpufreq interface to S3C2410 PLL / SLO... @@ -1260,25 +2524,25 @@ all_bugs = """ - + - 33 + 83 - blo + enh P2 Neo - laforge@openmoko.org + teddy@fic-sh.com.cn - ASSI + NEW - incoming call status report causes gsmd to crash. + evaluate process and I/O schedulers @@ -1288,13 +2552,13 @@ all_bugs = """ - + - 34 + 84 - blo + nor P2 @@ -1302,11 +2566,11 @@ all_bugs = """ laforge@openmoko.org - ASSI + RESO - + FIXE - Need to decide if lgsm_handle is still valid. + enable voluntary preemption @@ -1316,15 +2580,15 @@ all_bugs = """ - + - 35 + 85 - enh + min - P5 + P2 Neo @@ -1332,9 +2596,9 @@ all_bugs = """ RESO - WONT + FIXE - Support debug board from u-boot + test NO_IDLE_HZ / tickless idle @@ -1344,13 +2608,13 @@ all_bugs = """ - + - 36 + 86 - blo + nor P2 @@ -1362,7 +2626,7 @@ all_bugs = """ FIXE - Implement s3c2410 udc (usb device controller) driver in u... + APM emulation for battery / charger / charging and possib... @@ -1372,13 +2636,13 @@ all_bugs = """ - + - 37 + 87 - blo + nor P2 @@ -1388,9 +2652,9 @@ all_bugs = """ RESO - DUPL + FIXE - Implement USB Device Firmware Upgrade (DFU) + define and implement how headphone jack routing/signallin... @@ -1400,25 +2664,25 @@ all_bugs = """ - + - 38 + 88 - enh + min P2 Neo - laforge@openmoko.org + teddy@fic-sh.com.cn - RESO + NEW - DUPL + - implement USB serial emulation in u-boot + use and test PMU watchdog driver @@ -1428,25 +2692,25 @@ all_bugs = """ - + - 39 + 89 - maj + cri P2 Neo - gordon_hsu@fic-sh.com.cn + teddy@fic-sh.com.cn - RESO + NEW - FIXE + - Move LCM initialization into u-boot (currently in kernel ... + determine correct gamma calibration values and put them i... @@ -1456,25 +2720,25 @@ all_bugs = """ - + - 40 + 90 - nor + cri - P2 + P1 Neo - werner@openmoko.org + laforge@openmoko.org - RESO + NEW - DUPL + - test + debug display of image on LCM in u-boot + GSM TS07.10 multiplex missing @@ -1484,25 +2748,25 @@ all_bugs = """ - + - 41 + 91 - enh + maj P2 Neo - ken_zhao@fic-sh.com.cn + laforge@openmoko.org - NEW + RESO - + DUPL - evaluate sapwood theme engine + debug sd card timeout problems @@ -1512,15 +2776,15 @@ all_bugs = """ - + - 42 + 92 - blo + nor - P3 + P2 Neo @@ -1530,7 +2794,7 @@ all_bugs = """ FIXE - dynamic mtd partition table cration + test multiple microSD card vendors for compatibility with... @@ -1540,25 +2804,25 @@ all_bugs = """ - + - 43 + 93 - maj + nor P2 - All + Neo - mickey@vanille-media.de + laforge@openmoko.org NEW - StatusBar (Footer) API + test 4GB microSD card compatibility @@ -1568,25 +2832,25 @@ all_bugs = """ - + - 44 + 94 - wis + maj P2 - All + Neo - mickey@vanille-media.de + tonyguan@fic-sh.com.cn - NEW + RESO - + FIXE - InputMethod API + + symbol support @@ -1596,25 +2860,25 @@ all_bugs = """ - + - 45 + 95 - nor + min P2 - All + Neo - mickey@vanille-media.de + sean_chiang@fic.com.tw NEW - Automatic opening input methods + verify charger current and battery temperature reading co... @@ -1627,7 +2891,7 @@ all_bugs = """ - 46 + 96 maj @@ -1638,11 +2902,11 @@ all_bugs = """ laforge@openmoko.org - RESO + NEW - FIXE + - 266MHz initialization of GTA01Bv2 + make sure PMU alarm (set via rtc interface) is persistent @@ -1652,25 +2916,25 @@ all_bugs = """ - + - 47 + 97 - min + blo P2 Neo - ken_zhao@fic-sh.com.cn + laforge@openmoko.org RESO - DUPL + FIXE - Evaluate sapwood theming engine + remove static mtd partition table, use u-boot created dyn... @@ -1680,25 +2944,25 @@ all_bugs = """ - + - 48 + 98 - maj + enh P2 Neo - laforge@openmoko.org + mickey@vanille-media.de - RESO + NEW - DUPL + - Only power up the phone in case power button was pressed ... + how to do touch panel calibration in factory and store va... @@ -1708,25 +2972,25 @@ all_bugs = """ - + - 49 + 99 - min + maj P2 All - mickey@vanille-media.de + laforge@openmoko.org - NEW + RESO - + DUPL - Implement touchscreen & click daemon + Implement SMS support @@ -1736,53 +3000,89 @@ all_bugs = """ - + - 50 + 100 - nor + maj P2 All - mickey@vanille-media.de + laforge@openmoko.org NEW - Sound Event API + Implement Cell Broadcast support + + + + + + + + + +