From f96ceb78045f483548dd077aa59b69c0bbfed099 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Agn=C3=A8s=20Toulet?= <35176601+AgnesToulet@users.noreply.github.com> Date: Wed, 5 Jul 2023 20:58:00 +0200 Subject: [PATCH] Kinds: Fix report generation (#71048) Fix kindsys report generation --- Makefile | 2 +- pkg/kindsysreport/codegen/report.json | 44 +++++++++++++++++++++------ 2 files changed, 36 insertions(+), 10 deletions(-) diff --git a/Makefile b/Makefile index 0beeed66b1f..fb74b4f8e4d 100644 --- a/Makefile +++ b/Makefile @@ -74,7 +74,7 @@ gen-cue: ## Do all CUE/Thema code generation go generate ./pkg/plugins/plugindef go generate ./kinds/gen.go go generate ./public/app/plugins/gen.go - go generate ./pkg/kindsys/report.go + go generate ./pkg/kindsysreport/codegen/report.go gen-go: $(WIRE) @echo "generate go files" diff --git a/pkg/kindsysreport/codegen/report.json b/pkg/kindsysreport/codegen/report.json index 30fe256b032..412333f45bd 100644 --- a/pkg/kindsysreport/codegen/report.json +++ b/pkg/kindsysreport/codegen/report.json @@ -242,7 +242,7 @@ "bargaugepanelcfg": { "category": "composable", "codeowners": [ - "grafana/grafana-bi-squad" + "grafana/dataviz-squad" ], "currentVersion": [ 0, @@ -266,7 +266,7 @@ "candlestickpanelcfg": { "category": "composable", "codeowners": [ - "grafana/grafana-edge-squad" + "grafana/dataviz-squad" ], "currentVersion": [ 0, @@ -287,6 +287,30 @@ "pluralName": "CandlestickPanelCfgs", "schemaInterface": "PanelCfg" }, + "canvaspanelcfg": { + "category": "composable", + "codeowners": [ + "grafana/dataviz-squad" + ], + "currentVersion": [ + 0, + 0 + ], + "grafanaMaturityCount": 0, + "lineageIsGroup": true, + "links": { + "docs": "https://grafana.com/docs/grafana/next/developers/kinds/composable/canvaspanelcfg/schema-reference", + "go": "n/a", + "schema": "https://github.com/grafana/grafana/tree/main/public/app/plugins/panel/canvas/panelcfg.cue", + "ts": "https://github.com/grafana/grafana/tree/main/public/app/plugins/panel/canvas/panelcfg.gen.ts" + }, + "machineName": "canvaspanelcfg", + "maturity": "experimental", + "name": "CanvasPanelCfg", + "pluralMachineName": "canvaspanelcfgs", + "pluralName": "CanvasPanelCfgs", + "schemaInterface": "PanelCfg" + }, "cloudwatchdataquery": { "category": "composable", "codeowners": [ @@ -350,7 +374,7 @@ 0 ], "description": "A Grafana dashboard.", - "grafanaMaturityCount": 260, + "grafanaMaturityCount": 103, "lineageIsGroup": false, "links": { "docs": "https://grafana.com/docs/grafana/next/developers/kinds/core/dashboard/schema-reference", @@ -608,7 +632,7 @@ "gaugepanelcfg": { "category": "composable", "codeowners": [ - "grafana/grafana-bi-squad" + "grafana/dataviz-squad" ], "currentVersion": [ 0, @@ -1275,7 +1299,7 @@ "piechartpanelcfg": { "category": "composable", "codeowners": [ - "grafana/grafana-bi-squad" + "grafana/dataviz-squad" ], "currentVersion": [ 0, @@ -1646,7 +1670,7 @@ "statpanelcfg": { "category": "composable", "codeowners": [ - "grafana/grafana-bi-squad" + "grafana/dataviz-squad" ], "currentVersion": [ 0, @@ -2112,6 +2136,7 @@ "barchartpanelcfg", "bargaugepanelcfg", "candlestickpanelcfg", + "canvaspanelcfg", "cloudwatchdataquery", "cloudwatchdatasourcecfg", "dashboarddataquery", @@ -2173,7 +2198,7 @@ "zipkindataquery", "zipkindatasourcecfg" ], - "count": 69 + "count": 71 }, "core": { "name": "core", @@ -2207,6 +2232,7 @@ "barchartpanelcfg", "bargaugepanelcfg", "candlestickpanelcfg", + "canvaspanelcfg", "cloudwatchdataquery", "dashboard", "dashboardlistpanelcfg", @@ -2234,7 +2260,7 @@ "textpanelcfg", "xychartpanelcfg" ], - "count": 29 + "count": 31 }, "mature": { "name": "mature", @@ -2317,4 +2343,4 @@ } } } -} +} \ No newline at end of file