Hi all,

This week I continued working on integrating Apport with Debian BTS. Last
week we found  the library python-debianbts doesn't support python 3 [1],
so Apport cannot use it to fetch bug reports from Debian BTS because Apport
can only work with python 3.

It seems that python-debianbts is the only library that meets our demand.
To achieve our original goal we came up with a workaround: We assume both
python 2 and python 3 have been installed. We create a daemon (implemented
in python 2) that serves as a proxy and let Apport (python 3) request bug
report data from that daemon. For IPC between the proxy daemon and Apport
we use Unix domain socket.

Following this idea, this past week I built a proxy that can fetch data
from Debian BTS using python-debianbts [2], and integrated it into Apport.
I also implemented a helper for Apport to interact with the proxy.


[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=732644
[2]
https://github.com/windflyer/apport/blob/gsoc/gtk/apport_debianbts_proxy.py
_______________________________________________
Soc-coordination mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/soc-coordination

Reply via email to