[tracker-miners: 1/2] data: remove text/plain files from ignored-files
- From: Sam Thursfield <sthursfield src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker-miners: 1/2] data: remove text/plain files from ignored-files
- Date: Thu, 11 Aug 2022 14:09:04 +0000 (UTC)
commit a583f1af33d94c5905e9ef58f0f4a59a04ad2dd9
Author: Jake Dane <3689-jakedane users noreply gitlab gnome org>
Date: Thu Aug 11 12:46:07 2022 +0000
data: remove text/plain files from ignored-files
Files with content type text/plain can be removed from `ignored-files`
setting because `text-allowlist` setting now exists as well. That
setting is in org.freedesktop.Tracker.Extract.gschema.xml.
These files all have content type text/plain:
- *.csproj
- mimeapps.list
- mimeinfo.cache
- gnome-mimeapps.list
- kde-mimeapps.list
And `text-allowlist` already exludes them because their extension is
not *.txt, *.md or *.mdwn.
First step for cleaning up `ignored-files` as suggested by @sthursfield
in https://gitlab.gnome.org/GNOME/tracker/-/issues/375#note_152671.
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 dd4a106a6..a786d1a2e 100644
--- a/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
+++ b/data/org.freedesktop.Tracker.Miner.Files.gschema.xml
@@ -135,7 +135,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', 'gnome-mimeapps.list', 'kde-mimeapps.list', '*.directory' ]</default>
+ <default>[ '*~', '*.o', '*.la', '*.lo' , '*.loT', '*.in', '*.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?', '*.directory' ]</default>
</key>
<key name="ignored-directories" type="as">
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]