Commit Graph

57 Commits

Author SHA1 Message Date
Kubernetes Prow Robot 3043e02155
Merge pull request #7227 from palnabarun/7213/fix-annual-report-generator
7213/fix annual report generator
2024-02-13 04:38:32 -08:00
Nabarun Pal 0acdd0e36f
generator: fix KEP list generation for Annual Reports
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2024-02-10 09:48:57 +05:30
Nabarun Pal 705ea74ef1
(generator): change generator to allow for subproject leads
Signed-off-by: Nabarun Pal <pal.nabarun95@gmail.com>
2023-09-20 16:41:57 +05:30
Madhav Jivrajani 078fb1a935 generator: Refactor to make github API calls only when needed
Currently, everytime the verify job is run, API calls are made
to github to fetch kubernetes release information since verify
calls generate first.

The issue with this is that everytime this runs in the CI, eventhough
we only generate annual reports when ANNUAL_REPORT env is set, the
API calls are made and if they are rate limited (since we don't use
a token here), the job will fail without a legitamate reason.

Signed-off-by: Madhav Jivrajani <madhav.jiv@gmail.com>
2023-06-21 18:58:35 +05:30
Christoph Blecker 2dce9fcdb3
Fix formatting in GitHub issue generation 2023-02-08 17:17:19 -08:00
Christoph Blecker 042d2889a8
Fix KEP generation and formatting 2023-02-08 17:17:11 -08:00
Priyanka Saggu a0bf20abbb auto generate list of subprojects & working-groups from annual report year 2023-01-21 11:28:23 +00:00
Priyanka Saggu 27ddce7093 auto generate list of KEPs in annual-report/sig_report go template 2023-01-16 06:02:06 +00:00
Jordan Liggitt 9ea867a0a2 Write generate errors to stderr 2022-05-26 20:56:58 -04:00
Jordan Liggitt 77521a2706 Link to working groups from SIG readmes 2022-01-27 15:58:10 -05:00
Jordan Liggitt 30b330d6c3 Link to sigs from WG readmes 2022-01-27 15:57:58 -05:00
Christoph Blecker 97348cbcac
Add generation function for annual report 2022-01-22 15:51:57 -08:00
Boleyn Su 0aba750236
Update app.go
fix a typo
2021-06-21 10:54:54 -04:00
Aaron Crickenberger 6153db5bf6 generator: make subproject owners links useful
reduce the visual noise, and make the links go to githubs UI

so: https://raw.githubusercontent.com/org/repo/branch/path/to/OWNERS
becomes:
- link text: org/repo/path/to
- link target: https://github.com/org/repo/blob/branch/path/to/ORWNERS

note: this does assume/imply we don't need to model the complexity of
subprojects owning different branches... but, we haven't found a reason
to do so in 5 years, seems a safe assumption
2021-03-09 14:12:03 -05:00
Aaron Crickenberger 34684158e9 generator: allow github and raw urls in sigs.yaml 2021-03-09 14:12:03 -05:00
Aaron Crickenberger 7a3a9e4e57 generator: add githubURL, orgRepoPath funcs 2021-03-09 14:12:03 -05:00
Aaron Crickenberger 320c5f10d6 generator: add validation of subprojects
specifically:
- only sigs+committees can have subprojects
- subprojects need at least one owners entry
- owners should be raw github links

I think the last one could/should change, but:
- I'm about to auto-generate links assuming this format, so I want to
  verify I can assume all owners are in this format
- I am not quite sure if we should treat sigs.yaml as public api and
  give notice/deprecation for field changes
2021-03-09 14:12:03 -05:00
Nikhita Raghunath 058e3c4b23 generator: support liaisons in sigs.yaml 2021-01-20 10:37:33 +05:30
Lubomir I. Ivanov 0d52e7b449 generator/app: add means for sorted and de-duped OWNERS_ALIASES
- Add LeadershipGroup#Owners() which returns a sorted and de-duped
list of owners ([]Person) for this LeadershipGroup by combining
Chairs and TechnicalLeads
- The function is used in generator/aliases.tmpl
- Update OWNERS_ALIASES with the new results
2020-01-23 04:44:02 +02:00
Nikhita Raghunath a0055b5063 generator: don't specify company for emeritus_leads
If we end up specifying the company for emeritus leads, we could end
up stale information. Moreover, we don't gain any specific value
from company info of emeritus leads.
2019-10-05 09:33:54 +05:30
Nikhita Raghunath a33d5ffe23 generator: enable validation for sigs.yaml 2019-07-30 19:36:13 +05:30
Aaron Crickenberger e63cbfae86 Validate same github id has same name/compay 2019-05-06 11:45:46 -07:00
Aaron Crickenberger 2b74274adc Prototype validation of sigs.yaml
Demonstrating this could be done, not going to enforce it for now.

There are also a number of these conventions that could probably
just be auto-generated.
2019-05-03 11:20:04 -07:00
Aaron Crickenberger 89cde82503 Update generator to reformat sigs.yaml
The following formatting is enforced:
- Consistent identation of 2 spaces
- Keys are sorted by order of struct fields
- Lists are sorted by struct-dependent keys
- Comments are stripped

