Skip to content

Commit

Permalink
tools: Update sigs generator templates for KubeVirt
Browse files Browse the repository at this point in the history
Signed-off-by: Lee Yarwood <[email protected]>
  • Loading branch information
lyarwood committed Sep 14, 2023
1 parent 32e93ed commit b778d15
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
8 changes: 4 additions & 4 deletions tools/sigs/generator/committee_readme.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -54,12 +54,12 @@ The [charter]({{.CharterLink}}) defines the scope and governance of the {{.Name}
- Private Mailing List: {{.Contact.PrivateMailingList}}
{{- end }}
{{- if .Label }}
- [Open Community Issues/PRs](https://github.com/kubernetes/community/labels/committee%2F{{.Label}})
- [Open Community Issues/PRs](https://github.com/kubevirt/community/labels/committee%2F{{.Label}})
{{- end }}
{{- if .Contact.GithubTeams }}
- GitHub Teams:
{{- range .Contact.GithubTeams }}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }} - {{.Description}} {{- end}}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubevirt/teams/{{.Name}}) {{- if .Description }} - {{.Description}} {{- end}}
{{- end }}
{{- end }}
{{- if .Contact.Liaison.Name }}
Expand Down Expand Up @@ -92,7 +92,7 @@ The following [subprojects][subproject-definition] are owned by the {{.Name}} Co
{{- if .Contact.GithubTeams }}
- GitHub Teams:
{{- range .Contact.GithubTeams }}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }} - {{.Description}}{{- end}}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubevirt/teams/{{.Name}}) {{- if .Description }} - {{.Description}}{{- end}}
{{- end }}
{{- end }}
{{- end }}
Expand All @@ -111,4 +111,4 @@ The following [subprojects][subproject-definition] are owned by the {{.Name}} Co
{{- end }}
{{- end }}

[subproject-definition]: https://github.com/kubernetes/community/blob/master/governance.md#subprojects
[subproject-definition]: https://github.com/kubevirt/community/blob/master/governance.md#sigs
2 changes: 1 addition & 1 deletion tools/sigs/generator/header.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,6 @@ This is an autogenerated file!
Please do not edit this file directly, but instead make changes to the
sigs.yaml file in the project root.

To understand how this file is generated, see https://git.k8s.io/community/generator/README.md
To understand how this file is generated, see https://github.com/kubevirt/community/tools/sigs/generator/README.md
--->
{{- end -}}
4 changes: 2 additions & 2 deletions tools/sigs/generator/liaisons.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

# Liaisons

Steering Committee members are elected representatives of the Kubernetes
project contributor base. Its important that we make sure ensure a good
Steering Committee members are elected representatives of the kubevirt
project contributor base. It's important that we make sure ensure a good
flow of governance information and feedback loops to and from the
groups. With over 35 community groups and 100+ leads, it can be hard to
connect for communitywide consensus and to help with this, each group
Expand Down
6 changes: 3 additions & 3 deletions tools/sigs/generator/list.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ When the need arises, a [new SIG can be created](sig-wg-lifecycle.md)
| Name | Label | Chairs | Contact | Meetings |
|------|-------|--------|---------|----------|
{{- range .Sigs}}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubernetes/kubernetes/labels/sig%2F{{.Label}})|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>* [Mailing List]({{.Contact.MailingList}})|{{- range .Meetings -}}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubevirt/kubevirt/labels/sig%2F{{.Label}})|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>* [Mailing List]({{.Contact.MailingList}})|{{- range .Meetings -}}
* {{.Description}}: [{{.Day}}s at {{.Time}} {{.TZ}} ({{.Frequency}})]({{.URL}})<br>
{{- end -}}
{{- range .Subprojects -}}
Expand All @@ -42,13 +42,13 @@ When the need arises, a [new SIG can be created](sig-wg-lifecycle.md)
| Name | Label | Stakeholder SIGs |Organizers | Contact | Meetings |
|------|-------|------------------|-----------|---------|----------|
{{- range .WorkingGroups}}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubernetes/kubernetes/labels/wg%2F{{.Label}})|{{range .StakeholderSIGs}}* {{.}}<br>{{end }}|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>* [Mailing List]({{.Contact.MailingList}})|{{range .Meetings}}* {{.Description}}: [{{.Day}}s at {{.Time}} {{.TZ}} ({{.Frequency}})]({{.URL}})<br>{{end}}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubevirt/kubevirt/labels/wg%2F{{.Label}})|{{range .StakeholderSIGs}}* {{.}}<br>{{end }}|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>* [Mailing List]({{.Contact.MailingList}})|{{range .Meetings}}* {{.Description}}: [{{.Day}}s at {{.Time}} {{.TZ}} ({{.Frequency}})]({{.URL}})<br>{{end}}
{{- end }}

