Team Formation - GitHubClassroomTestCMPUT229/manager GitHub Wiki
The manager supports the formation of teams on GitHub.
-t
File structure:
- class/
- class.txt
- teams.txt
- class.txt:
- Format: <member>\n...<member>\n
- teams.txt:
- Format: team:\n<member>\n...\nteam:\n...
classroom_manager.py <some_flags> -t <some_other_flags>
- The manager first parses the teams and class files to determine which students are on which teams.
- The team definitions are stored locally as "team-defs.json" in the class/ directory.
- Then it iterates over the teams, assigning them unique IDs within the organization and creates teams on GitHub.
- Finally, it creates "team-defs.csv" which stores a team,team-member pair on each line.
<ID1>
<ID2>
...
<IDn>
team:
<IDk>
...
<IDk+x>
team:
<IDm>
...
<IDm+y>
- Teams may be of variable length.
- Teams may contain members of other teams.
- Team members are listed in no particular order within the team file.
- Students not members of any team default to being members of their own individual teams.