aboutsummaryrefslogtreecommitdiffstats
path: root/tools/syz-lore
Commit message (Collapse)AuthorAgeFilesLines
* pkg/email/lore: wrap the Email objectAleksandr Nogikh2025-10-211-2/+1
| | | | | Wrapping the email.Email object will let us add lore-specific fields to it at a later point.
* tools/syz-lore: support bash wildcard resultsAleksandr Nogikh2025-08-121-15/+5
| | | | | | | | Instead of accepting a folder name and traversing all nested folders in it, accept the directories to process as separate arguments. This allows for more flexibility - one can either specify just one archive to process or one can use bash wildcards to achieve the previously default functionality.
* pkg/vcs: extend ListCommitHashesAleksandr Nogikh2025-05-131-1/+1
| | | | | | | | | | 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.
* pkg/email/lore: extract patch seriesAleksandr Nogikh2025-01-131-12/+21
| | | | | Refactor the code to make it more reusable. Add a method to extract specifically the list of new patch series.
* tools/syz-lore: save discussions as JSON filesAleksandr Nogikh2023-09-041-16/+43
| | | | | | Make the tool more flexible by supporting two modes of operation: 1) The already existing mode -- upload the results to dashboard. 2) The local mode -- save parsed LKML discussions as JSON files.
* all: refactor discussion processing codeAleksandr Nogikh2023-04-121-9/+3
| | | | | | | | | | | 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.
* dashboard: introduce DiscussionReminder typeAleksandr Nogikh2023-04-121-0/+2
| | | | | | | | Bugs are also mentioned in mass reminders, treat it as a separate discussion type. Later we'll want to limit the number of DiscussionReminder discussions we show on a bug page, so this information will be very useful.
* pkg/email: expose OwnEmail flagAleksandr Nogikh2023-04-121-10/+1
| | | | | We anyway already extract this information, there's no sense in extracting it again in other places.
* tools: add the syz-lore toolAleksandr Nogikh2023-04-061-0/+162
The tool extracts, groups syzbot-related messages from the list of LKML git archives and then uploads the resulting discussions to the dashboard.