You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Unikraft OSS community makes heavy use of Discord for communication and coordination. This issue tracks additional logic to synchronize the state of this governance repository with our Discord server.
The governance repository acts as a source of truth for the list of maintainers, reviewers and Special Interest Group (SIG) members and therefore the permissions members of the community have in manipulating resources on in our ecosystem, which at this time is namely GitHub. Since all members of every SIG work and coordinate using Discord, we should make additional modifications to the governctl program to synchronize both members and permissions to reflect the state of the community. The aim here is to automate repetitive tasks that maintainers are experiencing.
Create an additional helper file, apis/discord/discord.go which exposes the constructor NewDiscordClient. Methods attached to the returned DiscordClient struct shall accept bespoke attributes necessary for manipulating the aforementioned work items;
Rename the Sync method for the Teams struct to SyncGitHub and introduce a new method SyncDiscord which iterates over each team ("SIG"), and makes relevant API calls to add, remove, edit, etc. users identified by their Discord username. See above work items.
Populate each "user" attribute (maintainers, reviewers and members) in the teams/ directory with their Discord handle, e.g.:
- name: Alexander Jung
github: nderjung
+ discord: nderjung#4353
introduce separate CLI commands for each task, e.g. governctl sync-discord-channels
The text was updated successfully, but these errors were encountered:
The Unikraft OSS community makes heavy use of Discord for communication and coordination. This issue tracks additional logic to synchronize the state of this governance repository with our Discord server.
The governance repository acts as a source of truth for the list of maintainers, reviewers and Special Interest Group (SIG) members and therefore the permissions members of the community have in manipulating resources on in our ecosystem, which at this time is namely GitHub. Since all members of every SIG work and coordinate using Discord, we should make additional modifications to the
governctl
program to synchronize both members and permissions to reflect the state of the community. The aim here is to automate repetitive tasks that maintainers are experiencing.Itemized tasks
DiscordClient
API utility #20maintainer
role #15reviewer
role #16contributor
role #17Implementation
apis/discord/discord.go
which exposes the constructorNewDiscordClient
. Methods attached to the returnedDiscordClient struct
shall accept bespoke attributes necessary for manipulating the aforementioned work items;Sync
method for theTeams struct
toSyncGitHub
and introduce a new methodSyncDiscord
which iterates over each team ("SIG"), and makes relevant API calls to add, remove, edit, etc. users identified by theirDiscord
username. See above work items.user
" attribute (maintainers, reviewers and members) in theteams/
directory with their Discord handle, e.g.:- name: Alexander Jung github: nderjung + discord: nderjung#4353
governctl sync-discord-channels
The text was updated successfully, but these errors were encountered: