Re: daitch_mokotoff module
Andres Freund <andres@anarazel.de>
From: Andres Freund <andres@anarazel.de>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Dag Lem <dag@nimrod.no>, Tomas Vondra <tomas.vondra@enterprisedb.com>, Andrew Dunstan <andrew@dunslane.net>, Alvaro Herrera <alvherre@alvh.no-ip.org>, Paul Ramsey <pramsey@cleverelephant.ca>, PostgreSQL Hackers <pgsql-hackers@lists.postgresql.org>
Date: 2023-04-08T01:25:32Z
Lists: pgsql-hackers
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Avoid using non-ASCII commentary in daitch_mokotoff.c.
- 1c54b93a8cf9 16.0 landed
-
Remove some non-ASCII symbols from a comment.
- d6b5dee42de7 16.0 landed
-
Remove useless dependencies in daitch_mokotoff_header.pl.
- 2bfbad9c4220 16.0 landed
-
Pacify perlcritic.
- edc627ae2763 16.0 landed
-
Add support for Daitch-Mokotoff Soundex in contrib/fuzzystrmatch.
- a290378a3752 16.0 landed
-
Enable routine running of citext's UTF8-specific test cases.
- c2e8bd27519f 15.0 landed
Hi, On 2023-04-07 21:13:43 -0400, Tom Lane wrote: > I wrote: > > That seems fine to me. I'll check this over and see if I can get > > it pushed today. > > I pushed this after some mostly-cosmetic fiddling. Most of the > buildfarm seems okay with it, but crake's perlcritic run is not: > > ./contrib/fuzzystrmatch/daitch_mokotoff_header.pl: I/O layer ":utf8" used at line 15, column 5. Use ":encoding(UTF-8)" to get strict validation. ([InputOutput::RequireEncodingWithUTF8Layer] Severity: 5) > > Any suggestions on exactly how to pacify that? You could follow it's advise and replace the :utf8 with :encoding(UTF-8), that works here. Or disable it in that piece of code with ## no critic (RequireEncodingWithUTF8Layer) Or we could disable the warning in perlcriticrc for all files? Unless it's not available with old versions, using :encoding(UTF-8) seems sensible? Greetings, Andres Freund