From 3e98cc30803fb5e41504dd08b1325cb074a8a3f2 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 14 Feb 2019 10:35:03 +0100 Subject: dashboard/app: poll commits info This implements 2 features: - syz-ci polls a set of additional repos to discover fixing commits sooner (e.g. it can now discover a fixing commit in netfilter tree before it reaches any of the tested trees). - syz-ci uploads info about commits to dashboard. For example, a user marks a bug as fixed by commit "foo: bar". syz-ci will find this commit in the main namespace repo and upload commmit hash/date/author to dashboard. This in turn allows to show links to fixing commits. Fixes #691 Fixes #610 --- dashboard/app/bug.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'dashboard/app/bug.html') diff --git a/dashboard/app/bug.html b/dashboard/app/bug.html index fa59f14bc..8b3afaf3d 100644 --- a/dashboard/app/bug.html +++ b/dashboard/app/bug.html @@ -18,12 +18,12 @@ Page with details about a single bug. Status: {{if .Bug.ExternalLink}}{{.Bug.Status}}{{else}}{{.Bug.Status}}{{end}}
Reported-by: {{.Bug.CreditEmail}}
{{if .Bug.Commits}} - Commits: {{.Bug.Commits}}
+ Fix commit: {{template "fix_commits" .Bug.Commits}}
{{if .Bug.ClosedTime.IsZero}} Patched on: {{.Bug.PatchedOn}}, missing on: {{.Bug.MissingOn}}
{{end}} {{end}} - First: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}
+ First crash: {{formatLateness $.Now $.Bug.FirstTime}}, last: {{formatLateness $.Now $.Bug.LastTime}}
{{template "bug_list" .DupOf}} {{template "bug_list" .Dups}} @@ -57,8 +57,8 @@ Page with details about a single bug. {{formatTime $c.Time}} {{$c.KernelAlias}} {{formatShortHash $c.KernelCommit}} - {{formatShortHash $c.SyzkallerCommit}} +{{formatTime $c.KernelCommitDate}}">{{link $c.KernelCommitLink (formatShortHash $c.KernelCommit)}} + {{link $c.SyzkallerCommitLink (formatShortHash $c.SyzkallerCommit)}} {{if $c.KernelConfigLink}}.config{{end}} {{if $c.LogLink}}log{{end}} {{if $c.ReportLink}}report{{end}} -- cgit mrf-deployment