From 571477b514f591d6db3a71142a135b25d07f2c3e Mon Sep 17 00:00:00 2001 From: Patrick Georgi Date: Wed, 21 Nov 2018 22:07:38 +0100 Subject: util/scripts/maintainers.go: file: queries are more stable with quotes The gerrit docs aren't very explicit about it, but file:"^foo$" is more robust than file:^foo$. Change-Id: I16c7d972d365cd04ca5fbb78012ad4eaad667be6 Signed-off-by: Patrick Georgi Reviewed-on: https://review.coreboot.org/c/29781 Reviewed-by: Martin Roth Tested-by: build bot (Jenkins) --- util/scripts/maintainers.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/scripts/maintainers.go b/util/scripts/maintainers.go index 76306c843e..31a720c26a 100644 --- a/util/scripts/maintainers.go +++ b/util/scripts/maintainers.go @@ -278,7 +278,7 @@ func do_print_gerrit_rules() { } fmt.Println("#", subsystem.name) for _, path := range subsystem.paths { - fmt.Println("[filter \"file:" + path_to_regexstr(path) + "\"]") + fmt.Println("[filter \"file:\\\"" + path_to_regexstr(path) + "\\\"\"]") for _, maint := range subsystem.maintainer { fmt.Println(" reviewer =", extract_maintainer(maint)) } -- cgit v1.2.3