After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 735317 - Tracker no longer honours my 'ignore files' put on the disks
Tracker no longer honours my 'ignore files' put on the disks
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Miners
git master
Other Linux
: Normal critical
: ---
Assigned To: tracker-general
Depends on:
Blocks:
 
 
Reported: 2014-08-24 11:20 UTC by Dominique Leuenberger
Modified: 2014-08-25 11:44 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Dominique Leuenberger 2014-08-24 11:20:14 UTC
Somewhen in the dev cycle of tracker 1.1.x tracker forgot to listen to my configuration to ignore directories which I 'tag' as not indexed

In tracker-preferences, Ignored content, I have an entry '.tracker-ignore' in the list of 'With specific files'; this used to be a reliable way to tell tracker to skip this directory (and subdirectories thereof).

Now, this is obviously no longer correct:

> a quick extract from tracker-search

  file:///home/dle1gis/Documents/git/appstream-glib/libappstream-glib/as-enums.h
  ...documentation  * @AS_KUDO_KIND_APP_MENU		Uses the GNOME application menu...

  file:///home/dle1gis/Documents/git/appstream-glib/libappstream-glib/as-environment-ids.txt
  ...desktop environments GNOME KDE LXDE...


> and I still do have the file in place to ignore this directory
dle1gis@linux:~/Documents/git> ls -la .tracker-ignore 
-rw-r--r-- 1 dle1gis users 0 Jul 28 23:49 .tracker-ignore
dle1gis@linux:~/Documents/git> 

I consider this critical - as my tracker DB is now re-indexing everything; tracker-control sais it's 38% done and tracker's meta.db is already 1.5GB (and I know from the pas that this renders apps like gnome-music, gnome-documents and the like useless).
Comment 1 Martyn Russell 2014-08-25 08:20:04 UTC
I will take a look Dominique, I actually was thinking of making this a standard - i.e. we will always honour this file even if not in the config.
Comment 2 Martyn Russell 2014-08-25 11:44:06 UTC
commit c9096fd8774f3025d7adad3f97a2fafbfa0bbebb
Author: Martyn Russell <martyn@lanedo.com>
Date:   Mon Aug 25 12:42:45 2014 +0100

    libtracker-miner: Make sure we ignore directories with black listed content
    
    https://bugzilla.gnome.org/show_bug.cgi?id=735317

This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.