From 6f03c356200becfa347b8abade66ac74f52c10c9 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 25 Dec 2017 12:07:06 +0100 Subject: dashboard/app: extract fixing tags from commits Support the new scheme of associating fixing commits with bugs. Now we provide a tag along the lines of: Reported-by: The tag is supposed to be added to the commit. Then we parse commit logs and extract these tags. The final part on the dashboard is not ready yet, but syz-ci should already parse and send the tags. --- pkg/email/parser_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pkg/email/parser_test.go') diff --git a/pkg/email/parser_test.go b/pkg/email/parser_test.go index 727dafc02..2341fc385 100644 --- a/pkg/email/parser_test.go +++ b/pkg/email/parser_test.go @@ -97,7 +97,7 @@ func TestCanonicalEmail(t *testing.T) { func TestParse(t *testing.T) { for i, test := range parseTests { body := func(t *testing.T, test ParseTest) { - email, err := Parse(strings.NewReader(test.email), "bot ") + email, err := Parse(strings.NewReader(test.email), []string{"bot "}) if err != nil { t.Fatal(err) } -- cgit mrf-deployment