Skip to content

Commit 2e15180

Browse files
committed
Make subproject contacts optional, nest in display
1 parent 63dcb38 commit 2e15180

4 files changed

Lines changed: 18 additions & 11 deletions

File tree

generator/app.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ type GithubTeams struct {
8989
type Subproject struct {
9090
Name string
9191
Description string
92-
Contact Contact
92+
Contact *Contact
9393
Owners []string
9494
Meetings []Meeting
9595
}

generator/sig_readme.tmpl

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -68,16 +68,19 @@ The following subprojects are owned by sig-{{.Label}}:
6868
{{- range .Owners }}
6969
- {{.}}
7070
{{- end }}
71+
{{- if .Contact }}
72+
- Contact
7173
{{- if .Contact.Slack }}
72-
- Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
74+
- Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
7375
{{- end }}
7476
{{- if .Contact.MailingList }}
75-
- [Mailing List]({{.Contact.MailingList}})
77+
- [Mailing List]({{.Contact.MailingList}})
7678
{{- end }}
7779
{{- if .Contact.GithubTeams }}
78-
- GitHub Teams:
80+
- GitHub Teams:
7981
{{- range .Contact.GithubTeams }}
80-
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}}
82+
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}}
83+
{{- end }}
8184
{{- end }}
8285
{{- end }}
8386
{{- if .Meetings }}

sig-architecture/README.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -48,9 +48,10 @@ The following subprojects are owned by sig-architecture:
4848
- Owners:
4949
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/testdata/OWNERS
5050
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/OWNERS
51-
- Slack: [#k8s-conformance](https://kubernetes.slack.com/messages/k8s-conformance)
52-
- GitHub Teams:
53-
- [@kubernetes/cncf-conformance-wg](https://github.com/orgs/kubernetes/teams/cncf-conformance-wg)
51+
- Contact
52+
- Slack: [#k8s-conformance](https://kubernetes.slack.com/messages/k8s-conformance)
53+
- GitHub Teams:
54+
- [@kubernetes/cncf-conformance-wg](https://github.com/orgs/kubernetes/teams/cncf-conformance-wg)
5455
- **code-organization**
5556
- Description: [Described below](#code-organization)
5657
- Owners:

sig-testing/README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,8 @@ The following subprojects are owned by sig-testing:
4949
- Description: Kubernetes IN Docker. Run Kubernetes test clusters on your local machine using Docker containers as nodes.
5050
- Owners:
5151
- https://raw.githubusercontent.com/kubernetes-sigs/kind/master/OWNERS
52-
- Slack: [#kind](https://kubernetes.slack.com/messages/kind)
52+
- Contact
53+
- Slack: [#kind](https://kubernetes.slack.com/messages/kind)
5354
- Meetings:
5455
- sigs.k8s.io/kind weekly meeting: [Mondays at 11:00 PT (Pacific Time)](https://docs.google.com/document/d/1FQx0BPlkkl1Bn0c9ocVBxYIKojpmrS1CFP5h0DI68AE/edit) (weekly). [Convert to your timezone](http://www.thetimezoneconverter.com/?t=11:00&tz=PT%20%28Pacific%20Time%29).
5556
- [Meeting notes and Agenda](https://docs.google.com/document/d/1b9Ppm7ZT_tMWRs5Ph1zGJJKb5nF9c3ZHzMwg1olJIrc/edit).
@@ -58,13 +59,15 @@ The following subprojects are owned by sig-testing:
5859
- Description: Prow is a CI/CD system based on Kubernetes. See prow.k8s.io to see it in action for the Kubernetes project
5960
- Owners:
6061
- https://raw.githubusercontent.com/kubernetes/test-infra/master/prow/OWNERS
61-
- Slack: [#prow](https://kubernetes.slack.com/messages/prow)
62+
- Contact
63+
- Slack: [#prow](https://kubernetes.slack.com/messages/prow)
6264
- **testing-commons**
6365
- Description: The Testing Commons is a subproject within the Kubernetes sig-testing community interested code structure, layout, and execution of common test code used throughout the kubernetes project
6466
- Owners:
6567
- https://raw.githubusercontent.com/kubernetes-sigs/testing_frameworks/master/OWNERS
6668
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/OWNERS
67-
- Slack: [#testing-commons](https://kubernetes.slack.com/messages/testing-commons)
69+
- Contact
70+
- Slack: [#testing-commons](https://kubernetes.slack.com/messages/testing-commons)
6871
- Meetings:
6972
- Testing Commons: [Fridays at 07:30 PT (Pacific Time)](https://docs.google.com/document/d/1FQx0BPlkkl1Bn0c9ocVBxYIKojpmrS1CFP5h0DI68AE/edit) (bi-weekly). [Convert to your timezone](http://www.thetimezoneconverter.com/?t=07:30&tz=PT%20%28Pacific%20Time%29).
7073
- [Meeting notes and Agenda](https://docs.google.com/document/d/1TOC8vnmlkWw6HRNHoe5xSv5-qv7LelX6XK3UVCHuwb0/edit#heading=h.tnoevy5f439o).

0 commit comments

Comments
 (0)