aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/email/lore
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-213-11/+40
| | | | | | | | | | | 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-213-85/+107
| | | | | 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-222-3/+6
| | | | | Sometimes the patch series directly hint at the kernel tree they should be applied to. Extract and remember this information.
* pkg/email: share raw email addressesAleksandr Nogikh2025-07-101-0/+1
| | | | These will be necessary to properly route emails in dashboard.
* pkg/vcs: extend ListCommitHashesAleksandr Nogikh2025-05-131-3/+5
| | | | | | | | | | Rename the method to LatestCommit and make it more flexible: 1) Return the commit date alongside the commit hash. 2) Rename the time filter to highlight that it's non-inclusive. 3) Make it possible to query the commits newer than the specified commit hash. It will let us poll lore archives more efficiently.
* all: remove loop variables scopingTaras Madan2025-02-171-1/+0
|
* pkg/email/lore: extract patch seriesAleksandr Nogikh2025-01-133-15/+377
| | | | | Refactor the code to make it more reusable. Add a method to extract specifically the list of new patch series.
* pkg/vcs: extend ListCommitHashesAleksandr Nogikh2025-01-031-1/+2
| | | | Support filtering by the commit date.
* tools/syz-linter: check t.Logf/Errorf/Fatalf messagesDmitry Vyukov2024-04-171-1/+1
| | | | | Fix checking of Logf, it has string in 0-th arg. Add checking of t.Errorf/Fatalf.
* pkg/email: support multiple commandsAleksandr Nogikh2023-04-271-8/+0
| | | | | | | | | | It's not always convenient that we can receive only one command per email. Update pkg/email parsing code to extract everything which there is. Update reporting_email.go to handle multiple email commands. Set different limits for bug email commands and bug list commands.
* pkg/email/lore: recognize more PATCH subjectsAleksandr Nogikh2023-04-182-1/+16
|
* pkg/email/lore: better classify emailsAleksandr Nogikh2023-04-122-1/+7
| | | | | | 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-122-8/+19
| | | | | | 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-122-59/+103
| | | | | | | | | | | 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-122-10/+78
| | | | Adjust tests.
* pkg/email/lore: add Lore archives parsing routinesAleksandr Nogikh2023-04-063-0/+317
We need to 1) Query raw messages from an LKML git archive. 2) Group raw messages into threads.