On Fri, Jan 3, 2014 at 9:04 PM, Parin Porecha <[email protected]> wrote: > > Hi Chenxiong, > > Nice to know you're working on configurable Bugzilla plugin ! > > If I understand your question correctly, yes, there is a notification > mechanism in GTG. > You know the synchronization services we have ? (Launchpad, Gnote etc.) > Whenever these services fail (authentication failure, network problems, dbus > errors etc.), an area gets inserted between the toolbar and task browser. It > shows the error being faced and also has a button to go to the backends > dialog to configure the backend again. It does not depend on pynotify or any > external notification mechanism, and is instant. > > The code for notification is in GTG/backends/backendsignals.py > You can see the code of any backend to know how it works. Then, you can write > a child class to create your own notifications ! > > Since you're working on the Bugzilla plugin, can I request you to take a look > at this bug - https://bugs.launchpad.net/gtg/+bug/494967 > I believe if you modify the plugin to a backend service, not only > implementing your own notifications will become easy, but a lot of your work > will also be reduced as the sync service provides an architecture for user > preferences. > > If you need any help, feel free to ask :-) >
Hi Parin, Thanks for your quick response. I've pushed configurable Bugzilla plugin branch several months ago. That allows users to define individual Bugzilla services, such as Red Hat Bugzilla, GNOME Bugzilla, etc. However, just today when I checked mail, saw suggestion from Izidor about the possible implementation as a synchronization service. This lets me reconsider my original understand to the bugs including https://bugs.launchpad.net/gtg/+bug/494967. Two questions here https://code.launchpad.net/~qcxhome/gtg/configurable-bugzilla-plugin/+merge/178454 , could u please also take a look at this? I'm going to try to rewrite Bugzilla plugin as a synchronization service. So far, no concrete schedule on this plan. But, might start soon I think. Keep in touch. Regards, Chenxiong Qi > > > On Fri, Jan 3, 2014 at 6:11 PM, tkdchen <[email protected]> wrote: >> >> Hi all, >> >> As the subject. During the development of configurable Bugzilla plugin, I >> needed to notify user whose has no permission to access the bug's >> information in related Bugzilla system. I used pynotify. It works, but >> always feel not good enough. In this way, another dependency is required, >> and user only know what happened, when notification has been enabled in >> user's desktop, whichever KDE or GNOME. In the meanwhile, an internal >> notification can give user uniform experience directly. Expect to get some >> guide from you all. Thanks! >> >> Regards, >> Chenxiong Qi >> >> -- >> A Python developer living in Beijing >> http://about.me >> >> _______________________________________________ >> Mailing list: https://launchpad.net/~gtg-contributors >> Post to : [email protected] >> Unsubscribe : https://launchpad.net/~gtg-contributors >> More help : https://help.launchpad.net/ListHelp >> > > > > -- > Regards, > Parin Porecha > > GTG Developer > GNOME Foundation Member > Github | Launchpad | Gnome Bugzilla | Ohloh -- A Python developer living in Beijing http://about.me _______________________________________________ Mailing list: https://launchpad.net/~gtg-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~gtg-contributors More help : https://help.launchpad.net/ListHelp

