aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-04-11 17:56:57 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-04-12 13:55:59 +0200
commit02abcd096cbcce690366f853c8bc065d22aa205c (patch)
tree0fd1f97b51dd88b2a5250e679ac59c57836ada28 /tools
parented75c0a7f1b7d6758be3942746675ff94071d154 (diff)
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.
Diffstat (limited to 'tools')
-rw-r--r--tools/syz-lore/query_lkml.go2
1 files changed, 2 insertions, 0 deletions
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{