[Reportbug-maint] debianbts.py platform independence

Ritesh Raj Sarraf rrs at researchut.com
Mon Aug 4 20:37:33 UTC 2008


On Tuesday 05 August 2008 01:11:56 Chris Lawrence wrote:
> If python-btsutils now has a more functional interface--when I
> investigated it before, some of which I think you can find in the
> abandoned 4.x branch in svn, it only would handle the logic of
> grabbing single reports; its support for grabbing info on a whole
> package was weak and essentially required grabbing all of the reports
> individually to get the metadata we need for the bug list--I'll work
> towards making reportbug call btsutils directly or a thin wrapper to
> replace our debianbts.py (I have no clue or interest what the -NG
> people want to do with python-debianbts - it's their fork and I'm not
> going to get involved with it).
>
> In short, I think python-btsutils overall is the winning solution for
> all concerned if the warts have been fixed but I haven't had time to
> investigate.

Thank you Chris. This is a clearer answer I was looking for.

I've been using debianbts.py from reportbug for around a year without 
problems. For me, the module running on Windows is very important because 
the basic idea is to have people in internet starved countries be able to 
use Debian and apt. Many such countries still largely run on Windows.

The way I've been using is:
Download Package:
  If Success, Download BugReports for the Package

Attached is the example code I use.

I needed only one of the function to get all my work done. And IIRC, just 
omitting 1-2 modules (reportbug I think), made it run on Windows.

I looked into the python-btsutils module and it looks good. I think I'll 
be able to easily use it. Most of the stuff that I need seems already 
available in debbugs.py and soap.py
The only thing I need more is a way to get the list of bugs for any given 
package. I'll look into it tomorrow.

Thank you.

Ritesh
-- 
Ritesh Raj Sarraf
RESEARCHUT - http://www.researchut.com
"Necessity is the mother of invention."

-------------- next part --------------
A non-text attachment was scrubbed...
Name: bts.py
Type: text/x-python
Size: 3328 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20080805/32e5e427/attachment.py 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/reportbug-maint/attachments/20080805/32e5e427/attachment.pgp 


More information about the Reportbug-maint mailing list