Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Seif Lotfy
And thus my suggestion to return only the event logs and optional another dict of the uris and their metadata 2009/8/2 Mikkel Kamstrup Erlandsen > 2009/8/2 Siegfried Gevatter : > > SNIP... > > What I think we really need to decide now is how we want to represent > > events and items (when return

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Mikkel Kamstrup Erlandsen
2009/8/2 Siegfried Gevatter : > SNIP... > What I think we really need to decide now is how we want to represent > events and items (when returned by FindEvents et all). I think you hit the nail on the head here. I think the current Zg API leaves a blurry line for what Zeitgeist actually is. If we

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Seif Lotfy
Siegfried had a very nice idea of having two arrays as a return one with all the eventinfos and one with all the iteminfos this way we need to query the info of the events as well of the items only once 2009/8/2 Mikkel Kamstrup Erlandsen > 2009/8/2 Seif Lotfy : > > SNIP ... > > FindEvents howeve

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Mikkel Kamstrup Erlandsen
2009/8/2 Seif Lotfy : > SNIP ... > FindEvents however will retrun the EventInfo dict as well as the following > dict (How we do it will be optimized i have a solution for that) It needs to be an array of item dicts. An event can have several targets. -- Cheers, Mikkel __

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Siegfried Gevatter
2009/8/2 Seif Lotfy : > FindEventsOnly will return 1 dict with the eventinfo What's the use case for that? -- Siegfried-Angel Gevatter Pujals (RainCT) Ubuntu Developer. Debian Contributor. ___ Mailing list: https://launchpad.net/~zeitgeist Post to

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Seif Lotfy
Most of the magic is the expiring tags crap and some similar usages and tags! However my main concern now is we have to move along and not depend on the fact that tracker wants to release! Give me a release and then we can see if we can depend on it! Let us concentrate with our current tools and r

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Siegfried Gevatter
Hey, I have to admit I haven’t looked at Tracker yet (so maybe once I see it I may change my opinion), but at the moment my idea is that once Tracker supports events (so that we can store everything in there and don’t need to keep events in our own database, which wouldn’t work performance-wise gi

Re: [Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Seif Lotfy
Hi guys! I read the blogpost yesterday and I must say I think we are doing ok! If we concentrate that the engine does nothing but log events the problem is not as big as we think it is. Using DBus we can write extension that extend the metadata we have about our items. I don't see a full rewrite

[Zeitgeist] Zeitgeist API Ramblings

2009-08-02 Thread Mikkel Kamstrup Erlandsen
Hi Zeitgeisters! I wrote a longish blog post spilling my brains with a lot of Zeitgeist thoughts I've been brewing in my head lately. Maybe it is completely bonkers - http://www.grillbar.org/wordpress/?p=345, or how do you guys feel? Don't get me wrong - I don't want to throw the baby out with th