thunderbird-patch-review

Simple email patch review tool for Thunderbird

git clone git://mccd.space/thunderbird-patch-review

README.html (3011B)

Thunderbird Patch Review
Review git patches from email inside Thunderbird
Synopsis
A Thunderbird Add-on. Open a patch email, press Review, comment on hunks, send the review as a mailing-list reply, and apply the series to a local repository with git-am(1).
Screenshots
Fig: Patch button included in plugin
Fig: Patch overview
Fig: Apply patches from the UI.
Fig: Catch errors and send feedback.
Fig: Sourcehut integration.
Installation (source)

Package the extension source code as an .xpi and install it via the Add-ons Manager gear menu (Install Add-on From File...). To package it, run the following from the project root:

(cd extension && zip -qrX ../patch-review.xpi .)

At some point I will upload the add-on to Thunderbird.

Sourcehut integration
When the series arrives via a sourcehut mailing list, an option to set the patch state header will appear when sending the review. It uses Sourcehut's email controls.
Caveats
Patches arriving as attachments, HTML-only mail, and reviewing from a git worktree preview are not supported yet. Series collection searches the folder of the opened message only.
See also
The introductory post contains a small snippet with motivation.
Disclaimer
This add-on was vibe coded using GLM5.2 and built to solve the needs of my team. I was hesitant to share it, as I generally do not like vibe-coded projects. However, given that a tool like this is sorely lacking from the ecosystem, I decided to share it anyway.
I have not reviewed the code line-by-line, but I designed the general approach the system should use, and focused on using as few dependencies as possible. I have also extensively Q&Ad the plugin manually alongside the test suite.
Contributing
Contributions and bug reports go to the mailing list: ~marcc/thunderbird-review-plugin@lists.sr.ht.
Author
Marc Coquand