idea wanted for metadata maintenence

Sebastian TrĂ¼g strueg at mandriva.com
Wed Apr 2 10:48:12 BST 2008


Hi,

we have a little problem in Nepomuk: when files are moved or deleted we need 
to update the related metadata.
In playground I have a service that does exactly that using inotify. The 
problem is that KDirWatch does use fam by default which does not provide file 
moved information, i.e. there is no way to get the original URL of a moved 
file.
So we need another way. Any ideas here? Do Windows or MAC have a system that 
provides moved signals?

[And please do not propose the idea of using extended attributes for metadata. 
That is not an option since files are only a special case of resource in 
Nepomuk. I only happend to start with this special case since it is best 
known to everyone. Soon (code already here locally) we will see arbitrary 
resources with their own metadata which can be linked with and to files.]

Thanks a lot,
Sebastian




More information about the kde-core-devel mailing list