[Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-24 Thread Seif Lotfy
@Kamstrup: I think your reasoning today why you chose to go with thekorn's proposition is spot on. installed launched and the empty subjects issue what do u think ? seif, for libzgs module I settled on setting the launched app as the subject kamstrup, :/ kamstrup, i think the empty subject

Re: [Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-20 Thread Mikkel Kamstrup Erlandsen
On 19 August 2010 18:42, Markus Korn wrote: > As I mentioned already on IRC, although I don't like the idea of having > events without a subject (because it's conceptual: "something is happening, > but we don't know what") I think this is the easiest solution for the usecase > of a GIO dataprov

Re: [Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-20 Thread Mikkel Kamstrup Erlandsen
On 19 August 2010 18:55, Seif Lotfy <620...@bugs.launchpad.net> wrote: > I would like to have a soltuion where the actor is the environment that > launches tha app and the subject is the app itself... > However his could mess up AJ terribly unless I query for all subjects except > for those of type

Re: [Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-19 Thread Seif Lotfy
I would like to have a soltuion where the actor is the environment that launches tha app and the subject is the app itself... However his could mess up AJ terribly unless I query for all subjects except for those of type software_item Querying this and sroting it by mostusedactor will give us most

[Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-19 Thread Markus Korn
As I mentioned already on IRC, although I don't like the idea of having events without a subject (because it's conceptual: "something is happening, but we don't know what") I think this is the easiest solution for the usecase of a GIO dataprovider which sits in the middle of the application whic

[Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-19 Thread Mikkel Kamstrup Erlandsen
Markus, I had a similar idea to begin with, but I don't think that works for the general case of launching app X with a list of N uris (N=0, 1, 2, 3, ...). To me it would be ugly if launching an app without uri args is different than launching an app with N uris. Alternatively we log first the "la

[Zeitgeist] [Bug 620109] Re: Refuses to log events without subjects

2010-08-19 Thread Markus Korn
Hmm, I think the main question here is: How do events for "launching applications look like?" >From how I understand your description I think you want something like: event = Event.new_from_values( timestamp=1, interpretation=ACCESS_EVENT, manifestation=USER_ACTIVITY, actor="/path/to/a