[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
I'm removing the attached branch, since the initial issue is not fixed by this changes (maybe indirectly= ** Branch unlinked: lp:~seif/zeitgeist/fix-641968 ** Changed in: zeitgeist Status: In Progress => Confirmed -- querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working https://bugs.launchpad.net/bugs/641968 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: Confirmed Bug description: Scenario: I would like to know which actor touched a file with uri="home/boo" least recently. This query should do the job: >>> template = Event.new_for_values(subject_uri="home/boo") >>> ids = engine.find_eventids(TimeRange.always(), [template, ], >>> StorageState.Any, 0, ResultType.LeastRecentActor) However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
** Branch linked: lp:~seif/zeitgeist/fix-641968 -- querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working https://bugs.launchpad.net/bugs/641968 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: In Progress Bug description: Scenario: I would like to know which actor touched a file with uri="home/boo" least recently. This query should do the job: >>> template = Event.new_for_values(subject_uri="home/boo") >>> ids = engine.find_eventids(TimeRange.always(), [template, ], >>> StorageState.Any, 0, ResultType.LeastRecentActor) However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
IMHO our current understanding of LeastRecentActor is wrong... Let's assume we have sequential events. (The actors are defined by numbers) 2, 1, 3, 2, 1, 4 So we have 4 different actors (1,2,3,4) and we want to sort them by least recent. the least recent is not 2 or 1 since they are used again at the end. the least recent is 3 This means LeastRecentActors should return the latest actors sorted ASC: 3, 2, 1, 4 and not 2, 1, 3, 4 MostRecentActors should return the same last 4 files but in reversed sorting: 4, 3, 1, 2 ** Branch linked: lp:~zeitgeist/zeitgeist/fix-641968 -- querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working https://bugs.launchpad.net/bugs/641968 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: In Progress Bug description: Scenario: I would like to know which actor touched a file with uri="home/boo" least recently. This query should do the job: >>> template = Event.new_for_values(subject_uri="home/boo") >>> ids = engine.find_eventids(TimeRange.always(), [template, ], >>> StorageState.Any, 0, ResultType.LeastRecentActor) However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
** Changed in: zeitgeist Status: Confirmed => In Progress ** Changed in: zeitgeist Assignee: (unassigned) => Seif Lotfy (seif) -- querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working https://bugs.launchpad.net/bugs/641968 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: In Progress Bug description: Scenario: I would like to know which actor touched a file with uri="home/boo" least recently. This query should do the job: >>> template = Event.new_for_values(subject_uri="home/boo") >>> ids = engine.find_eventids(TimeRange.always(), [template, ], >>> StorageState.Any, 0, ResultType.LeastRecentActor) However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp
[Zeitgeist] [Bug 641968] Re: querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working
** Summary changed: - querying on LeastRecentActor for a certain subject_uri is not working + querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working ** Changed in: zeitgeist Assignee: Seif Lotfy (seif) => (unassigned) -- querying on LeastRecentActor and MostRecentActor for a certain subject_uri is not working https://bugs.launchpad.net/bugs/641968 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: Confirmed Bug description: Scenario: I would like to know which actor touched a file with uri="home/boo" least recently. This query should do the job: >>> template = Event.new_for_values(subject_uri="home/boo") >>> ids = engine.find_eventids(TimeRange.always(), [template, ], >>> StorageState.Any, 0, ResultType.LeastRecentActor) However as you can see in the attached script this does always return an empty result. It looks like LeastRecentActor plus any search template is not working. ___ Mailing list: https://launchpad.net/~zeitgeist Post to : zeitgeist@lists.launchpad.net Unsubscribe : https://launchpad.net/~zeitgeist More help : https://help.launchpad.net/ListHelp