From 48c747718b6ee9425b846941d81e7f6dfe050859 Mon Sep 17 00:00:00 2001 From: Aleksandr Nogikh Date: Tue, 28 Mar 2023 12:48:41 +0200 Subject: dashboard: support `#syz regenerate` command If the `#syz regenerate` command is sent in response to a bug list, dashboard will schedule its regeneration the next time the corresponding cron job is run. --- dashboard/dashapi/dashapi.go | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'dashboard/dashapi') diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index 7d9de3195..eb6557e41 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -489,9 +489,10 @@ type BugListUpdate struct { type BugListUpdateCommand string const ( - BugListSentCmd BugListUpdateCommand = "sent" - BugListUpdateCmd BugListUpdateCommand = "update" - BugListUpstreamCmd BugListUpdateCommand = "upstream" + BugListSentCmd BugListUpdateCommand = "sent" + BugListUpdateCmd BugListUpdateCommand = "update" + BugListUpstreamCmd BugListUpdateCommand = "upstream" + BugListRegenerateCmd BugListUpdateCommand = "regenerate" ) type BugUpdate struct { -- cgit mrf-deployment