Hi

On Thu, Sep 3, 2026 at 4:17 PM Philippe Mathieu-Daudé
<[email protected]> wrote:
>
> On 3/9/26 12:04, Paolo Bonzini wrote:
> > The QEMU community has broad consent to not accept assisted-by and similar
> > trailers, and much less fake co-authored-bys, independent of any AI policy.
> > Implement this in checkpatch.pl already, so that there is another way for
> > contributors to discover the AI policy.
> >
> > Suggested-by: Daniel P. Berrangé <[email protected]>
> > Signed-off-by: Paolo Bonzini <[email protected]>
> > ---
> >   scripts/checkpatch.pl | 12 ++++++++++++
> >   1 file changed, 12 insertions(+)
> >
> > diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
> > index 03f35e75012..90cb40dfe1f 100755
> > --- a/scripts/checkpatch.pl
> > +++ b/scripts/checkpatch.pl
> > @@ -1811,6 +1811,18 @@ sub process {
> >                       }
> >               }
> >
> > +# Reject trailers that credit an AI agent.
> > +             if ($realfile =~ /^$/ &&
> > +                 ($line =~ /🤖/ ||
>
> Few years ago Peter was concerned about using non-ASCII because
> it was not displaying correctly on his terminal:
> https://lore.kernel.org/qemu-devel/cafeaca-cjwce9k+tqq-vdrevzzpv_+cxar1j9qfr_ivjtj3...@mail.gmail.com/
> (that was using Ubuntu 22.04 which we don't support anymore).
> Should we still worry about non-ASCII in the repository? Having
> a quick look at the OS versions we support it seems all of them
> are ready to handle UTF-8 chars. Anyway I saw various utf-8
> emoji symbols in gitlab issues, and it is likely someone will
> paste one along with the report when filling commit description
> for a fix, so they'll end up displayed in a terminal via git-log.
>


Some projects actually enforce the usage of emoji in commit
messages/titles (Zeeshan's projects, at least). I personally don't
care. It can help, sure, just like icons do. I would much rather have
tags to help classify commits and allow people to display them however
they like, with some tools, though. For that, conventional commits
help somewhat. Just my 2c


-- 
Marc-André Lureau

Reply via email to