diff --git a/generator/readme_app.go b/generator/readme_app.go index 81f28a3..3e55702 100644 --- a/generator/readme_app.go +++ b/generator/readme_app.go @@ -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. diff --git a/generator/tag_readme.tmpl b/generator/tag_readme.tmpl index b5e1aa1..f91ded4 100644 --- a/generator/tag_readme.tmpl +++ b/generator/tag_readme.tmpl @@ -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 }} \ No newline at end of file diff --git a/generator/toc_subproject_readme.tmpl b/generator/toc_subproject_readme.tmpl index e9148a9..384a76c 100644 --- a/generator/toc_subproject_readme.tmpl +++ b/generator/toc_subproject_readme.tmpl @@ -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 }} \ No newline at end of file diff --git a/tags.yaml b/tags.yaml index ee72170..001a59a 100644 --- a/tags.yaml +++ b/tags.yaml @@ -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