public inbox for dev@dpdk.org
 help / color / mirror / Atom feed
* [PATCH 0/4] devtools: align trailer checks with kernel convention
@ 2026-04-02 16:16 Stephen Hemminger
  2026-04-02 16:16 ` [RFC 3/4] devtools: remove blank line requirement between trailers Stephen Hemminger
  2026-04-02 16:16 ` [RFC 4/4] devtools: demote tag ordering to warning Stephen Hemminger
  0 siblings, 2 replies; 3+ messages in thread
From: Stephen Hemminger @ 2026-04-02 16:16 UTC (permalink / raw)
  To: dev; +Cc: Stephen Hemminger

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


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-04-02 16:17 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-04-02 16:16 [PATCH 0/4] devtools: align trailer checks with kernel convention Stephen Hemminger
2026-04-02 16:16 ` [RFC 3/4] devtools: remove blank line requirement between trailers Stephen Hemminger
2026-04-02 16:16 ` [RFC 4/4] devtools: demote tag ordering to warning Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox