]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
get_maintainer: add --json output mode
authorSasha Levin <sashal@kernel.org>
Wed, 8 Apr 2026 19:45:42 +0000 (15:45 -0400)
committerAndrew Morton <akpm@linux-foundation.org>
Fri, 29 May 2026 04:24:42 +0000 (21:24 -0700)
commit09d8b39563e84fc245d642182715a7e0e024b0f2
tree7252a32c70e9293ddc4cf1baab3fbecf62407603
parentf13f1b0cb56491547243e502988282e5be50bc44
get_maintainer: add --json output mode

Add a --json flag to get_maintainer.pl that emits structured JSON output,
making results machine-parseable for CI systems, IDE integrations, and
AI-assisted development tools.

The JSON output includes a maintainers array with structured name, email,
and role fields, plus optional arrays for scm, status, subsystem, web, and
bug information when those flags are enabled.

Normal text output behavior is completely unchanged when --json is not
specified.

Assisted-by: Claude:claude-opus-4-6
Link: https://lore.kernel.org/20260408194542.1354549-1-sashal@kernel.org
Signed-off-by: Sasha Levin <sashal@kernel.org>
Acked-by: Joe Perches <joe@perches.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
scripts/get_maintainer.pl