GNOME Bugzilla – Bug 529112
Write a Gnome Do plugin
Last modified: 2012-09-24 18:17:33 UTC
For those do people, a hamster plugin to gnome-do would be great. Gnome-Do has plugin system in C or something though, so will have to thing how to make that possible
Gnome-Do plugins are typically written in C# but according to https://wiki.ubuntu.com/GnomeDo/BuildingPlugins, you can write them in any language that Mono supports (Python being one of them). The disclaimer here is that I know next to nothing about C#, Python or Mono but would love to have a gnome-do plugin for hamster :-)
The normal way these plugins are done is that the app offers a dbus interface, and the plugin makes actions available that work by calling methods on that dbus interface. The people in #gnome-do on freenode are very friendly and helpful. If, after creating your dbus interface (unless you already have one?), you want help on creating the Do plugin, add a comment here and I'll take a look at it.
We already have a dbus interface. By now it's quite simple, but we could add some methods more if it seems necessary. Please, have a look at the new code and tell us what we need. Thank you so much for your help :-)
Created attachment 127451 [details] [review] Add some methods for GNOME Do plugin I guess as a GNOME Do plugin i need to be able to set what im doing and (for autocomplete) be able to get a list of activities. I need to tidy this up so it supports the same arguments as the storage class, but is this the right place in the API to be poking? (Tested via d-feet, and seems to do what i expect)
Looks good to me, John!
If those are likely to be the final methods, I can start writing the Gnome-Do plugin, assuming John hasn't started already.
Where is my gnome do plugin?! :) Hahah, nah, just kidding. Still - what's the status Ashton?
Working on it. The Gnome-Do doesn't have very good documentation, so I'm basically just teaching myself as I go using other plugins as examples. It'll be a little while.
it would be interesting to see a draft, plan or a mockup for the whole thing!
thought will drop in link to Ashton's work, if anybody's interested: https://code.launchpad.net/~ashtonkemerling/+junk/hamster-plugin
Hey, sorry I've been off the radar for so long. School started up for me again, and my spare time has disappeared. I'll make another try at completing this, but it'll probably be a few weeks before I even have the time to start again. If anyone wants to take over this bug, feel free to take a look at my code, and use whatever you want.
the gnome plugin is still in hamster code but most likely will be split out if you have new info, feel free to file a bug in github https://github.com/projecthamster/hamster/issues?state=open