U-Boot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* AI-assisted review
@ 2026-05-15 21:03 Simon Glass
  2026-05-15 22:07 ` Tom Rini
  0 siblings, 1 reply; 14+ messages in thread
From: Simon Glass @ 2026-05-15 21:03 UTC (permalink / raw)
  To: U-Boot Mailing List; +Cc: Michal Simek

Hi,

There was a query on the call this week about whether I am doing
AI-assisted code review. As I said on the call: yes. Here is a brief
description of how it works.

It is built into Patman (on the Concept tree) with a new 'patman
review' command. You give it the series name / number, or perhaps a
patch name/number and it applies the patches to a new branch, does a
review then adds its comments to its database.

A '-d' flag can be used to create draft emails in Gmail (sorry, it
doesn't support other email programs yet). You then check and update
the emails and send them (or delete them). I am not an expert in
handling the 'user voice' part of AI, but have made an attempt to make
it follow any provided configuration, as well as to scan recent
reviews to actually create to create a voice.

Obviously this is very rudimentary and could be expanded considerably.
But the mere fact that it creates draft emails is a win for me, even
if I ultimately delete or rewrite most of the comments. I can imagine
10 different ways to improve it to be more useful.

I wrote a blog post about it if you want more details, or you can ask me here.

I am very interested in hearing how others are using these new tools
for code review.

Regards,
Simon

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2026-05-26 14:18 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-15 21:03 AI-assisted review Simon Glass
2026-05-15 22:07 ` Tom Rini
2026-05-18  8:55   ` Michal Simek
2026-05-18 15:58     ` Tom Rini
2026-05-25 14:03       ` Simon Glass
2026-05-25 14:11         ` Josh Law
2026-05-25 14:21           ` Tom Rini
2026-05-25 14:25             ` Josh Law
2026-05-25 14:27               ` Tom Rini
2026-05-25 14:29                 ` Josh Law
2026-05-25 14:39                   ` Tom Rini
2026-05-25 14:41                     ` Josh Law
2026-05-26  6:04                     ` Krzysztof Kozlowski
2026-05-26 14:18                       ` Tom Rini

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox