[tracker-miners/sam/test-runner-fix: 13/31] Ignore some more files that can appear in the applications directory



commit 3ee56c3ef197bd9f3da408615a254960e818b379
Author: Sam Thursfield <sam afuera me uk>
Date:   Fri Jan 4 20:55:49 2019 +0100

    Ignore some more files that can appear in the applications directory
    
    Since commit d13fd8b28a7c95a1f1bced we have been mining .desktop files
    from the XDG application directories such as /usr/share/applications. In
    order for this to work as expected, we need the FS miner to ignore other
    files that it finds there. This commit adds 2 files that appear on my
    Fedora system to the ignored-files list.
    
    If there are files in these directores that aren't expected to be there,
    it breaks the functional-tests. The 300-miner-basic-ops test creates 3
    text files and asserts that these and only these were found by the
    miner-fs. If extra stuff from XDG applications dirs turns up in the list
    of text files, the test fails.

 data/org.freedesktop.Tracker.Miner.Files.gschema.xml.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml.in 
b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
index bc47a8417..9254cfe5d 100644
--- a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
+++ b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml.in
@@ -144,7 +144,7 @@ Boston, MA  02110-1301, USA.
     <key name="ignored-files" type="as">
       <_summary>Ignored files</_summary>
       <_description>List of file patterns to avoid</_description>
-      <default>[ '*~', '*.o', '*.la', '*.lo' , '*.loT', '*.in', '*.csproj', '*.m4', '*.rej', '*.gmo', 
'*.orig', '*.pc', '*.omf', '*.aux', '*.tmp', '*.vmdk', '*.vm*', '*.nvram', '*.part', '*.rcore', '*.lzo', 
'autom4te', 'conftest', 'confstat', 'Makefile', 'SCCS', 'ltmain.sh', 'libtool', 'config.status', 
'confdefs.h', 'configure', '#*#', '~$*.doc?', '~$*.dot?', '~$*.xls?', '~$*.xlt?', '~$*.xlam', '~$*.ppt?', 
'~$*.pot?', '~$*.ppam', '~$*.ppsm', '~$*.ppsx', '~$*.vsd?', '~$*.vss?', '~$*.vst?', 'mimeapps.list', 
'mimeinfo.cache', '*.directory' ]</default>
+      <default>[ '*~', '*.o', '*.la', '*.lo' , '*.loT', '*.in', '*.csproj', '*.m4', '*.rej', '*.gmo', 
'*.orig', '*.pc', '*.omf', '*.aux', '*.tmp', '*.vmdk', '*.vm*', '*.nvram', '*.part', '*.rcore', '*.lzo', 
'autom4te', 'conftest', 'confstat', 'Makefile', 'SCCS', 'ltmain.sh', 'libtool', 'config.status', 
'confdefs.h', 'configure', '#*#', '~$*.doc?', '~$*.dot?', '~$*.xls?', '~$*.xlt?', '~$*.xlam', '~$*.ppt?', 
'~$*.pot?', '~$*.ppam', '~$*.ppsm', '~$*.ppsx', '~$*.vsd?', '~$*.vss?', '~$*.vst?', 'mimeapps.list', 
'mimeinfo.cache', 'gnome-mimeapps.list', 'kde-mimeapps.list', '*.directory' ]</default>
     </key>
 
     <key name="ignored-directories" type="as">


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