[Reportbug-maint] still interested in using debbugs SOAP instead of HTML?

Bastian Venthur venthur at debian.org
Thu Apr 22 20:43:30 UTC 2010


Hi reportbug team,

are you still interested in porting reportbug to debbugs' SOAP interface
for fetching bugreports? I'd be still willing to help porting reportbug
to python-debianbts which runs like a charm for almost two years now for
reportbug-ng.

Just a short crashcourse into debianbts:

>>> import debianbts as bts

>>> l = bts.get_bugs(["package", "reportbug", "severity", "normal"])
# l is a list of integers -> bugnumbers
# it contains all bugnumbers of package reportbug with severity
# normal

>>> bugs = bts.get_status(l)
# bugs is a list of bugreport objects containing:

>>> print bugs[0]
fixed_versions: []
blockedby:
keywords: []
done: True
unarchived: False
owner:
id: None
subject: reportbug: Crashes after selecting package
archived: False
forwarded:
bug_num: 575452
msgid: <20100325222739.15355.53270.reportbug at debian.local>
source: reportbug
location: db-h
pending: done
found_date: []
originator: Jonathan Steel <jsteel at vorx.com>
blocks:
tags: []
date: 2010-03-25 22:30:02
mergedwith:
severity: normal
package: reportbug
summary:
log_modified: 2010-03-25 22:42:09
fixed_date: []
found_versions: [u'reportbug/4.10.2']
affects:
found: None
fixed: None


Cheers,

Bastian


-- 
Bastian Venthur                                      http://venthur.de
Debian Developer                                 venthur at debian org





More information about the Reportbug-maint mailing list