Tuesday 15 March 2011

Python Threads in Giterdone

I would have loved to use python threads to do a lot of the heavy lifting while monitoring VCS repositories. However, due to the way gedit launches its python plugins or at least the python runtime doesn't allow these plugins to run their own threads. See this thread:


So they finally implemented it but it was too late to get into Ubuntu 11.04. So for now I will have to stick to some tricky event handling to monitor the repositories. So far its working fine. The only downside is that giterdone can't pick up any changes that don't trigger any gtk event.

Looking at the change log here:


It looks like python threading was enabled in version 2.31.2, but then python plugins were disabled all together in 2.31.4. So I'm not sure when I'll be able to start using giterdone with the new threading model. Ubuntu 11.10?

No comments:

Post a Comment