Re: [Tracker] [PATCH] Exclude directories from being indexed



Hi again,

On 7/29/06, Jamie McCracken <jamiemcc blueyonder co uk> wrote:
[...]
should do - feel free to apply.

Ah yes - it does not do ;) There is this dir_only flag, which prevents
my no_watch_dirs from being checked, as
src/trackerd/trackerd.c:scan_directory calls
src/trackerd/tracker-utils.c:tracker_get_files with that dir_only
being FALSE.

Also, doing

 !dir_only || (dir_only && ...

is not that beautiful ;)

But, what is dir_only for? It should be TRUE, else no_watch_dirs will
not be checked...

> Currently they are quite happy indexed, so I ended up with this patch
> ;)

yeah sorry about that - I have a number of outstanding patches to apply
(and convert to new cvs version)

Arrgh - for every thing i posted I did a search to the mailing list
(posts before my time being here) --- but did not found anything so
far, well, this time did not searched for :)

Just been so busy this month hence the delay in applying them all.

thanks anyway for your efforts :)

Nah - nothing compared to tracker!



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]