Revision b52f5ab...

Go back to digest for 30th October 2011

Bug Fixes in KDE Base

Sebastian Trueg committed changes in [kde-runtime] /services/fileindexer:

Fixed FileIndexerConfig::shouldBeIndexed for exclude filters.

We did not take one issue into account before: imagine we have an
exclude filter "build" and a folder $HOME/x/build/y/. This folder
should not be indexed. This was not handled before.
By checking each component of a path starting from the include folder
this case is now handled, too.

One problem remains: the IndexCleaner does not take this issue into
account yet. This means it will not cleanup all required entries yet.

File Changes

Modified 5 files
  • /services/fileindexer
  •   nepomuk/fileindexerconfig.cpp
  •   nepomuk/fileindexerconfig.h
  •   nepomuk/indexcleaner.cpp
  •   nepomuk/test/fileindexerconfigtest.cpp
  •   nepomuk/test/fileindexerconfigtest.h
5 files changed in total