[Soc-coordination] GSoC 2015 Week 5: Apport for Debian

Yuru Shao shaoyuru at gmail.com
Sun Jun 28 21:25:03 UTC 2015


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/soc-coordination/attachments/20150628/f4e70f96/attachment.html>


More information about the Soc-coordination mailing list