From f4d392b27888fd8b738656dc32a6845818a1c76f Mon Sep 17 00:00:00 2001 From: Harry Cutts Date: Fri, 22 Nov 2024 12:59:43 +0000 Subject: [PATCH] Disable checkcolor hook MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit This hook is currently broken (in that it does not fail when a hard-coded colour is added), and adds 30–40 seconds to the time taken by repo upload. Bug: 377902600 Change-Id: I868df74da7e3b6b15e18c9572877dc368ae6f643 Test: Treehugger Flag: EXEMPT change to pre-upload checks --- PREUPLOAD.cfg | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 01d75e88a17..6e22780c3d7 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -1,5 +1,6 @@ [Hook Scripts] -checkcolor_hook = ${REPO_ROOT}/prebuilts/checkcolor/checkcolor.py -p . +# TODO(b/377902600): Re-enable this hook once it is fixed. +#checkcolor_hook = ${REPO_ROOT}/prebuilts/checkcolor/checkcolor.py -p . checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}