Skip to content

Commit

Permalink
Cleanup default exclusion rules for Chromium enlistments
Browse files Browse the repository at this point in the history
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
  • Loading branch information
rpaquay committed Jun 25, 2020
1 parent 6cc34e4 commit c062ad5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 96 deletions.
8 changes: 1 addition & 7 deletions src/Server/Configuration/ChromiumExplorer.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -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/
89 changes: 0 additions & 89 deletions src/Server/Configuration/SearchableFiles.ignore
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand All @@ -66,15 +31,13 @@ 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-*
*.lib
*.ilk
*.exe
*.dll
*.a
*.sdf
*.opensdf
*.o
Expand All @@ -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

0 comments on commit c062ad5

Please sign in to comment.