diff --git a/.env.example b/.env.example index 035c78f..ea33025 100644 --- a/.env.example +++ b/.env.example @@ -4,3 +4,4 @@ GITEA_ACCESS_TOKEN=10cdf70f8fe1b7a5d3321e5a10d2d743e4818d4a GITEA_ORG_NAME=VG101 MATTERMOST_TEAM=VG101 MATTERMOST_ACCESS_TOKEN=qjnpxytsgpdnxfbpyhrinzdapl +MATTERMOST_TEACHING_TEAM=["A", "B", "C"] diff --git a/README.md b/README.md index 19b4c68..a363501 100644 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ close all issues and pull requests in gitea organization create channels for student groups according to group information on gitea. Optionally specify a prefix to ignore all repos whose names do not start with it. Optionally specify a suffix to add to all channels created. -Example: `python3 -m joint_teapot create-channels-on-mm --prefix p1 --suffix -private --invite-teaching-team` will fetch all repos whose names start with `"p1"` and create channels on mm for these repos like "p1team1-private". Members of a repo will be added to the corresponding channel. And teaching team (maybe adjust `mattermost_teaching_team` list in `./joint_teapot/config.py`) will be invited to the channels. +Example: `python3 -m joint_teapot create-channels-on-mm --prefix p1 --suffix -private --invite-teaching-team` will fetch all repos whose names start with `"p1"` and create channels on mm for these repos like "p1team1-private". Members of a repo will be added to the corresponding channel. And teaching team (adjust in `.env`) will be invited to the channels. ### `create-issues`