add initiatives to readme files (#1574)

Signed-off-by: Riaan Kleinhans <riaankleinhans@gmail.com>
This commit is contained in:
Riaan Kleinhans 2025-03-26 13:06:02 -04:00 committed by GitHub
parent 7fd76d6438
commit bd488a9188
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 31 additions and 11 deletions

View File

@ -28,7 +28,7 @@ type Person struct {
type Leadership struct {
Chairs []Person `yaml:"chairs"`
TechLeads []Person `yaml:"tech_leads"`
SubprojectLeads []Person `yaml:"Subpproject Leads"` // Corrected struct field name
SubprojectLeads []Person `yaml:"Subpproject Leads"`
}
// Meeting struct to hold meeting data.
@ -50,22 +50,24 @@ type Tag struct {
Dir string `yaml:"dir"`
Name string `yaml:"name"`
MissionStatement string `yaml:"mission_statement"`
Leadership Leadership `yaml:"leadership"` // Use the Leadership struct defined above
Leadership Leadership `yaml:"leadership"`
Meetings []Meeting `yaml:"meetings"`
Contact Contact `yaml:"contact"`
TagSubprojects []Subproject `yaml:"tag_subprojects"`
CharterLink string `yaml:"charter_link"`
TagInitiatives string `yaml:"tag_initiatives"` // ADDED THIS LINE
}
// TOCSubproject struct to hold TOC subproject data, including CharterLink.
type TOCSubproject struct {
Dir string `yaml:"dir"`
Name string `yaml:"name"`
MissionStatement string `yaml:"mission_statement"`
Leadership Leadership `yaml:"leadership"` // Use the Leadership struct
Meetings []Meeting `yaml:"meetings"`
Contact Contact `yaml:"contact"`
CharterLink string `yaml:"charter_link"`
Dir string `yaml:"dir"`
Name string `yaml:"name"`
MissionStatement string `yaml:"mission_statement"`
Leadership Leadership `yaml:"leadership"`
Meetings []Meeting `yaml:"meetings"`
Contact Contact `yaml:"contact"`
CharterLink string `yaml:"charter_link"`
SubprojectInitiatives string `yaml:"subproject_initiatives"` // ADDED THIS LINE
}
// Config struct to hold the entire configuration.

View File

@ -28,7 +28,7 @@
{{- end }}
## Contact
- Slack: [#{{.Contact.Slack}}](https://slack.cncf.io/messages/{{.Contact.Slack}}})
- Slack: [Tag {{.Name}} Slack](https://cloud-native.slack.com/archives/{{.Contact.Slack}})
- [Mailing List]({{.Contact.MailingList}})
- TOC Liaison: {{.Contact.TOCLiaison.Name}} (**[@{{.Contact.TOCLiaison.GitHub}}](https://github.com/{{.Contact.TOCLiaison.GitHub}})**)
@ -43,3 +43,8 @@
- {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
{{- end }}
{{- end }}
{{- if .TagInitiatives }}
## Initiatives
[{{.Name}} Initiatives]({{.TagInitiatives}})
{{- end }}

View File

@ -28,7 +28,7 @@
{{- end }}
## Contact
- Slack: [#{{.Contact.Slack}}](https://slack.cncf.io/messages/{{.Contact.Slack}})
- Slack: [Tag {{.Name}} Slack](https://cloud-native.slack.com/archives/{{.Contact.Slack}})
- [Mailing List]({{.Contact.MailingList}})
- TOC Liaison: {{.Contact.TOCLiaison.Name}} (**[@{{.Contact.TOCLiaison.GitHub}}](https://github.com/{{.Contact.TOCLiaison.GitHub}})**)
@ -38,3 +38,8 @@
- {{.Name}} (**[@{{.GitHub}}](https://github.com/{{.GitHub}})**){{if .Company}}, {{.Company}}{{end}}
{{- end }}
{{- end }}
{{- if .SubprojectInitiatives }}
## Initiatives
[{{.Name}} Initiatives]({{.SubprojectInitiatives}})
{{- end }}

View File

@ -52,6 +52,7 @@ tags: # Technical Advisory Groups
name: Foo Baz Bar
company: Foo Baz Bar co.
email: me@foobazbar.org
tag_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20state%3Aopen%20label%3A%22TAG%20Developer%20Experience%20Initiative%22
- dir: tag-infrastructure # TAG Infrastructure
name: TAG Infrastructure
mission_statement: >
@ -104,6 +105,7 @@ tags: # Technical Advisory Groups
name: Foo Baz Bar
company: Foo Baz Bar co.
email: me@foobazbar.org
tag_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TAG%20Infrastructure%20Initiative%22%20
- dir: tag-operational-resilience # TAG Operational Resilience
name: TAG Operational Resilience
mission_statement: >
@ -157,6 +159,7 @@ tags: # Technical Advisory Groups
name: Foo Baz Bar
company: Foo Baz Bar co.
email: me@foobazbar.org
tag_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TAG%20Operational%20Resilience%20Initiative%22
- dir: tag-security-and-compliance # TAG Security and Compliance
name: TAG Security and Compliance
mission_statement: >
@ -209,6 +212,7 @@ tags: # Technical Advisory Groups
name: Foo Baz Bar
company: Foo Baz Bar co.
email: me@foobazbar.org
tag_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TAG%20Security%20and%20Compliance%20Initiative%22
- dir: tag-workloads-foundation # TAG Workloads Foundation
name: TAG Workloads Foundation
mission_statement: >
@ -261,6 +265,7 @@ tags: # Technical Advisory Groups
name: Foo Baz Bar
company: Foo Baz Bar co.
email: me@foobazbar.org
tag_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TAG%20Workloads%20Foundation%20Initiative%22
toc_subprojects: # TOC Subprojects
- dir: contributor-strategy-subproject # Contributor Strategy Subproject
name: Contributor Strategy Subproject
@ -300,6 +305,7 @@ toc_subprojects: # TOC Subprojects
toc_liaison:
github: foobar
name: Foo Bar
subproject_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TOC%20Contributor%20Strategy%20Subproject%20Initiative%22
- dir: mentoring-subproject # Mentoring Subproject
name: Mentoring Subproject
mission_statement: Foo-Baz-Bar
@ -338,6 +344,7 @@ toc_subprojects: # TOC Subprojects
toc_liaison:
github: foobar
name: Foo Bar
subproject_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TOC%20Mentoring%20Subproject%20Initiative%22
- dir: project-reviews-subproject # Project Reviews Subproject
name: Project Reviews Subproject
mission_statement: Foo-Baz-bar
@ -376,3 +383,4 @@ toc_subprojects: # TOC Subprojects
toc_liaison:
github: foobar
name: Foo Bar
subproject_initiatives: https://github.com/cncf/toc/issues?q=is%3Aissue%20label%3A%22TOC%20Project%20Reviews%20Subproject%20Initiative%22