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

2010-04-22 Thread Bastian Venthur
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.report...@debian.local
source: reportbug
location: db-h
pending: done
found_date: []
originator: Jonathan Steel jst...@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



___
Reportbug-maint mailing list
Reportbug-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint


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

2010-04-22 Thread Sandro Tosi
Hello Bastian,
thanks for your email.

On Thu, Apr 22, 2010 at 22:43, Bastian Venthur vent...@debian.org wrote:
 Hi reportbug team,

 are you still interested in porting reportbug to debbugs' SOAP interface
 for fetching bugreports?

Of course we are.

 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.

Before doing the switch, we have to perform some preparatory steps:

- code cleanup
- implement a unittest suite
- possibly refactoring

We'll do it in the coming months, but definitely not for squeeze,
since we're trying to stabilize reportbug (fixing bugs and refreain
from introducing new features).

 Just a short crashcourse into debianbts:
...

Nice, Thanks!

Regards,
-- 
Sandro Tosi (aka morph, morpheus, matrixhasu)
My website: http://matrixhasu.altervista.org/
Me at Debian: http://wiki.debian.org/SandroTosi

___
Reportbug-maint mailing list
Reportbug-maint@lists.alioth.debian.org
http://lists.alioth.debian.org/mailman/listinfo/reportbug-maint