I had hopes of using yaml.Node to preserve comments, but found no
obvious way to marshal from struct to Node, meaning all data
manipulation had to be done against Nodes. This loses us all of the
benefits of using a struct: types, known fields, field order.

Given that there aren't many comments in sigs.yaml to begin with, I'm
erring on the side of dropping support for them.
2019-05-03 11:20:04 -07:00
Aaron Crickenberger b91b05da2e Upgrade to gopkg.in/yaml.v3
This gives us access to the yaml.Node type, which can be used to
preserve more formatting than v2 supported during round tripping
of YAML
2019-05-03 11:20:04 -07:00
Aaron Crickenberger 2e1518026b Make subproject contacts optional, nest in display 2019-03-20 11:00:17 -07:00
Aaron Crickenberger 63dcb38987 Add contact (slack, mailing_list, teams) to subprojects
Demonstrate by adding slack channels for sig-testing subprojects
that already have their own slack channels

Add a GitHub team related to conformance to sig-arch's conformance
definition subproject

GitHub teams as implemented now are very kubernetes-org centric,
I'm not trying to change that here, would suggest a followup
change to allow for the use of github teams in other orgs
(like kubernetes-sigs)
2019-03-20 10:55:36 -07:00
Nikhita Raghunath 347f7d07d3 generator: add support for committees
Since committees can have private mailing lists, this commit
also adds a new field for specifying private mailing lists
in the "Contacts" section.
2019-03-15 18:13:12 +05:30
Nikhita Raghunath 1816b3e406 Add support for User Groups in sigs.yaml 2019-02-26 04:08:40 +05:30
Nikhita Raghunath 0905af3507 generator: add support for stakeholder SIGs for WGs 2019-01-16 23:17:44 +05:30
Mike Danese 0ec20e7e32 trim whitespace around sub-project descriptions
so block descriptions look the same as inline descriptions.
2018-11-02 11:37:02 -07:00
Christoph Blecker 8b2a2601fb
Add field to define a link to the SIG's charter 2018-06-14 10:26:39 -07:00
mahuihuang c85bd954c7 fix grammar mistake 2018-04-04 15:44:51 +08:00
Christoph Blecker dd70a35476
Modify generator to support chairs/tech leads 2018-03-14 15:36:25 -07:00
Christoph Blecker d9b419fbff
Add ability to have custom content in OWNERS_ALIASES 2018-02-23 16:30:57 -08:00
Jordan Liggitt 92da9d849f
Update sig-auth leads 2018-02-09 16:41:38 -05:00
Aaron Crickenberger 170a99a651 Add strawman implementation of subprojects
A subproject is a one-to-many mapping of a name to a list of
OWNERS urls.  This allows for a subproject to be a single repo (eg:
helm), or a subproject to be a list of multiple subdirectories across
one or more repos (eg: workloads api)

SIG meetings dedicated to a single subproject moved down to subproject
meetings
2018-02-07 16:11:54 -07:00
Christoph Blecker eea76c9bc0
Case insensitive slice sort 2018-01-24 16:38:43 -08:00
Christoph Blecker 696f1da8a7
Generate OWNERS_ALIASES from sigs.yaml 2018-01-24 16:08:19 -08:00
Christoph Blecker 0686661aed
Modify sig docs generator to handle multiple meetings 2018-01-24 12:07:28 -08:00
Nikhita Raghunath 0ee56cdd88 generator: add google groups for github teams 2018-01-18 16:26:07 +05:30
Christoph Blecker 7f9a5c5376
Use teams array to generate Github Team list 2017-11-26 09:06:48 -08:00
Joe Beda 1cc0e97482
Make time zone explicit 2017-11-06 13:35:52 -08:00
Christoph Blecker c08c4ae2f9
Don't use docker by default for sig docs generator 2017-10-24 23:12:43 -07:00
yuexiao-wang 9eb44a1563 add labels in sig list
Signed-off-by: yuexiao-wang <wang.yuexiao@zte.com.cn>
2017-10-13 10:12:47 +08:00
Kubernetes Submit Queue f0f37f4461 Merge pull request #1127 from cblecker/generator-what
Automatic merge from submit-queue. .

Update generator to use WHAT variable

Having to set two different variables is confusing. Changed this to look at the `WHAT` envvar and match on a suffix.

Fixes #1126.

cc: @jamiehannaford
2017-09-26 13:38:05 -07:00
Matt Farina 0df6cd1758
Fixed spelling error 2017-09-26 10:08:01 -04:00
Christoph Blecker 3047fbcab2
Update generator to use WHAT variable 2017-09-25 12:36:24 -07:00
shashidharatd a94c715488 Add meeting recording links in generator 2017-08-17 04:51:26 +05:30
Jamie Hannaford 2cb3b0f005 Remove duplication 2017-07-14 10:20:04 +02:00