From 13e4cdb26a25484477e690ccdc13e3e2a8349d26 Mon Sep 17 00:00:00 2001 From: Geoff Lang Date: Thu, 16 Apr 2020 14:35:54 -0400 Subject: [PATCH] Accept b/ for bug IDs in ANGLE CLs. Bug: b/151095080 Change-Id: Ic9da14a1476958eb00d4499dacdaa9c529b0626c Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2152849 Reviewed-by: Jamie Madill Commit-Queue: Geoff Lang --- PRESUBMIT.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/PRESUBMIT.py b/PRESUBMIT.py index bc286b8cc..9ffc53a1f 100644 --- a/PRESUBMIT.py +++ b/PRESUBMIT.py @@ -43,8 +43,8 @@ def _CheckChangeHasBugField(input_api, output_api): if len(bugs) == 1 and bugs[0] == 'None': return [] - projects = ['angleproject', 'chromium', 'dawn', 'fuchsia', 'skia', 'swiftshader', 'b'] - bug_regex = re.compile(r"([a-z]+):(\d+)") + projects = ['angleproject:', 'chromium:', 'dawn:', 'fuchsia:', 'skia:', 'swiftshader:', 'b/'] + bug_regex = re.compile(r"([a-z]+[:/])(\d+)") errors = [] extra_help = None