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 <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/c/29781 Reviewed-by: Martin Roth <martinroth@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
8bed5efad7
commit
571477b514
|
@ -278,7 +278,7 @@ func do_print_gerrit_rules() {
|
||||||
}
|
}
|
||||||
fmt.Println("#", subsystem.name)
|
fmt.Println("#", subsystem.name)
|
||||||
for _, path := range subsystem.paths {
|
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 {
|
for _, maint := range subsystem.maintainer {
|
||||||
fmt.Println(" reviewer =", extract_maintainer(maint))
|
fmt.Println(" reviewer =", extract_maintainer(maint))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue