From 40cb6bfcfcf973426954137629a7bde76f7baa93 Mon Sep 17 00:00:00 2001 From: Swung0x48 Date: Thu, 26 Nov 2026 05:13:54 -0400 Subject: [PATCH] [Docs] (CONTRIBUTING.md): allow crediting an external project for a non-trivial technique --- CONTRIBUTING.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 12c0b7f3..afa4c084 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -31,7 +31,8 @@ Commands below use `python3`. On Windows, run `python` instead. - A file directly in `MobileGL/` uses `MobileGL`, and a submodule uses its path (`3rdparty/glslang`). - List every scope the commit touches, comma-separated: `(MG_Backend/DirectGLES, MG_Test/Wire)`. A commit that touches more than three scopes skips this check: summarize the touched areas yourself, for example `(...)`. - `python3 scripts/check_text_hygiene.py scope` prints the scope for the staged changes. -- **No** planning ids (phase or decision codes such as `P13` or `ID-54`), local paths, external project names or non-English text anywhere in the message. +- **No** planning ids (phase or decision codes such as `P13` or `ID-54`), local paths or non-English text anywhere in the message. +- Name an external project only to credit a non-trivial technique taken from it, with a link to the source. A common technique needs no attribution. - **Merges** use `[Merge] (area): what the merge takes`. The scope is free text there. Write the subject yourself, since git's default merge message fails the check. The commits a merge brings in are not checked again. - **Reverts** use `[Fix] (Scope): revert `.