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:
		@@ -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))
 | 
			
		||||
			}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user