Skip to content
Snippets Groups Projects
Commit ba9d34b4 authored by Dylan Aïssi's avatar Dylan Aïssi
Browse files

Count the number of wrong-settings reports


Signed-off-by: default avatarDylan Aïssi <dylan.aissi@collabora.com>
parent cd71fc50
No related branches found
No related tags found
1 merge request!222trigger-updates: make it compatible with new reports format
......@@ -74,6 +74,12 @@ def preprocess_packaging_data(data):
"total_packaging_delta": sum(
count_reports(p, lambda r: r["domain"] == "delta") for p in packages
),
"wrong_settings_count": sum(
count_reports(
p, lambda r: r["domain"] == "git" and r["kind"] == "wrong-settings"
)
for p in packages
),
}
data["summary"] = summary
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment