Projects/Nepomuk/SystemLinkHandling

From KDE Community Wiki
Revision as of 17:26, 3 December 2012 by Vhanda (talk | contribs) (Created the page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

This is a page documenting how we should be handling system links in Nepomuk.

File Watcher

We should not be installing watches twice. How do we go about doing this? There are a lot of edge cases.

Some of the crazy cases from the top of my head -

1. /media/disk/systemLink -> /home/vishesh/Music/SomeFolder/. When one unmounts /media/disk, one shouldn't remove the watches for /home/vishesh/Music/SomeFolder.

File Indexer

How should the url of the file be saved? As the orignal url or the one with the system link? If we only decide to save the full url, then how do we deal with IndexCleaner? It would delete the file metadata.

Resource

We need to be able to initialize a resource with both the file urls. How does one go about doing this?