Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Synchronize with Discord #12

Open
8 tasks
nderjung opened this issue Nov 25, 2022 · 0 comments
Open
8 tasks

Synchronize with Discord #12

nderjung opened this issue Nov 25, 2022 · 0 comments
Labels
discord enhancement New feature or request

Comments

@nderjung
Copy link
Member

nderjung commented Nov 25, 2022

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

Implementation

  1. 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;
  2. 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.
  3. 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
  4. introduce separate CLI commands for each task, e.g. governctl sync-discord-channels
@nderjung nderjung added enhancement New feature or request discord labels Nov 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discord enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant