]> git.vpit.fr Git - perl/modules/Scope-Upper.git/commitdiff
Adjust wording in CONTRIBUTING
authorVincent Pit <vpit@cpan.org>
Mon, 16 Nov 2026 10:17:55 +0000 (11:17 +0100)
committerVincent Pit <vpit@cpan.org>
Mon, 16 Nov 2026 10:17:55 +0000 (11:17 +0100)
CONTRIBUTING

index a153187fe5a3e14594bd2f4556632f1f991799b4..7f3d0515b401bb5b34b03edaa5d46fac0a699a62 100644 (file)
@@ -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.