Hi, On 7/24/07, jamie <jamiemcc blueyonder co uk> wrote:
On Tue, 2007-07-24 at 16:17 +0200, Marcus Fritzsch wrote: > Hi there, > > as the new crawling is there I wanted to try it for my NFS exports > over the net, the problem: it did not worked, the crawled directories > were on the crawled directories list, but were never checked on start > - this is one part. you just need to check the crawled directories are not sub directories of the watched ones and then do as you have coded.
Right! Did not thought of that. And, one step further, is it a problem if a watched directory is a sub directory of a crawled one? The check is located in sanity_check_option_values ().
> The other part: when removing $HOME from WatchDirectoryRoots (also, > this 'disables' the t-p preferences checkbox), $HOME is added to the > watched directories if this list is empty (and so is indexed later > on). we default to home dir if no watches set - this has been the behaviour since the beginning so not sure if I want to change it
Hmm, yes, but then the preferences switch for indexing and watching of the $HOME is pretty useless, or do I missed something here? Marcus
Attachment:
tracker_r720_index_crawled_dirs.patch
Description: Text Data