From e7a34805af45165db5735028528c8e86647a1179 Mon Sep 17 00:00:00 2001 From: "Georgi (Joro) Kodinov" Date: Tue, 12 May 2026 16:38:27 +0300 Subject: [PATCH] MDEV-39572: Add marking requirements for AI-assisted contributions to COMMUNITY_CONTRIBUTIONS.md Explained the use of git commit trailers to mark contributions co-developed using AI tools. --- COMMUNITY_CONTRIBUTIONS.md | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/COMMUNITY_CONTRIBUTIONS.md b/COMMUNITY_CONTRIBUTIONS.md index 39776384befd9..a1f021c13d444 100644 --- a/COMMUNITY_CONTRIBUTIONS.md +++ b/COMMUNITY_CONTRIBUTIONS.md @@ -64,6 +64,28 @@ And that commit should have a commit message that's compliant with > If there's no Jira or no reference to it in your pull request > there might be delays in processing it +#### Contribution Header Requirements #### + +Git supports adding "trailers" to a commit message. Contributors +submitting pull requests that contain co-authored commits are +**strongly encouraged** to add a specific "Co-Authored-By:" +git commit message trailer for contributions that were co-authored. +This is especially important for contributions that were co-authored by +AI-assisted code generators, for example +``` +commit some-hash +Author: Somebody +Date: Mon Jun 30 16:41:18 2025 -0600 + + MDEV-00000: Something + + Explain what it is. + + Co-authored-by: Some Tool +``` +You can also use the --trailer option to git commit to produce these. + + ## States of a Community Contribution ## ```mermaid