Closed justaugustus closed 1 year ago
Signed-off-by: Stephen Augustus foo@auggie.dev
This gets the configs into a similar structure as https://github.com/kubernetes/org/tree/main/config, namely:
config/{org1,org2}/org.yaml
config/org1/{group1,group2}/teams.yaml
Here's what that looks like:
❯ ./admin/update.sh --github-token-path ~/.github-token --confirm
+++ dirname ./admin/update.sh ++ cd ./admin/.. ++ pwd -P + REPO_ROOT=/Users/augustus/prj/uwu-tools/peribolos + readonly REPO_ROOT + admins=('auggie-bot' 'cpanato' 'justaugustus') + readonly admins + readonly min_admins=3 + min_admins=3 + readonly config_path=config + config_path=config + cd /Users/augustus/prj/uwu-tools/peribolos + make update-prep go build -v -o /Users/augustus/prj/uwu-tools/peribolos/_output/bin/peribolos github.com/uwu-tools/peribolos + cmd=/Users/augustus/prj/uwu-tools/peribolos/_output/bin/peribolos + args=(--config-path="$config_path" --fix-org --fix-org-members --fix-teams --fix-team-members --fix-team-repos --min-admins="$min_admins" "${admins[@]/#/--required-admins=}") + /Users/augustus/prj/uwu-tools/peribolos/_output/bin/peribolos --config-path=config --fix-org --fix-org-members --fix-teams --fix-team-members --fix-team-repos --min-admins=3 --required-admins=auggie-bot --required-admins=cpanato --required-admins=justaugustus --github-token-path /Users/augustus/.github-token --confirm {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"Throttle(300, 100, *)","severity":"info","time":"2023-02-02T13:47:34-05:00"} {"component":"unset","file":"/Users/augustus/prj/uwu-tools/peribolos/cmd/main.go:114","func":"github.com/uwu-tools/peribolos/cmd.rootCmd","level":"info","msg":"Adding config for org: relengfam","severity":"info","time":"2023-02-02T13:47:34-05:00"} {"component":"unset","file":"/Users/augustus/prj/uwu-tools/peribolos/cmd/main.go:114","func":"github.com/uwu-tools/peribolos/cmd.rootCmd","level":"info","msg":"Adding config for org: uwu-tools","severity":"info","time":"2023-02-02T13:47:34-05:00"} orgs: relengfam: admins: - auggie-bot - cpanato - justaugustus billing_email: fake@example.com company: "" default_repository_permission: read description: "" email: "" has_organization_projects: true has_repository_projects: true location: "" members_can_create_repositories: true name: "" uwu-tools: admins: - auggie-bot - cpanato - justaugustus - sethmccombs billing_email: foo@auggie.dev company: "" default_repository_permission: read description: "" email: "" has_organization_projects: true has_repository_projects: true location: "" members: - detiber members_can_create_repositories: true name: "" teams: gh-jira-issue-sync-admins: description: "" maintainers: - justaugustus members: - detiber privacy: closed repos: gh-jira-issue-sync: admin gh-jira-issue-sync-maintainers: description: "" maintainers: - justaugustus members: - detiber privacy: closed repos: gh-jira-issue-sync: maintain peribolos-admins: description: "" maintainers: - justaugustus - cpanato members: - detiber privacy: closed repos: peribolos: admin peribolos-maintainers: description: "" maintainers: - justaugustus - cpanato members: - detiber privacy: closed repos: peribolos: maintain {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetOrg(relengfam)","severity":"info","time":"2023-02-02T13:47:34-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:34-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgInvitations(relengfam)","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"User()","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgMembers(relengfam, admin)","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgMembers(relengfam, member)","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:35-05:00"} {"component":"unset","file":"/Users/augustus/prj/uwu-tools/peribolos/org/org.go:52","func":"github.com/uwu-tools/peribolos/org.Configure","level":"info","msg":"Skipping org repositories configuration","severity":"info","time":"2023-02-02T13:47:36-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeams(relengfam)","severity":"info","time":"2023-02-02T13:47:36-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:36-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"GetOrg(uwu-tools)","severity":"info","time":"2023-02-02T13:47:36-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:36-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgInvitations(uwu-tools)","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgMembers(uwu-tools, admin)","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListOrgMembers(uwu-tools, member)","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:37-05:00"} {"component":"unset","file":"/Users/augustus/prj/uwu-tools/peribolos/org/org.go:52","func":"github.com/uwu-tools/peribolos/org.Configure","level":"info","msg":"Skipping org repositories configuration","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeams(uwu-tools)","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, gh-jira-issue-sync-admins, member)","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, gh-jira-issue-sync-admins, maintainer)","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:38-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamInvitationsBySlug(uwu-tools, gh-jira-issue-sync-admins)","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamReposBySlug(uwu-tools, gh-jira-issue-sync-admins)","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, gh-jira-issue-sync-maintainers, member)","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, gh-jira-issue-sync-maintainers, maintainer)","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:39-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamInvitationsBySlug(uwu-tools, gh-jira-issue-sync-maintainers)","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamReposBySlug(uwu-tools, gh-jira-issue-sync-maintainers)","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, peribolos-admins, member)","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, peribolos-admins, maintainer)","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:40-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamInvitationsBySlug(uwu-tools, peribolos-admins)","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamReposBySlug(uwu-tools, peribolos-admins)","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, peribolos-maintainers, member)","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamMembersBySlug(uwu-tools, peribolos-maintainers, maintainer)","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:41-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamInvitationsBySlug(uwu-tools, peribolos-maintainers)","severity":"info","time":"2023-02-02T13:47:42-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:42-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:918","func":"k8s.io/test-infra/prow/github.(*client).log","level":"info","msg":"ListTeamReposBySlug(uwu-tools, peribolos-maintainers)","severity":"info","time":"2023-02-02T13:47:42-05:00"} {"client":"github","component":"unset","file":"/Users/augustus/go/pkg/mod/k8s.io/test-infra@v0.0.0-20230130201249-27b8435f1305/prow/github/client.go:1191","func":"k8s.io/test-infra/prow/github.(*client).doRequest","level":"info","msg":"Using GitHub REST API Version: 2022-11-28","severity":"info","time":"2023-02-02T13:47:42-05:00"} {"component":"unset","file":"/Users/augustus/prj/uwu-tools/peribolos/cmd/main.go:142","func":"github.com/uwu-tools/peribolos/cmd.rootCmd","level":"info","msg":"Finished syncing configuration.","severity":"info","time":"2023-02-02T13:47:42-05:00"}
Signed-off-by: Stephen Augustus foo@auggie.dev
This gets the configs into a similar structure as https://github.com/kubernetes/org/tree/main/config, namely:
config/{org1,org2}/org.yaml
config/org1/{group1,group2}/teams.yaml
Here's what that looks like: