aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/html.go
Commit message (Collapse)AuthorAgeFilesLines
* tools/syz-testbed: store html templates in filesAleksandr Nogikh2022-02-251-2/+12
|
* tools/syz-testbed: show diffs and p-valuesAleksandr Nogikh2021-12-061-0/+13
| | | | | | | | | | Enable the user to specify the pivot column for the stats table. If such a column is set, calculate and print the relative difference between checkouts and p-values for the estimation of statistical significance of the experimental data. For the p-value calculation use the existing implementation from the go-benchstat tool.
* all: make all kernel commit hashes 12 byte longAleksandr Nogikh2021-07-131-1/+1
| | | | | | | | | Currently email and web templates use 8 byte representation of commit hashes. While this is enough for syzkaller, it becomes less and less suitable for Linux kernel tags. Switch to 12 byte representation for all Linux kernel commit hash mentions.
* pkg/build, pkg/html: move generation logic into separate scriptsDmitry Vyukov2020-09-151-8/+1
| | | | | | | | Mentions of "// Code generated ... DO NOT EDIT." in these Go files somehow prevents golangci-lint from checking them. And github treats them as auto-generated as well. I guess some code somewhere has some imprecise heuristics. Move generation into separate shell scripts. Also cleaner.
* all: mark auto-generated filesDmitry Vyukov2020-07-291-2/+2
| | | | | | | | | | Use the standard Go convention for Go files: https://golang.org/pkg/cmd/go/internal/generate Use github linguish for other files: https://github.com/github/linguist#generated-code Both are understood by github and should result in these files being collapsed in PRs by default.
* pkg/html: add function to format JS timeDmitry Vyukov2020-07-091-0/+5
|
* dashboard/app: allow reporting of BisectFix resultsZubin Mithra2019-08-301-0/+8
| | | | | | | | | | | | | * Modify mail_bisect_result.txt to allow for sending fix bisection results. * Modify BisectResult to have a Fix field; introduce selectBisect for use within the template for choosing between BisectCause/BisectFix fields. * Modify bisectFromJob() to return BisectResult with Fix field set if relevant. * Modify the tests inside bisect_test.go to account for bisect fix related reporting emails. * Modify incomingMail() to ignore any emails from syzbot itself.
* dashboard/app: properly handle build failuresDmitry Vyukov2019-03-251-0/+8
| | | | | | | | | Separate kernel and syzkaller build failures. Fix logic to understand when a build is fixed: look if kernel/syzkaller commit changes to understand if it's a new good build or re-upload of an old build. Fixes #1014
* pkg/html: add reference for 12-char hashes in tagsDmitry Vyukov2019-03-211-1/+2
|
* dashboard/app: use 12-char hash in Fixes tagsDmitry Vyukov2019-03-211-0/+10
| | | | | | | @ebiggers pointed out that Fixes tags should use 12-char hash: https://groups.google.com/d/msg/syzkaller-bugs/yUhRrLD6T6A/3TMwOWvWAgAJ I can't find any documentation on this, but it looks like most existing tags follow this convention so use 12-char hashes.
* pkg/html: add more helper functionDmitry Vyukov2019-03-171-11/+49
| | | | | | | Add optlink, formatKernelTime, formatCommitTableTitle. Will be useful to format bisection emails. Update #501
* dashboard/app: poll commits infoDmitry Vyukov2019-02-171-0/+9
| | | | | | | | | | | | | | | 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
* syz-manager: modernize web UIDmitry Vyukov2018-11-221-0/+110
1. Use dashboard style. 2. Allow sorting of tables. 3. Show old crashes in grey. 4. Use tables instead of text output for more pages. 5. Show corpus inputs on a separate page to allow copy-pasting. 6. Use standard JS sorting instead of custom bubble sort (much faster). 7. Fix off-by one in table sorting. Fixes #694