Re: [Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Seif Lotfy
Yeah I would say the best solution is to wait for TaksView On Fri, Aug 13, 2010 at 4:14 PM, Michal Hruby wrote: > I also don't think this is a good approach, for one the notifications > often fire very soon - it might not even be possible to get mimetype of > the file (not to mention .part-type

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Michal Hruby
I also don't think this is a good approach, for one the notifications often fire very soon - it might not even be possible to get mimetype of the file (not to mention .part-type files), and I'm not so sure the API enables you to determine that an operation is a move/copy. You'd probably just see a

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Mikkel Kamstrup Erlandsen
Seif, what makes you believe Tracker doesn't have issues? I can tell you for sure that they poured a LOT of development effort into making file monitoring as light as possible. It wont work well if you don't really take care in how you set all the monitors up. -- Monitoring for new files https://

Re: [Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Seif Lotfy
If its going to be in the DataHub or DataProvider then GIO by all means... Again I am no 100% convinced myself but I see Tracker doing it and not having much issues. So it wont be in Zeitgeist directly... On Fri, Aug 13, 2010 at 3:25 PM, Mikkel Kamstrup Erlandsen < mikkel.kamst...@gmail.com> wrote

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Mikkel Kamstrup Erlandsen
I am still not convinced on this approach... I think file monitoring is exactly what we want to avoid in ZG... If you insist on doing it, then I still don't know why you want to use inotify directly and not an abstraction layer like gio? -- Monitoring for new files https://bugs.launchpad.net/bug

[Zeitgeist] [Bug 617308] Re: fts doesn't index uris correctly

2010-08-13 Thread Mikkel Kamstrup Erlandsen
ok, then this is definitely because of missing URI escaping -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Smack-ins. Status in Zeitgeist Smack-i

[Zeitgeist] [Bug 617308] Re: fts doesn't index uris correctly

2010-08-13 Thread Michal Hruby
Yep, 20bar returns it. -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Smack-ins. Status in Zeitgeist Smack-ins: New Bug description: When I have

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Seif Lotfy
** Also affects: zeitgeist-datahub Importance: Undecided Status: New -- Monitoring for new files https://bugs.launchpad.net/bugs/602211 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgei

[Zeitgeist] [Bug 617308] Re: fts doesn't index uris correctly

2010-08-13 Thread Mikkel Kamstrup Erlandsen
Can you find it by searching for '20bar' or some other add string? I think it's just because we a missing a URL escape somewhere in the indexer though... -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this bug notification because you are a member of Zeit

[Zeitgeist] [Bug 617313] Re: fts returning strange results

2010-08-13 Thread Mikkel Kamstrup Erlandsen
Right now the FTS extension doesn't support deletes. The delete hook was only added in ZG 0.5.0 and i've not gotten around to adding it in fts yet. But I am not sure that could account for you odd results... -- fts returning strange results https://bugs.launchpad.net/bugs/617313 You received thi

[Zeitgeist] [Bug 602211] Re: Monitoring for new files

2010-08-13 Thread Seif Lotfy
Markus All Tracker does is use inotify on the xdg directories recursively as i said. So I agree half way with you here. We can write a dataprovider with the new datahub that montiors those directories and send us the events from there :) No need to depend on Tracker. And it is an easy hack... What

[Zeitgeist] [Bug 614315] Re: fts extension fails to load

2010-08-13 Thread Seif Lotfy
** Changed in: zeitgeist Importance: Undecided => Medium -- fts extension fails to load https://bugs.launchpad.net/bugs/614315 You received this bug notification because you are a member of Zeitgeist Framework Team, which is subscribed to Zeitgeist Framework. Status in Zeitgeist Framework: Fi

[Zeitgeist] [Bug 488968] Re: Caching of Event objects for use with GetEvents

2010-08-13 Thread Seif Lotfy
I think this is invalid since we got rid of the LRU cache... I will mark it as invalid, feel free to reopen. ** Changed in: zeitgeist Status: Confirmed => Invalid -- Caching of Event objects for use with GetEvents https://bugs.launchpad.net/bugs/488968 You received this bug notification b

[Zeitgeist] [Bug 580372] Re: Event.new_for_values() does not check arguments

2010-08-13 Thread Seif Lotfy
Here is the merge request https://code.edge.launchpad.net/~zeitgeist/zeitgeist/timerange_and_event_value_fix/+merge/32574 ** Changed in: zeitgeist Status: Triaged => Fix Committed -- Event.new_for_values() does not check arguments https://bugs.launchpad.net/bugs/580372 You received this b

[Zeitgeist] [Bug 614295] Re: TimeRange.always() is inconsistent

2010-08-13 Thread Seif Lotfy
https://code.edge.launchpad.net/~zeitgeist/zeitgeist/timerange_and_event_value_fix/+merge/32574 ** Changed in: zeitgeist Status: Triaged => Fix Committed -- TimeRange.always() is inconsistent https://bugs.launchpad.net/bugs/614295 You received this bug notification because you are a membe

[Zeitgeist] [Merge] lp:~zeitgeist/zeitgeist/timerange_and_event_value_fix into lp:zeitgeist

2010-08-13 Thread Seif Lotfy
Seif Lotfy has proposed merging lp:~zeitgeist/zeitgeist/timerange_and_event_value_fix into lp:zeitgeist. Requested reviews: Zeitgeist Framework Team (zeitgeist) I fixed the TimeRange.always to be consistent: so instead of (-maxint, maxint) it has become (0, maxint) Also I check for values o

[Zeitgeist] [Bug 614284] Re: fts extension is not expanding stuff correctly in queries

2010-08-13 Thread Michal Hruby
** Changed in: zeitgeist-extensions Status: New => Invalid -- fts extension is not expanding stuff correctly in queries https://bugs.launchpad.net/bugs/614284 You received this bug notification because you are a member of Zeitgeist Extensions, which is the registrant for Zeitgeist Smack-in

[Zeitgeist] [Bug 617313] [NEW] fts returning strange results

2010-08-13 Thread Michal Hruby
Public bug reported: Yesterday I was searching for "matchbox", and among the results were files (and webpages) that don't have any mention of "matchbox" in either uri, nor text. (contents indexing wasn't turned on, and matchbox wasn't even inside contents). For example it returned my local uri for

[Zeitgeist] [Bug 617309] [NEW] fts can SIGSEGV ZG during reindex

2010-08-13 Thread Michal Hruby
Public bug reported: Any search query while FTS is reindexing the DB will cause a SIGSEGV. ** Affects: zeitgeist-extensions Importance: Undecided Status: New -- fts can SIGSEGV ZG during reindex https://bugs.launchpad.net/bugs/617309 You received this bug notification because you

[Zeitgeist] [Bug 617308] [NEW] fts doesn't index uris correctly

2010-08-13 Thread Michal Hruby
Public bug reported: When I have a uri that says "file:///..foo%20bar", it's not returned when searching for "bar". ** Affects: zeitgeist-extensions Importance: Undecided Status: New -- fts doesn't index uris correctly https://bugs.launchpad.net/bugs/617308 You received this b