aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/action.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/email: recognize patches sent as replies to reportsAleksandr Nogikh2023-04-121-0/+6
| | | | | It seems to be a common pattern in LKML: bug fixes are sent as replies to syzbot reports. Recognize such replies as separate discussions.
* all: refactor discussion processing codeAleksandr Nogikh2023-04-121-0/+38
Now that too much logic seems to be duplicated in tools/syz-lore and dahsboard/app/discussion.go, it's time to refactor the code. Factor out the code that decides whether an incoming email message should start a new thread or be appended to the previous one. Restructure pkg/email/lore so that email processing matches the one-by-one approach of reporting_email.go.