public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
From: Mark Wielaard <mark@klomp.org>
To: Jonathan Wakely <jwakely.gcc@gmail.com>,
	Jan-Benedict Glaw <jbglaw@lug-owl.de>
Cc: Thomas Koenig <tkoenig@netcologne.de>,
	gcc mailing list <gcc@gcc.gnu.org>
Subject: Re: Error when accessing git read-only archive
Date: Wed, 15 Sep 2021 16:10:50 +0200	[thread overview]
Message-ID: <6162616e4f65918c17509b3afacfd24b23532ce8.camel@klomp.org> (raw)
In-Reply-To: <CAH6eHdQH_Csm4n045bmAXh8S2JyQCQM-=1FPOdh0gw3Y_JD3gw@mail.gmail.com>

Hi,

On Wed, 2021-09-15 at 14:43 +0100, Jonathan Wakely via Gcc wrote:
> On Wed, 15 Sept 2021 at 14:37, Jan-Benedict Glaw <jbglaw@lug-owl.de>
> wrote:
> > On Wed, 2021-09-15 09:21:04 -0400, David Malcolm via Gcc <
> > gcc@gcc.gnu.org> wrote:
> > > It appears to be due to the "ł" character in the email address of
> > > the
> > > Author, in that:
> > > 
> > > commit c012297c9d5dfb177adf1423bdd05e5f4b87e5ec
> > > Author: Jan-Benedict Glaw <jbglaw@lug-owl.de>
> > > 
> > > works, whereas:
> > > 
> > > commit f42e95a830ab48e59389065ce79a013a519646f1
> > > Author: Jan-Benedict Glaw <jbglaw@ług-owl.de>
> > 
> > That was indeed me, after moving my GCC repo to a different machine
> > and adding an explicit user.email (as this wasn't automatically
> > picking up a proper domain.) The "ł" was a typo (AltGr key still
> > pressed while typing the "l" after having entered the "@" which
> > requires it on a German keyboard layout.)
> > 
> >   So I broke it. Any way to make sure something like this doesn't
> > occur again?
> 
> We could add a check to the git hooks (and gcc-verify alias) to
> reject
> non-ASCII email addresses, since they're probably mistakes.
> 
> And we should report it to Gitweb (if it isn't already fixed
> upstream)
> and get a fix into the version used on gcc.gnu.org.

The issue is the gravatar support, which calls md5_hex($email).
For now I disabled gravatar support on sourceware.org/gcc.gnu.org in
/etc/gitweb.conf

Cheers,

Mark

  reply	other threads:[~2021-09-15 14:10 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 12:52 Thomas Koenig
2021-09-13 13:01 ` Jonathan Wakely
2021-09-13 13:03   ` Jonathan Wakely
2021-09-15 13:18     ` Jonathan Wakely
2021-09-15 13:21     ` David Malcolm
2021-09-15 13:37       ` Jan-Benedict Glaw
2021-09-15 13:43         ` Jonathan Wakely
2021-09-15 14:10           ` Mark Wielaard [this message]
2021-09-15 18:34             ` Jan-Benedict Glaw
2021-09-15 14:14           ` Jan-Benedict Glaw

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6162616e4f65918c17509b3afacfd24b23532ce8.camel@klomp.org \
    --to=mark@klomp.org \
    --cc=gcc@gcc.gnu.org \
    --cc=jbglaw@lug-owl.de \
    --cc=jwakely.gcc@gmail.com \
    --cc=tkoenig@netcologne.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).