[tracker-miners/sam/test-runner-fix: 3/21] Ignore some more files that can appear in the applications directory
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners/sam/test-runner-fix: 3/21] Ignore some more files that can appear in the applications directory
- Date: Mon, 11 Feb 2019 00:02:28 +0000 (UTC)
commit 3e172ed228978e8b710d4ea23aa16d35627c3c3c
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 | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
index 5ba77d9fe..d66ff97d7 100644
--- a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
+++ b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
@@ -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]