Skip to content

Commit

Permalink
set mm teaching team in .env
Browse files Browse the repository at this point in the history
  • Loading branch information
serkini committed Sep 27, 2023
1 parent 956ab17 commit 607fd18
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -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"]
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

Expand Down

0 comments on commit 607fd18

Please sign in to comment.