### Committees

| Name | Label | Members | Contact |
|------|--------|---------|---------|
{{- range .Committees}}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubernetes/kubernetes/labels/committee%2F{{.Label}})|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|{{ if .Contact.Slack }}* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>{{ end }}{{ if .Contact.MailingList }}* [Mailing List]({{.Contact.MailingList}})<br>{{ end }}{{ if .Contact.PrivateMailingList }}* [Private Mailing List]({{.Contact.PrivateMailingList}}){{ end }}
|[{{.Name}}]({{.Dir}}/README.md)|[{{.Label}}](https://github.com/kubevirt/kubevirt/labels/committee%2F{{.Label}})|{{range .Leadership.Chairs}}* [{{.Name}}](https://github.com/{{.GitHub}}){{if .Company}}, {{.Company}}{{end}}<br>{{end}}|{{ if .Contact.Slack }}* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})<br>{{ end }}{{ if .Contact.MailingList }}* [Mailing List]({{.Contact.MailingList}})<br>{{ end }}{{ if .Contact.PrivateMailingList }}* [Private Mailing List]({{.Contact.PrivateMailingList}}){{ end }}
{{- end }}
14 changes: 7 additions & 7 deletions tools/sigs/generator/sig_readme.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -53,15 +53,15 @@ subprojects, and resolve cross-subproject technical issues and decisions.
{{- end }}

## Contact
- Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
- Slack: [#{{.Contact.Slack}}](https://kubevirt.slack.com/messages/{{.Contact.Slack}})
- [Mailing list]({{.Contact.MailingList}})
{{- if .Label }}
- [Open Community Issues/PRs](https://github.com/kubernetes/community/labels/sig%2F{{.Label}})
- [Open Community Issues/PRs](https://github.com/kubevirt/community/labels/sig%2F{{.Label}})
{{- end }}
{{- if .Contact.GithubTeams }}
- GitHub Teams:
{{- range .Contact.GithubTeams }}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }} - {{.Description}} {{- end}}
- [@kubevirt/{{.Name}}](https://github.com/orgs/kubevirt/teams/{{.Name}}) {{- if .Description }} - {{.Description}} {{- end}}
{{- end }}
{{- end }}
{{- if .Contact.Liaison.Name }}
Expand Down Expand Up @@ -97,15 +97,15 @@ The following [subprojects][subproject-definition] are owned by sig-{{.Label}}:
{{- if .Contact }}
- **Contact:**
{{- if .Contact.Slack }}
- Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
- Slack: [#{{.Contact.Slack}}](https://kubevirt.slack.com/messages/{{.Contact.Slack}})
{{- end }}
{{- if .Contact.MailingList }}
- [Mailing List]({{.Contact.MailingList}})
{{- end }}
{{- if .Contact.GithubTeams }}
- GitHub Teams:
{{- range .Contact.GithubTeams }}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }} - {{.Description}}{{- end}}
- [@kubevirt/{{.Name}}](https://github.com/orgs/kubevirt/teams/{{.Name}}) {{- if .Description }} - {{.Description}}{{- end}}
{{- end }}
{{- end }}
{{- end }}
Expand All @@ -124,5 +124,5 @@ The following [subprojects][subproject-definition] are owned by sig-{{.Label}}:
{{- end }}
{{- end }}

[subproject-definition]: https://github.com/kubernetes/community/blob/master/governance.md#subprojects
[working-group-definition]: https://github.com/kubernetes/community/blob/master/governance.md#working-groups
[subproject-definition]: https://github.com/kubevirt/community/blob/main/sig-governance.md#subprojects
[working-group-definition]: https://github.com/kubevirt/community/blob/main/siggovernance.md#working-groups

0 comments on commit b778d15

Please sign in to comment.