Exclude patterns and subdirectories



(This is more relevant to distributions and sysadmins)
Earlier beagle had a hardcoded list of file and directory name patterns 
(Makefile.in, .*, *.o etc) and directories (~/tmp) to ignore. There was a way 
to add more patterns and directories to the ignore list but nothing to enable 
indexing of a file with any of the default excluded patterns, e.g. Also, 
build-index was not using the full ignore list as that used by the file 
system backend.

With the new configuration system, the list is now configurable. The global 
default is in the config file 
$SYSCONFDIR/beagle/config-files/FilesQueryable.xml Add or remove values at 
will. Note that for subdirectories to exclude, environment variables can be 
used (e.g. the default excluded subdirectories included in the 
FilesQueryable.xml are $HOME/tmp and $BEAGLE_HOME/tmp). BuildIndex now shares 
the same exclude pattern list as well.

Users can further override the behaviour to their liking by using the 
beagle-settings GUI or beagle-config. If you can test the system and help us 
iron out any remaining bugs in the new config system, that will be 
appreciated.
Thanks.

- dBera

-- 
-----------------------------------------------------
Debajyoti Bera @ http://dtecht.blogspot.com
beagle / KDE fan
Mandriva / Inspiron-1100 user


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