{"id":20607711,"url":"https://github.com/open-feature/community-tooling","last_synced_at":"2025-04-15T04:02:19.512Z","repository":{"id":148943979,"uuid":"620455814","full_name":"open-feature/community-tooling","owner":"open-feature","description":"Tools for Community Management","archived":false,"fork":false,"pushed_at":"2025-04-09T17:10:02.000Z","size":203,"stargazers_count":4,"open_issues_count":3,"forks_count":2,"subscribers_count":12,"default_branch":"main","last_synced_at":"2025-04-09T18:26:45.251Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://openfeature.dev","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/open-feature.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":"CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-03-28T18:04:58.000Z","updated_at":"2025-04-08T22:18:43.000Z","dependencies_parsed_at":"2024-02-26T04:32:27.965Z","dependency_job_id":"db9fff1b-d5d7-4eb9-b9b7-9c9dbb7d8692","html_url":"https://github.com/open-feature/community-tooling","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-feature%2Fcommunity-tooling","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-feature%2Fcommunity-tooling/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-feature%2Fcommunity-tooling/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/open-feature%2Fcommunity-tooling/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/open-feature","download_url":"https://codeload.github.com/open-feature/community-tooling/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249003952,"owners_count":21196793,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-16T10:08:22.922Z","updated_at":"2025-04-15T04:02:19.481Z","avatar_url":"https://github.com/open-feature.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Community Tooling\n\nThis repository contains tools to handle our community, like our peribolos-config-merger.\n\n## Releasing\n\nCreate a GitHub Release with a tag in the format of `v\u003cmajor\u003e.\u003cminor\u003e.\u003cpatch\u003e` and this will trigger the automatic releasing process.\n\n## Tools\n\n### Peribolos config merger\n\nThe merger contains our custom generation logic for the peribolos configuration.\n\nWithin the `config` directory, we are storing our configurations.\n(this can be overwritten with a config flag (`--config`) when executed).\n\n#### Configuration Structure\n\nEach directory within the `config` directory represents a GitHub Organization (therefore we will refrain from it as `org-folder`).\nThis directory will only be picked up when there is a `org.yaml` within the directory.\n\nWithin this `org-folder` we can have multiple teams/workgroups.\nThose teams are represented with their subfolder (the name of the team) containing a `workgroup.yaml`.\n\nThe merger will fetch these configurations and generate a proper peribolos configuration based on this.\n\n##### org.yaml\n\nThe `org.yaml` follows the default peribolos configuration format.\n\nIt will be used to:\n\n- define members and admins of the organization\n- define default settings for the organization such as:\n  - members allowed to create repositories\n  - default permissions for members\n  - ...\n- repositories and their configuration\n- global teams\n\n###### special teams\n\nThere are 3 special teams within the `org.yaml`.\n\n##### \u0026lt;workgroup\u0026gt;/workgroup.yaml\n\nEach workgroup represents an organizational unit, which needs to work on the same repositories.\n\nA workgroup consists of following roles:\n\n- approvers (triage permission)\n- maintainers (maintain permission)\n- admins (admin permission)\n\nBased on the definition above a `workgroup.yaml` has the following structure:\n\n```yaml\nrepos: # a list of repositories the team has access to\n  - repo-1\n  - repo-2\n\napprovers:\n  - approver-1\n\nmaintainers:\n  - maintainer-1\n\nadmins:\n  - admins-1\n```\n\nRepositories are not mutually exclusive to workgroups.\nHence, multiple workgroups can have access to the same repositories.\n\n\u003e **Note**\n\u003e Use admins carefully and only when it is really needed.\n\u003e Admins can change secrets etc.\n\nBased on this configuration we will generate 3 teams:\n\n- \u0026lt;workgroup\u0026gt;-approvers\n- \u0026lt;workgroup\u0026gt;-maintainers\n- \u0026lt;workgroup\u0026gt;-admins\n\nFurthermore, we will assign those 3 teams also permissions for the defined repositories.\n\n##### Example\n\nLet's say we have a `workgroup.yaml` within `org-folder/workgroup`.\n\nThe content is:\n\n```yaml\nrepos:\n  - repo-1\n\napprovers:\n  - approver-1\n\nmaintainers:\n  - maintainer-1\n\nadmins:\n  - admins-1\n```\n\nFollowing Teams will be generated, with the respective permissions for the repository `repo-1`:\n\n- workgroup-approvers: triage\n- workgroup-maintainers: maintain\n- workgroup-admins: admin\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-feature%2Fcommunity-tooling","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopen-feature%2Fcommunity-tooling","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopen-feature%2Fcommunity-tooling/lists"}