shared/verbs: add "project" field in introspection data

As raised in post-merge review for the addition of COMMAND, nothing in the
data specified that the program is part of the systemd project.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2026-08-21 09:12:19 +02:00
parent 32f99fb500
commit 9062186b46
+1
View File
@@ -607,6 +607,7 @@ static int command_build_json(
r = sd_json_buildo(
ret,
SD_JSON_BUILD_PAIR_VARIANT("names", names),
SD_JSON_BUILD_PAIR_STRING("project", "systemd"),
SD_JSON_BUILD_PAIR_STRING("version", PROJECT_VERSION_FULL),
SD_JSON_BUILD_PAIR_STRV("features", features),
SD_JSON_BUILD_PAIR_CONDITION(