summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEn-Shuo Hsu <enshuo@chromium.org>2020-11-16 14:43:34 +0800
committerCommit Bot <commit-bot@chromium.org>2020-11-16 17:31:30 +0000
commit20fc72bbfbe0efa39b5c6037254ed6ba114b936e (patch)
treeb2b46e26c9c95eee5b8fdf6bc26b10db36199dcb
parent82d351f0f297d8342e060412e777560074344873 (diff)
downloadadhd-20fc72bbfbe0efa39b5c6037254ed6ba114b936e.tar.gz
adhd: Add initial unblocked_terms
Currently, the global unblocked_terms is almost identical to the blocked_terms and only limited words are blocked. Remove more words from the unblocked list and only keep words adhd currently has to block more exclusive words. Results from running search_blocked_words.sh script under adhd reg_exp #lines #files #filenames black.?hat 0 0 0 black.?list 0 0 0 build.?cop 0 0 0 crazy 0 0 0 cripple 0 0 0 dummy 189 33 0 first.?class.?citizen 0 0 0 grandfathered 0 0 0 gr[ae]y.?hat 0 0 0 gr[ae]y.?list 0 0 0 insane 0 0 0 \bhe\b 0 0 0 \bshe\b 0 0 0 \bhim\b 0 0 0 \bher\b 0 0 0 \bhis\b 0 0 0 \bhers\b 0 0 0 man.?in.?the.?middle 0 0 0 master 95 20 0 mitm 0 0 0 native 18 8 0 red.?line 0 0 0 rtfm 0 0 0 sane 0 0 0 sanity 7 3 0 slave 0 0 0 white.?glove 0 0 0 white.?hat 0 0 0 white.?label 0 0 0 white.?list 6 1 0 wtf 0 0 0 BUG=b:167649426 TEST=run repohook, add words that should be blocked and verify it breaks the repo upload Change-Id: I68b94b3d7dae0f3a80ea5fb03bcead872f272a45 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/adhd/+/2539263 Reviewed-by: Cheng-Yi Chiang <cychiang@chromium.org> Commit-Queue: En-Shuo Hsu <enshuo@chromium.org> Tested-by: En-Shuo Hsu <enshuo@chromium.org>
-rw-r--r--unblocked_terms.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/unblocked_terms.txt b/unblocked_terms.txt
new file mode 100644
index 00000000..547f7e4b
--- /dev/null
+++ b/unblocked_terms.txt
@@ -0,0 +1,12 @@
+# KEEP THIS COMMENT IN YOUR COPY.
+#
+# Don't delete this file if you want to keep keyword_check enabled even if it's
+# empty.
+#
+# See repohooks/README.md for more details.
+
+dummy
+master
+\bnative
+sanity
+white.?list