aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/lore/parse.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/email: extract base-commit hash from emailsPimyn Girgis2026-01-091-6/+10
| | | | If the author of a patch series provides a base-commit tag, extract and store the hash.
* pkg/email/lore: demand patches in patch series emailsAleksandr Nogikh2025-10-211-0/+5
| | | | | | | | | | | On LKML, users sometimes reply to a patch series while keeping the original title. At the same time, sometimes new series are sent as a reply to the previous versions. It all confuses the lore archive parsing logic. When reading the archive, remember if the patch were present. If not, mark the series as corrupted and thus prevent is appearance in syz-cluster.
* pkg/email/lore: wrap the Email objectAleksandr Nogikh2025-10-211-15/+15
| | | | | Wrapping the email.Email object will let us add lore-specific fields to it at a later point.
* syz-cluster: remember LKML series tagsAleksandr Nogikh2025-07-221-0/+2
| | | | | Sometimes the patch series directly hint at the kernel tree they should be applied to. Extract and remember this information.
* pkg/email/lore: extract patch seriesAleksandr Nogikh2025-01-131-6/+163
| | | | | Refactor the code to make it more reusable. Add a method to extract specifically the list of new patch series.
* pkg/email/lore: recognize more PATCH subjectsAleksandr Nogikh2023-04-181-1/+4
|
* pkg/email/lore: better classify emailsAleksandr Nogikh2023-04-121-1/+1
| | | | | | Patches are not always spelled upper case. Also, looking for just PATCH may lead to false positives, so first put the subject to lower case and then look for the "[patch" substring.
* dashboard: separate DiscussionReport and DiscussionMentionAleksandr Nogikh2023-04-121-1/+4
| | | | | | DiscussionReport are the discussions started by syzbot. All other discussions that Cc syzbot or mention its bugs are DiscussionMention.
* all: refactor discussion processing codeAleksandr Nogikh2023-04-121-59/+66
| | | | | | | | | | | 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.
* pkg/email/lore: skip syzbot-started subthreadsAleksandr Nogikh2023-04-121-7/+18
| | | | Adjust tests.
* pkg/email/lore: add Lore archives parsing routinesAleksandr Nogikh2023-04-061-0/+96
We need to 1) Query raw messages from an LKML git archive. 2) Group raw messages into threads.