[PATCH 0/4] devtools: align trailer checks with kernel convention
Stephen Hemminger
stephen at networkplumber.org
Thu Apr 2 18:16:05 CEST 2026
This series makes four incremental changes to check-git-log.sh to
align DPDK's commit message trailer handling with the Linux kernel
convention.
The motivation came from the recent work in kernel where the
same patch needed different trailer formatting for DPDK vs. the kernel.
This is unnecessary friction for developers who work across both
projects.
Patch 1: Use git's built-in %(trailers) format instead of grepping
the commit body with hand-rolled patterns.
Patch 2: Recognize the kernel trailer tags that DPDK was missing:
Co-developed-by, Closes:, and Link:. Also adds proper format
validation for Cc:, Coverity issue:, and Bugzilla ID: tags.
Patch 3: Remove the blank line requirement between relation tags
(Fixes, Cc) and attribution tags (Signed-off-by). All trailers
now form a single contiguous block, matching kernel convention
and git-interpret-trailers(1) semantics.
Patch 4: Demote tag ordering from error to warning, since the
kernel itself does not enforce strict ordering via tooling.
Stephen Hemminger (4):
devtools: use git trailer parser for tag extraction
devtools: recognize kernel trailer tags
devtools: remove blank line requirement between trailers
devtools: demote tag ordering to warning
devtools/check-git-log.sh | 50 +++++++++++++++++++++++----------------
1 file changed, 29 insertions(+), 21 deletions(-)
--
2.53.0
More information about the dev
mailing list