From 242b0eb219dbb269deacdae76de2f8b0b788ac40 Mon Sep 17 00:00:00 2001 From: Pedro Lopes Date: Tue, 28 Jul 2020 15:55:14 -0500 Subject: pkg: get and store Maintainers data Create a struct on pkg/vcs to store data of syzkaller email recipients and update its users. The struct contains default name, email, and a label to divide user into To and Cc when sending the emails. --- pkg/bisect/bisect.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'pkg/bisect') diff --git a/pkg/bisect/bisect.go b/pkg/bisect/bisect.go index 281969b5d..cf6bae5bc 100644 --- a/pkg/bisect/bisect.go +++ b/pkg/bisect/bisect.go @@ -180,7 +180,8 @@ func runImpl(cfg *Config, repo vcs.Repo, inst instance.Env) (*Result, error) { } com := res.Commits[0] env.log("first %v commit: %v %v", what, com.Hash, com.Title) - env.log("cc: %q", com.CC) + env.log("recipients (to): %q", com.Recipients.GetEmails(vcs.To)) + env.log("recipients (cc): %q", com.Recipients.GetEmails(vcs.Cc)) if res.Report != nil { env.log("crash: %v\n%s", res.Report.Title, res.Report.Report) } -- cgit mrf-deployment