I am thinking of an algorithm for determining the event type looking
something like:

  if (added == visited == modified)
    return create_event;
  else if (visited =< modified)
    return modify_event;
  else
    return access_event;

-- 
Logs 3 events for each recent file
https://bugs.launchpad.net/bugs/618639
You received this bug notification because you are a member of Zeitgeist
Framework Team, which is subscribed to Zeitgeist Framework.

Status in Zeitgeist Framework: New
Status in Zeitgeist Datahub: New

Bug description:
Each event for a recent file is logged 3 times. An AccessEvent, ModifyEvent, 
and a CreateEvent. Scatter shooting when we can't figure out the event type 
greatly decreases the value of the logged data.

We need to figure something out here I think...



_______________________________________________
Mailing list: https://launchpad.net/~zeitgeist
Post to     : zeitgeist@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zeitgeist
More help   : https://help.launchpad.net/ListHelp

Reply via email to