diff options
| author | Priyanka Saggu <priyankasaggu11929@gmail.com> | 2023-01-12 15:51:38 +0000 |
|---|---|---|
| committer | Priyanka Saggu <priyankasaggu11929@gmail.com> | 2023-01-16 06:02:06 +0000 |
| commit | 27ddce709366b6cc08c88f5e657d7cced0b0a8f5 (patch) | |
| tree | 795c05c3d1fcdcaa68aae40fa6ce4df47ea6fee8 /generator/annual-report | |
| parent | 5803128dcab54c4a6d43dbd1063e4c7e374d7342 (diff) | |
auto generate list of KEPs in annual-report/sig_report go template
Diffstat (limited to 'generator/annual-report')
| -rw-r--r-- | generator/annual-report/sig_report.tmpl | 27 |
1 files changed, 9 insertions, 18 deletions
diff --git a/generator/annual-report/sig_report.tmpl b/generator/annual-report/sig_report.tmpl index d018622a..475ab145 100644 --- a/generator/annual-report/sig_report.tmpl +++ b/generator/annual-report/sig_report.tmpl @@ -14,25 +14,16 @@ - - -3. KEP work in {{lastYear}} (1.x, 1.y, 1.z): +{{$releases := getReleases}} +3. KEP work in {{lastYear}} (v{{$releases.Latest}}, v{{$releases.LatestMinusOne}}, v{{$releases.LatestMinusTwo}}): +{{$owingsig := .Dir}} +{{- range $stage, $keps := filterKEPs $owingsig $releases}} + {{ $stage }}: + {{- range $keps}} + - [{{.Number}} - {{.Title}}](https://github.com/kubernetes/enhancements/tree/master/keps/{{.OwningSIG}}/{{.Name}}) - {{.LatestMilestone -}} + {{ end}} +{{- end}} -<!-- -In future, this will be generated from kubernetes/enhancements kep.yaml files -1. with SIG as owning-sig or in participating-sigs -2. listing 1.x, 1.y, or 1.z in milestones or in latest-milestone ---> - - - Stable - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.stable - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.stable - - Beta - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.beta - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.beta - - Alpha - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.alpha - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) - $milestone.alpha - - Pre-alpha - - [$kep-number - $title](https://git.k8s.io/community/$link/README.md) ## Project health |
