From: Vincent Pit Date: Mon, 16 Nov 2026 10:17:55 +0000 (+0100) Subject: Adjust wording in CONTRIBUTING X-Git-Tag: v0.35~1 X-Git-Url: http://git.vpit.fr/?a=commitdiff_plain;h=6925fcca95c82f32a835019fde03b8aea677052d;p=perl%2Fmodules%2FScope-Upper.git Adjust wording in CONTRIBUTING --- diff --git a/CONTRIBUTING b/CONTRIBUTING index a153187..7f3d051 100644 --- a/CONTRIBUTING +++ b/CONTRIBUTING @@ -1,8 +1,8 @@ Contributing guildelines for the Scope-Upper distribution -AI-related guidelines : +LLM/AI-related guidelines : - Patches submitted to this project MUST NOT have any byte of content generated - with AI. + with LLM or AI code assistants. This policy applies regardless of : * whether the patch was totally or partially written by AI ; * whether AI was used for writing code, documentation, metadata files, @@ -25,9 +25,8 @@ Patch submissions guidelines : C/XS-related guidelines : - C code MUST be kept ANSI-compliant. Older perl versions may have been built with a C compiler that does not - support C99 features (plus they are mostly useless except for restrict). - In particular, this means no C99 comments, no mixed declaration and code, - and no C++ void* casts. + support C99 features. In particular, this means no C99 comments, no mixed + declaration and code, and no C++ void* casts. - XS code MUST be buildable with any perl matching the META requirements. If needed, wrap your code around with the XSH_HAS_PERL(x, y, z) macro. @@ -39,8 +38,7 @@ Tests-related guidelines : That is, if you add new code specific to perl 5.34 and above, then you have to test it with a pre-5.34 perl (e.g. 5.32) and a post-5.34 perl (e.g. 5.34). -- C/XS patches MUST be tested with a threaded perl regardless of how much you - dislike perl threads. +- C/XS patches MUST be tested with a perl configured with "-Dusethreads" Testing with a threaded perl makes sure your code can build in many more situations. Memory issues are also more easily spotted. - Bugfixes SHOULD come with a regression test.