From 8441eb82f3a1a4d03eb0e194e91bc86017ab4466 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 1 Oct 2020 13:34:16 +0200 Subject: dashboard/app: add unfix command Add "#syz unfix" command that undoes "#syz fix" effects and resets any existing fixing commits. --- dashboard/dashapi/dashapi.go | 25 +++++++++++++------------ 1 file changed, 13 insertions(+), 12 deletions(-) (limited to 'dashboard/dashapi') diff --git a/dashboard/dashapi/dashapi.go b/dashboard/dashapi/dashapi.go index a1c5c0f63..04e3058bf 100644 --- a/dashboard/dashapi/dashapi.go +++ b/dashboard/dashapi/dashapi.go @@ -365,18 +365,19 @@ type BisectResult struct { } type BugUpdate struct { - ID string // copied from BugReport - JobID string // copied from BugReport - ExtID string - Link string - Status BugStatus - ReproLevel ReproLevel - DupOf string - OnHold bool // If set for open bugs, don't upstream this bug. - Notification bool // Reply to a notification. - FixCommits []string // Titles of commits that fix this bug. - CC []string // Additional emails to add to CC list in future emails. - CrashID int64 + ID string // copied from BugReport + JobID string // copied from BugReport + ExtID string + Link string + Status BugStatus + ReproLevel ReproLevel + DupOf string + OnHold bool // If set for open bugs, don't upstream this bug. + Notification bool // Reply to a notification. + ResetFixCommits bool // Remove all commits (empty FixCommits means leave intact). + FixCommits []string // Titles of commits that fix this bug. + CC []string // Additional emails to add to CC list in future emails. + CrashID int64 } type BugUpdateReply struct { -- cgit mrf-deployment