aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/parser.go
diff options
context:
space:
mode:
authorAleksandr Nogikh <nogikh@google.com>2023-03-28 12:48:41 +0200
committerAleksandr Nogikh <wp32pw@gmail.com>2023-03-28 14:02:02 +0200
commit48c747718b6ee9425b846941d81e7f6dfe050859 (patch)
tree2c5a75f858a47a034e940d8f98bf0ffa14d73174 /pkg/email/parser.go
parent7df4f03f0bca2ce51d72b78e2cfe3823733810aa (diff)
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.
Diffstat (limited to 'pkg/email/parser.go')
-rw-r--r--pkg/email/parser.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/email/parser.go b/pkg/email/parser.go
index e3a99ceba..af044791d 100644
--- a/pkg/email/parser.go
+++ b/pkg/email/parser.go
@@ -46,6 +46,7 @@ const (
CmdInvalid
CmdUnCC
CmdSet
+ CmdRegenerate
cmdTest5
)
@@ -311,6 +312,8 @@ func strToCmd(str string) Command {
return CmdUnCC
case "set", "set:":
return CmdSet
+ case "regenerate":
+ return CmdRegenerate
case "test_5_arg_cmd":
return cmdTest5
}