From 02abcd096cbcce690366f853c8bc065d22aa205c Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 11 Apr 2023 17:56:57 +0200 Subject: dashboard: introduce DiscussionReminder type Bugs are also mentioned in mass reminders, treat it as a separate discussion type. Later we'll want to limit the number of DiscussionReminder discussions we show on a bug page, so this information will be very useful. --- tools/syz-lore/query_lkml.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tools') diff --git a/tools/syz-lore/query_lkml.go b/tools/syz-lore/query_lkml.go index 4b59b6393..fed69eede 100644 --- a/tools/syz-lore/query_lkml.go +++ b/tools/syz-lore/query_lkml.go @@ -59,6 +59,8 @@ func main() { discType := dashapi.DiscussionReport if strings.Contains(thread.Subject, "PATCH") { discType = dashapi.DiscussionPatch + } else if strings.Contains(thread.Subject, "Monthly") { + discType = dashapi.DiscussionReminder } log.Printf("saving %d/%d", i+1, len(threads)) err := dash.SaveDiscussion(&dashapi.SaveDiscussionReq{ -- cgit mrf-deployment