Allow UTF-8 in glibc commit messages

Message ID fe394b1d-de95-0e4b-fd02-2de4c3d7b926@cs.ucla.edu
State Not applicable
Headers
Series Allow UTF-8 in glibc commit messages |

Checks

Context Check Description
dj/TryBot-apply_patch fail Patch failed to apply to master at the time it was sent
dj/TryBot-32bit fail Patch series failed to apply

Commit Message

Paul Eggert Sept. 22, 2021, 9:07 p.m. UTC
  On 9/22/21 4:55 AM, Joseph Myers wrote:

> That's a matter of setting hooks.no-rh-character-range-check in
> refs/meta/config:project.config.

Thanks for pointing me at that setting, which I didn't know about. I now 
see that this issue is also glibc bug 27299. Proposed patch to the 
meta/config branch attached.
  

Comments

Carlos O'Donell Sept. 24, 2021, 2:08 p.m. UTC | #1
On 9/22/21 17:07, Paul Eggert wrote:
> On 9/22/21 4:55 AM, Joseph Myers wrote:
> 
>> That's a matter of setting hooks.no-rh-character-range-check in
>> refs/meta/config:project.config.
> 
> Thanks for pointing me at that setting, which I didn't know about. I now see that this issue is also glibc bug 27299. Proposed patch to the meta/config branch attached.

I'm going to integrate this right now.
  
Carlos O'Donell Sept. 24, 2021, 2:13 p.m. UTC | #2
On 9/24/21 10:08, Carlos O'Donell wrote:
> On 9/22/21 17:07, Paul Eggert wrote:
>> On 9/22/21 4:55 AM, Joseph Myers wrote:
>>
>>> That's a matter of setting hooks.no-rh-character-range-check in
>>> refs/meta/config:project.config.
>>
>> Thanks for pointing me at that setting, which I didn't know about. I now see that this issue is also glibc bug 27299. Proposed patch to the meta/config branch attached.
> 
> I'm going to integrate this right now.
> 

This is live now and so future commits should work.
  

Patch

From e08caa9ead42af8bb3d1fb41cd18af59b3098616 Mon Sep 17 00:00:00 2001
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Wed, 22 Sep 2021 14:02:06 -0700
Subject: [PATCH] Allow UTF-8 in commit messages (bug 27299)

---
 project.config | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/project.config b/project.config
index 4284e9f9df..349bdde2db 100644
--- a/project.config
+++ b/project.config
@@ -7,6 +7,10 @@ 
         # debugging session, error messages, logs, etc.
         max-rh-line-length = 0
 
+	# Allow UTF-8 in commit messages, instead of requiring
+	# them to use ISO-8859-15.
+	no-rh-character-range-check = true
+
         # We allow a 5MiB email diff maximum.
         max-email-diff-size = 5242880
 
-- 
2.31.1