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 487032 - The function of "Ignored File Patterns" has not been realized.
The function of "Ignored File Patterns" has not been realized.
Status: RESOLVED FIXED
Product: tracker
Classification: Core
Component: Preferences
unspecified
Other All
: Normal enhancement
: ---
Assigned To: Jamie McCracken
Jamie McCracken
Depends on:
Blocks:
 
 
Reported: 2007-10-16 03:43 UTC by Wendy Hu
Modified: 2007-12-01 15:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Patch for this (635 bytes, patch)
2007-10-31 03:51 UTC, Wendy Hu
none Details | Review
Should be included .h file (661 bytes, text/x-chdr)
2007-10-31 03:54 UTC, Wendy Hu
  Details
Should be included .c file (5.12 KB, text/x-csrc)
2007-10-31 03:55 UTC, Wendy Hu
  Details

Description Wendy Hu 2007-10-16 03:43:58 UTC
When we have set the patters of files that should be ignored by the TST in Tracker-preferences, we should not find the result which the patter is should be ignored.
Comment 1 Wendy Hu 2007-10-31 03:51:43 UTC
Created attachment 98220 [details] [review]
Patch for this
Comment 2 Wendy Hu 2007-10-31 03:54:43 UTC
Created attachment 98221 [details]
Should be included .h file 

the tracker-glob.h file is used for trakcer-glob.c file
Comment 3 Wendy Hu 2007-10-31 03:55:29 UTC
Created attachment 98222 [details]
Should be included .c file 

tracker-glob.c
Comment 4 Tommaso Schiavinotto 2007-11-21 06:43:38 UTC
The same bug has been reported by the user schrodycat on Ubuntu Launchpad:
https://bugs.launchpad.net/ubuntu/+source/tracker/+bug/147486
Comment 5 moonstruxx 2007-12-01 13:14:14 UTC
For me with tracker 0.6.3 the pattern exclusion still dosen't work.

Here a snipp of my config:
[Indexing]
# Throttles the indexing process. Allowable values are 0-20. higher values decre
ase indexing speed
Throttle=0
# Disables the indexing process
EnableIndexing=true
# Enables indexing of a file's text contents
EnableFileContentIndexing=true
# Enables generation of thumbnails
EnableThumbnails=false
# List of partial file patterns (glob) seperated by semicolons that specify file
s to not index (basic stat info is only indexed for files that match these patte
rns)
NoIndexFileTypes=fasta;

i tried *.fasta , to and any other "may ba valid pattern". but when i start tracker it segfaults, while it tries to index fasta files :/ i can't use tracker for months now

Here is the tracker output:
service id for Folders is 3 and sid is 48886 with mime Folder
0 files are pending with count 0
checking /home/bjoern/workspace-git/PythonScripts/src/hämoglobin/chains/Alignments for 5 files
mime is text/plain for /home/bjoern/workspace-git/PythonScripts/src/hämoglobin/chains/Alignments/2DN2-chain_c.fasta
file extension is fasta
file /home/bjoern/workspace-git/PythonScripts/src/hämoglobin/chains/Alignments/2DN2-chain_c.fasta is indexable
file /home/bjoern/workspace-git/PythonScripts/src/hämoglobin/chains/Alignments/2DN2-chain_c.fasta has fulltext 1 with service Text
Indexing /home/bjoern/workspace-git/PythonScripts/src/hämoglobin/chains/Alignments/2DN2-chain_c.fasta with service Text and mime text/plain (new)
service id for Text is 8 and sid is 48887 with mime text/plain
Speicherzugriffsfehler


Any help would be really welcome!
Björn
Comment 6 Jamie McCracken 2007-12-01 13:22:04 UTC
This is fixed in svn and will be in 0.6.4
Comment 7 moonstruxx 2007-12-01 15:47:15 UTC
I got it working here finally :). I reinstallled Tracker, deleted all config files and used tracker-preferences to setup the Ignores. Now the line in the config looks 
like NoIndexFileTypes=fasta;*.fasta;; .