Re: [Tracker] IgnoredDirectories aren't ignored?



On 29/09/09 14:08, Martyn Russell wrote:
On 29/09/09 11:36, Tshepang Lekhonkhobe wrote:
Hi,

There's a dir in my home dir, /home/me/temp, which I put under
IgnoredDirectories but tracker-miner-fs ignores this setting.

This is a glob matching config. So full paths should not be specified,
so you would have to put in "temp" (i.e. the basename).

While this is good for specific recurring directories like .svn, it
isn't any good for single paths. I have been meaning to add an option
back for this or perhaps it makes more sense to just detect
G_DIR_SEPARATEOR_S in the path and if there is one, use the full path
instead of the basename for comparison.

Thanks for reminding me about this Tshepang. I have fixed this now. I tested it with:

--

IndexRecursiveDirectories=$HOME/Source/tracker/;

IgnoredDirectories=po;CVS;.svn;.git;core-dumps;lost+found;/home/martyn/Source/tracker/src;$HOME/Source/tracker/docs;

IgnoredDirectoriesWithContent=backup.metadata;

IgnoredFiles=*~;*.o;*.la;*.lo;*.loT;*.in;*.csproj;*.m4;*.rej;*.gmo;*.orig;*.pc;*.omf;*.aux;*.tmp;*.po;*.vmdk;*.vm*;*.nvram;*.part;*.rcore;lzo;autom4te;conftest;confstat;Makefile;SCCS;litmain.sh;libtool;config.status;confdefs.h;/home/martyn/Source/tracker/extensions/firefox-extension/chrome/content/jslib/io/file.js;$HOME/Source/tracker/app_base.info;

--

It seemed to work nicely.

--
Regards,
Martyn



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