Make subproject contacts optional, nest in display

This commit is contained in:
Aaron Crickenberger 2019-03-20 10:59:17 -07:00
parent 63dcb38987
commit 2e1518026b
4 changed files with 18 additions and 11 deletions

View File

@ -89,7 +89,7 @@ type GithubTeams struct {
type Subproject struct { type Subproject struct {
Name string Name string
Description string Description string
Contact Contact Contact *Contact
Owners []string Owners []string
Meetings []Meeting Meetings []Meeting
} }

View File

@ -68,16 +68,19 @@ The following subprojects are owned by sig-{{.Label}}:
{{- range .Owners }} {{- range .Owners }}
- {{.}} - {{.}}
{{- end }} {{- end }}
{{- if .Contact }}
- Contact
{{- if .Contact.Slack }} {{- if .Contact.Slack }}
- Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}}) - Slack: [#{{.Contact.Slack}}](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
{{- end }} {{- end }}
{{- if .Contact.MailingList }} {{- if .Contact.MailingList }}
- [Mailing List]({{.Contact.MailingList}}) - [Mailing List]({{.Contact.MailingList}})
{{- end }} {{- end }}
{{- if .Contact.GithubTeams }} {{- if .Contact.GithubTeams }}
- GitHub Teams: - GitHub Teams:
{{- range .Contact.GithubTeams }} {{- range .Contact.GithubTeams }}
- [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}} - [@kubernetes/{{.Name}}](https://github.com/orgs/kubernetes/teams/{{.Name}}) {{- if .Description }}({{.Description}}){{- end}}
{{- end }}
{{- end }} {{- end }}
{{- end }} {{- end }}
{{- if .Meetings }} {{- if .Meetings }}

View File

@ -48,9 +48,10 @@ The following subprojects are owned by sig-architecture:
- Owners: - Owners:
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/testdata/OWNERS - https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/testdata/OWNERS
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/OWNERS - https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/conformance/OWNERS
- Slack: [#k8s-conformance](https://kubernetes.slack.com/messages/k8s-conformance) - Contact
- GitHub Teams: - Slack: [#k8s-conformance](https://kubernetes.slack.com/messages/k8s-conformance)
- [@kubernetes/cncf-conformance-wg](https://github.com/orgs/kubernetes/teams/cncf-conformance-wg) - GitHub Teams:
- [@kubernetes/cncf-conformance-wg](https://github.com/orgs/kubernetes/teams/cncf-conformance-wg)
- **code-organization** - **code-organization**
- Description: [Described below](#code-organization) - Description: [Described below](#code-organization)
- Owners: - Owners:

View File

@ -49,7 +49,8 @@ The following subprojects are owned by sig-testing:
- Description: Kubernetes IN Docker. Run Kubernetes test clusters on your local machine using Docker containers as nodes. - Description: Kubernetes IN Docker. Run Kubernetes test clusters on your local machine using Docker containers as nodes.
- Owners: - Owners:
- https://raw.githubusercontent.com/kubernetes-sigs/kind/master/OWNERS - https://raw.githubusercontent.com/kubernetes-sigs/kind/master/OWNERS
- Slack: [#kind](https://kubernetes.slack.com/messages/kind) - Contact
- Slack: [#kind](https://kubernetes.slack.com/messages/kind)
- Meetings: - Meetings:
- 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). - 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).
- [Meeting notes and Agenda](https://docs.google.com/document/d/1b9Ppm7ZT_tMWRs5Ph1zGJJKb5nF9c3ZHzMwg1olJIrc/edit). - [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:
- Description: Prow is a CI/CD system based on Kubernetes. See prow.k8s.io to see it in action for the Kubernetes project - Description: Prow is a CI/CD system based on Kubernetes. See prow.k8s.io to see it in action for the Kubernetes project
- Owners: - Owners:
- https://raw.githubusercontent.com/kubernetes/test-infra/master/prow/OWNERS - https://raw.githubusercontent.com/kubernetes/test-infra/master/prow/OWNERS
- Slack: [#prow](https://kubernetes.slack.com/messages/prow) - Contact
- Slack: [#prow](https://kubernetes.slack.com/messages/prow)
- **testing-commons** - **testing-commons**
- 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 - 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
- Owners: - Owners:
- https://raw.githubusercontent.com/kubernetes-sigs/testing_frameworks/master/OWNERS - https://raw.githubusercontent.com/kubernetes-sigs/testing_frameworks/master/OWNERS
- https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/OWNERS - https://raw.githubusercontent.com/kubernetes/kubernetes/master/test/OWNERS
- Slack: [#testing-commons](https://kubernetes.slack.com/messages/testing-commons) - Contact
- Slack: [#testing-commons](https://kubernetes.slack.com/messages/testing-commons)
- Meetings: - Meetings:
- 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). - 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).
- [Meeting notes and Agenda](https://docs.google.com/document/d/1TOC8vnmlkWw6HRNHoe5xSv5-qv7LelX6XK3UVCHuwb0/edit#heading=h.tnoevy5f439o). - [Meeting notes and Agenda](https://docs.google.com/document/d/1TOC8vnmlkWw6HRNHoe5xSv5-qv7LelX6XK3UVCHuwb0/edit#heading=h.tnoevy5f439o).