Git email patch review addon for Thunderbird

elashri1 pts0 comments

README.html - thunderbird-patch-review - Simple email patch review tool for Thunderbird

thunderbird-patch-review<br>Simple email patch review tool for Thunderbird

git clone git://mccd.space/thunderbird-patch-review<br>Log | Files | Refs | README | LICENSE | Mail README.html (3011B)

Thunderbird Patch Review<br>Review git patches from email inside Thunderbird<br>Synopsis<br>A Thunderbird Add-on. Open a patch email, press Review, comment<br>on hunks, send the review as a mailing-list reply, and apply the<br>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)<br>Package the extension source code as an .xpi and install it via<br>the Add-ons Manager gear menu (Install Add-on From File...). To<br>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<br>When the series arrives via a sourcehut mailing list, an option<br>to set the patch state header will appear when sending the review. It uses Sourcehut's email controls.

Caveats<br>Patches arriving as attachments, HTML-only mail, and reviewing<br>from a git worktree preview are not supported yet. Series collection<br>searches the folder of the opened message only.

See also<br>The introductory post contains a small snippet with motivation.

Disclaimer<br>This add-on was vibe coded using GLM5.2 and built to solve the<br>needs of my team. I was hesitant to share it, as I generally do not<br>like vibe-coded projects. However, given that a tool like this is<br>sorely lacking from the ecosystem, I decided to share it anyway.

I have not reviewed the code line-by-line, but I designed the<br>general approach the system should use, and focused on using as<br>few dependencies as possible. I have also extensively Q&Ad the<br>plugin manually alongside the test suite.

Contributing<br>Contributions and bug reports go to the mailing list:<br>~marcc/thunderbird-review-plugin@lists.sr.ht.

Author<br>Marc Coquand

review patch thunderbird email from sourcehut

Related Articles