util/scripts/maintainers.go: Provide delimiters between maintainers
Help automated tools make sense of the output. Instead of "[name 1 <email> name 2 <email>]", it now prints "name 1 <email>, name 2 <email>". As long as there are no commas in the maintainer names, they can be split easily. Change-Id: I4a254f566404b081a08923bc7ceb49f02039aa2a Signed-off-by: Patrick Georgi <pgeorgi@google.com> Reviewed-on: https://review.coreboot.org/29604 Reviewed-by: Stefan Reinauer <stefan.reinauer@coreboot.org> Reviewed-by: Ronald G. Minnich <rminnich@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
0cadafaac9
commit
89bd4892b3
|
@ -20,6 +20,7 @@ import (
|
||||||
"os"
|
"os"
|
||||||
"os/exec"
|
"os/exec"
|
||||||
"regexp"
|
"regexp"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
type subsystem struct {
|
type subsystem struct {
|
||||||
|
@ -151,7 +152,7 @@ func find_maintainer(fname string) {
|
||||||
success = true
|
success = true
|
||||||
fmt.Println(fname, "is in subsystem",
|
fmt.Println(fname, "is in subsystem",
|
||||||
subsystem.name)
|
subsystem.name)
|
||||||
fmt.Println("Maintainers: ", subsystem.maintainer)
|
fmt.Println("Maintainers: ", strings.Join(subsystem.maintainer, ", "))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if !success {
|
if !success {
|
||||||
|
|
Loading…
Reference in New Issue