Modify generator to support chairs/tech leads
This commit is contained in:
parent
56005d414c
commit
dd70a35476
|
@ -1,13 +1,16 @@
|
||||||
aliases:
|
aliases:
|
||||||
{{- range .Sigs}}
|
{{- range .Sigs}}
|
||||||
{{.Dir}}-leads:
|
{{.Dir}}-leads:
|
||||||
{{- range .Leads}}
|
{{- range .Leadership.Chairs}}
|
||||||
|
- {{.GitHub}}
|
||||||
|
{{- end}}
|
||||||
|
{{- range .Leadership.TechnicalLeads}}
|
||||||
- {{.GitHub}}
|
- {{.GitHub}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- range .WorkingGroups}}
|
{{- range .WorkingGroups}}
|
||||||
{{.Dir}}-leads:
|
{{.Dir}}-leads:
|
||||||
{{- range .Leads}}
|
{{- range .Leadership.Chairs}}
|
||||||
- {{.GitHub}}
|
- {{.GitHub}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
{{- end}}
|
{{- end}}
|
||||||
|
|
|
@ -52,9 +52,8 @@ var (
|
||||||
templateDir = "generator"
|
templateDir = "generator"
|
||||||
)
|
)
|
||||||
|
|
||||||
// Lead represents a lead engineer for a particular group. There are usually
|
// Person represents an individual person holding a role in a group.
|
||||||
// 2 per group.
|
type Person struct {
|
||||||
type Lead struct {
|
|
||||||
Name string
|
Name string
|
||||||
Company string
|
Company string
|
||||||
GitHub string
|
GitHub string
|
||||||
|
@ -85,7 +84,7 @@ type GithubTeams struct {
|
||||||
Description string
|
Description string
|
||||||
}
|
}
|
||||||
|
|
||||||
// Subproject represenst a specific subproject owned by the group
|
// Subproject represents a specific subproject owned by the group
|
||||||
type Subproject struct {
|
type Subproject struct {
|
||||||
Name string
|
Name string
|
||||||
Description string
|
Description string
|
||||||
|
@ -93,14 +92,20 @@ type Subproject struct {
|
||||||
Meetings []Meeting
|
Meetings []Meeting
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// LeadershipGroup represents the different groups of leaders within a group
|
||||||
|
type LeadershipGroup struct {
|
||||||
|
Chairs []Person
|
||||||
|
TechnicalLeads []Person `yaml:"tech_leads"`
|
||||||
|
EmeritusLeads []Person `yaml:"emeritus_leads"`
|
||||||
|
}
|
||||||
|
|
||||||
// Group represents either a Special Interest Group (SIG) or a Working Group (WG)
|
// Group represents either a Special Interest Group (SIG) or a Working Group (WG)
|
||||||
type Group struct {
|
type Group struct {
|
||||||
Name string
|
Name string
|
||||||
Dir string
|
Dir string
|
||||||
MissionStatement string `yaml:"mission_statement"`
|
MissionStatement string `yaml:"mission_statement"`
|
||||||
Label string
|
Label string
|
||||||
Leads []Lead
|
Leadership LeadershipGroup `yaml:"leadership"`
|
||||||
EmeritusLeads []Lead `yaml:"emeritus_leads"`
|
|
||||||
Meetings []Meeting
|
Meetings []Meeting
|
||||||
Contact Contact
|
Contact Contact
|
||||||
Subprojects []Subproject
|
Subprojects []Subproject
|
||||||
|
|
|
@ -13,10 +13,10 @@ When the need arises, a [new SIG can be created](sig-creation-procedure.md)
|
||||||
|
|
||||||
### Master SIG List
|
### Master SIG List
|
||||||
|
|
||||||
| Name | Label | Leads | Contact | Meetings |
|
| Name | Label | Chairs | Contact | Meetings |
|
||||||
|------|--------|-------|---------|----------|
|
|------|-------|--------|---------|----------|
|
||||||
{{- range .Sigs}}
|
{{- range .Sigs}}
|
||||||
|[{{.Name}}]({{.Dir}}/README.md)|{{.Label}}|{{range .Leads}}* [{{.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}}|{{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>
|
* {{.Description}}: [{{.Day}}s at {{.Time}} {{.TZ}} ({{.Frequency}})]({{.URL}})<br>
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
{{- range .Subprojects -}}
|
{{- range .Subprojects -}}
|
||||||
|
@ -32,5 +32,5 @@ When the need arises, a [new SIG can be created](sig-creation-procedure.md)
|
||||||
| Name | Organizers | Contact | Meetings |
|
| Name | Organizers | Contact | Meetings |
|
||||||
|------|------------|---------|----------|
|
|------|------------|---------|----------|
|
||||||
{{- range .WorkingGroups}}
|
{{- range .WorkingGroups}}
|
||||||
|[{{.Name}}]({{.Dir}}/README.md)|{{range .Leads}}* [{{.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)|{{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 }}
|
{{- end }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- template "header" }}
|
{{- template "header" }}
|
||||||
# {{.Name}} SIG
|
# {{.Name}} Special Interest Group
|
||||||
|
|
||||||
{{ .MissionStatement }}
|
{{ .MissionStatement }}
|
||||||
{{ if .Meetings }}## Meetings
|
{{ if .Meetings }}## Meetings
|
||||||
|
@ -13,18 +13,35 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ end -}}
|
{{- end }}
|
||||||
## Leads
|
{{- if .Leadership }}
|
||||||
{{- range .Leads }}
|
|
||||||
|
## Leadership
|
||||||
|
{{- if .Leadership.Chairs }}
|
||||||
|
|
||||||
|
### Chairs
|
||||||
|
The Chairs of the SIG run operations and processes governing the SIG.
|
||||||
|
{{ range .Leadership.Chairs }}
|
||||||
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- if .EmeritusLeads }}
|
{{- end }}
|
||||||
|
{{- if .Leadership.TechnicalLeads }}
|
||||||
|
|
||||||
|
### Technical Leads
|
||||||
|
The Technical Leads of the SIG establish new subprojects, decommission existing
|
||||||
|
subprojects, and resolve cross-subproject technical issues and decisions.
|
||||||
|
{{ range .Leadership.TechnicalLeads }}
|
||||||
|
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- if .Leadership.EmeritusLeads }}
|
||||||
|
|
||||||
## Emeritus Leads
|
## Emeritus Leads
|
||||||
{{- range .EmeritusLeads }}
|
{{ range .Leadership.EmeritusLeads }}
|
||||||
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
|
* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
|
||||||
|
|
|
@ -13,11 +13,16 @@
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
|
||||||
{{ end -}}
|
{{- end }}
|
||||||
|
{{- if .Leadership }}
|
||||||
|
{{- if .Leadership.Chairs }}
|
||||||
|
|
||||||
## Organizers
|
## Organizers
|
||||||
{{- range .Leads }}
|
{{ range .Leadership.Chairs }}
|
||||||
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
* {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
{{- end }}
|
||||||
|
|
||||||
## Contact
|
## Contact
|
||||||
* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
|
* [Slack](https://kubernetes.slack.com/messages/{{.Contact.Slack}})
|
||||||
|
|
Loading…
Reference in New Issue