From c062ad5ec8e2ffd4acc93cef2fcfdcdb5eadee50 Mon Sep 17 00:00:00 2001 From: Renaud Paquay Date: Thu, 25 Jun 2020 16:14:33 -0700 Subject: [PATCH] Cleanup default exclusion rules for Chromium enlistments Remove all exclusion rules for files that can contain text, leaving only exclusion rules for file extensions that are known to be binary files (e.g. .obj, .pdb, .exe, etc.) This increase the number of files scanned and indexed by default, but makes the rules more general purpose and avoid confusions related to seemingly incomplete search results. This fixes issue #70 --- .../Configuration/ChromiumExplorer.ignore | 8 +- .../Configuration/SearchableFiles.ignore | 89 ------------------- 2 files changed, 1 insertion(+), 96 deletions(-) diff --git a/src/Server/Configuration/ChromiumExplorer.ignore b/src/Server/Configuration/ChromiumExplorer.ignore index 08a6ee78..8d8bd965 100644 --- a/src/Server/Configuration/ChromiumExplorer.ignore +++ b/src/Server/Configuration/ChromiumExplorer.ignore @@ -22,11 +22,5 @@ # * Support "*" and "**" wildcards # * NO support for "!" # ========================================================================================== -# - -# WebKit has a lot of test files -/third_party/WebKit/LayoutTests/ - -# .git, etc. directories -.*/ +.git/ diff --git a/src/Server/Configuration/SearchableFiles.ignore b/src/Server/Configuration/SearchableFiles.ignore index 59d3b97c..d4fc6174 100644 --- a/src/Server/Configuration/SearchableFiles.ignore +++ b/src/Server/Configuration/SearchableFiles.ignore @@ -22,41 +22,6 @@ # * "!" is not supported. # ========================================================================================== -# This directory contains big (10MB+) json files -third_party/trace-viewer/test_data/ - -# 27MB -cld2_generated_*.cc - -# 20MB -third_party\boringssl\crypto_test_data.cc - -# Big json files (10+MB) -third_party/trace-viewer/test_data/*.json -third_party/catapult/tracing/test_data/*.json -chrome/browser/resources/tracing/tests/*.json - -# orderfile files -chrome/build/*.orderfile - -# Blink bindings -out/*/gen/blink/bindings/ -out/*/gen/webcore/bindings/ -out/*/gen/webkit/bindings/ - -# WebKit has a lot of test files -/third_party/WebKit/LayoutTests/ - -# pnacl and nacl stuff -/out/*/obj/ppapi/ -/out/*/nacl_test_data/ - -# VK tables (150+MB) -third_party/deqp/src/**/master.txt -third_party/deqp/src/**/*-master.txt -third_party/deqp/src/**/vk-default.txt -third_party/deqp/src/**/es30-lmp*.txt -third_party/deqp/src/**/es31-lmp*.txt # # File extensions of files to ignore. @@ -66,7 +31,6 @@ third_party/deqp/src/**/es31-lmp*.txt # clang compiler (see https://reviews.llvm.org/D36238) *.obj-* *.pack -*.rsp *.pch # clang compiler (see https://reviews.llvm.org/D36238) *.pch-* @@ -74,7 +38,6 @@ third_party/deqp/src/**/es31-lmp*.txt *.ilk *.exe *.dll -*.a *.sdf *.opensdf *.o @@ -84,66 +47,14 @@ third_party/deqp/src/**/es31-lmp*.txt *.res *.tgz *.gz -*.ninja -*.s *.mo *.so *.so.* -*.d -*.debug -*.dic -*.tlog -*.pyd -*.bdic -*.bz2 -*.bdic -*.info -*.data -*.tmp -*.exp -*.xtb -*.pm -*.ninja_deps -*.stamp -*.zip -*.crx -*.adm -*.cct -*.pod -*.ucm -*.jar -*.ninja_log -*.svg -*.test -*.adml -*.webm -*.aff -*.dat -*.filters -*.pcm -*.pexe -*.xib -*.out -*.suo -*.patch -*.sym -*.dmp -*.rtpdump -*.output -*.po -*.pdf -*.raw -*.ai *.gif *.png *.jpg *.jpeg *.ogg *.ex_ -*.yuv -*.rgb *.mp4 *.ac3 -*.utf8 -*.dae -*.pyc