wrap generated list of KEPs in comments

check-in files with LF line endings
This commit is contained in:
Samson Kolge 2024-08-21 22:04:59 +05:30 committed by samsonkolge
parent 97526afbde
commit 11d1a66670
2 changed files with 19 additions and 14 deletions

2
generator/.gitattributes vendored Normal file
View File

@ -0,0 +1,2 @@
# Always check-out / check-in files with LF line endings.
* text=auto eol=lf

View File

@ -14,17 +14,6 @@
2. Are there any areas and/or subprojects that your group needs help with (e.g. fewer than 2 active OWNERS)?
{{$releases := getReleases -}}
{{$owningSIG := .Dir -}}
{{$stagedKeps := filterKEPs $owningSIG $releases -}}
{{$alphaKeps := index $stagedKeps "alpha" -}}
{{$betaKeps := index $stagedKeps "beta" -}}
{{$stableKeps := index $stagedKeps "stable" -}}
<!--
Note: This list is generated from the KEP metadata in kubernetes/enhancements repository.
If you find any discrepancy in the generated list here, please check the KEP metadata.
Please raise an issue in kubernetes/community, if the KEP metadata is correct but the generated list is incorrect.
-->
3. Did you have community-wide updates in {{lastYear}} (e.g. KubeCon talks)?
@ -32,8 +21,22 @@
Examples include links to email, slides, or recordings.
-->
{{$releases := getReleases -}}
{{$owningSIG := .Dir -}}
{{$stagedKeps := filterKEPs $owningSIG $releases -}}
{{$alphaKeps := index $stagedKeps "alpha" -}}
{{$betaKeps := index $stagedKeps "beta" -}}
{{$stableKeps := index $stagedKeps "stable" -}}
4. KEP work in {{lastYear}} ({{$releases.LatestMinusTwo}}, {{$releases.LatestMinusOne}}, {{$releases.Latest}}):
{{if ne (len $alphaKeps) 0}}
<!--
TODO: Uncomment the following auto-generated list of KEPs, once reviewed & updated for correction.
Note: This list is generated from the KEP metadata in kubernetes/enhancements repository.
If you find any discrepancy in the generated list here, please check the KEP metadata.
Please raise an issue in kubernetes/community, if the KEP metadata is correct but the generated list is incorrect.
-->
<!-- {{if ne (len $alphaKeps) 0}}
- Alpha
{{- range $alphaKeps}}
- [{{.Number}} - {{.Title}}](https://github.com/kubernetes/enhancements/tree/master/keps/{{.OwningSIG}}/{{.Name}}) - {{.Milestone.Alpha -}}
@ -47,7 +50,7 @@
- Stable
{{- range $stableKeps}}
- [{{.Number}} - {{.Title}}](https://github.com/kubernetes/enhancements/tree/master/keps/{{.OwningSIG}}/{{.Name}}) - {{.Milestone.Stable -}}
{{ end}}{{ end}}
{{ end}}{{ end}} -->
## [Subprojects](https://git.k8s.io/community/{{.Dir}}#subprojects)
{{- define "subprojects" -}}
@ -111,4 +114,4 @@ Operational tasks in [sig-governance.md]:
[sig-governance.md]: https://git.k8s.io/community/committee-steering/governance/sig-governance.md
[README.md]: https://git.k8s.io/community/{{.Dir}}/README.md
[sigs.yaml]: https://git.k8s.io/community/sigs.yaml
[devel]: https://git.k8s.io/community/contributors/devel/README.md
[devel]: https://git.k8s.io/community/contributors/devel/README.md