[Nepomuk] Bugs, Patches and Scripts. - StrigiService & KInotify

Sebastian Trüg trueg at kde.org
Tue Apr 27 09:29:43 CEST 2010


Hi Vishesh,

On 04/26/2010 08:18 PM, Vishesh Handa wrote:
>     > Btw, we need to do something about this. I have partitioned my hard
>     > disk, and they are mounted in the /media/ directory. The metadata
>     mover
>     > just deletes the metadata. I was thinking about downloading the
>     kernel's
> 
>     I dont really follow.
>      
> 
> The FileWatch service currently only watches the home directory, I have
> some things mounted in my /media/ directory, which are indexed. The
> metadata copier doesn't work over there. When I copy some folder, say
> XYZ, from my home directory to /media/somefolder/. XYZ's metadata gets
> deleted.

Hm, that is a bug then since the strigi service normally reports the
indexed folders to the file watcher which will then start watching them.
But maybe since now the filewatcher does change the strigi config
anyway, we could let the filewatcher read those values directly.

>     hacking on inotify is a bit much I suppose. Maybe we should rather talk
>     to the kernel people about the problems.
> 
> 
> Could you? Please.

Will try.

>     that would be great. Like I said I think one method would be enough. And
>     for now it would be perfectly OK to simply rewrite the strigi config via
>     KConfig. Just use readPathEntry and writePathEntry to update the
>     folders. But make sure to only write data back if it actually changes. I
>     am not sure if KConfig already handles that.
> 
> I'll work on it tom. I'm too worried about GSoC right now!

great. :)

Cheers,
Sebastian


More information about the Nepomuk mailing list