Skip to content
This repository has been archived by the owner on Feb 5, 2018. It is now read-only.

Multiple Groups #108

Open
univienna-vda opened this issue Mar 4, 2015 · 8 comments
Open

Multiple Groups #108

univienna-vda opened this issue Mar 4, 2015 · 8 comments

Comments

@univienna-vda
Copy link

Hi,

I was able to use the teachers_pet toll to create "students" and "groups".
My students file looks like:

StudentName1
StudentName2
StudentName3
team1 StudentName1 StudentName2 StudentName3

Ok, how can I create more students (StudentName4, StudentName6) and teams (team2) ?
Do I have to create a new students file? Or eyerything in one file?

@univienna-vda
Copy link
Author

I tried like this:
StudentName1
StudentName2
StudentName3
team1 StudentName1 StudentName2 StudentName3
StudentName4
StudentName5
StudentName6
team2 StudentName4 StudentName5 StudentName6

But that was not working out...

@tarebyte
Copy link
Member

tarebyte commented Mar 4, 2015

Hi @PatrickWolfVDA I have my students organized into a couple of different formats.
I have files for teams, files for students, and files for different sections of students.

For example I have an all_student_teams file that looks like this:
team1 studentname1 studentname2 studentname3
team2 studentname4 studentname5 studentname6

I have a file for all_students which is just:
studentname1
studentname2
studentname3
...

@VDAStudent2
Copy link

Hi @tarebyte,

thanks first. Ok, that sound intuitive for me. Would it than work like:

  1. use the create_student_team command with the all_students file
  2. use the teachers_pet add_to_team command with the all_students_team.csv file

@tarebyte
Copy link
Member

tarebyte commented Mar 4, 2015

Not quite, let's make this into an example.

Let's assume the method of sandboxing that I want is that there are multiple student teams with several members per team.

My all_student_teams file looks like this:

team1 studentname1 studentname2 studentname3
team2 studentname4 studentname5 studentname6
# more teams etc

I want to invite the students to my organization (my-classroom-org) AND separate them into teams, I would use the create_student_teams command

teachers_pet create_student_teams --organization my-classroom-org --students all_student_teams

Now if I want to add members to my team, I can just add them to my all_student_teams file and then rerun the command above.

Does that make sense @VDAStudent2?

Side Note
The method I'm using requires that you have the TEACHERS_PET_GITHUB_TOKEN setup in your ENV.

@VDAStudent2
Copy link

Hi @tarebyte,

yes that looks good. I guess i will try the following:

  1. all_students_team to create the team structure
  2. a file (single_students) which just contains: Studen1, Student2, ... to create individual accounts
  3. teachers_pet create_repos with all_student_teams/single_student to create the repos

Thank's for helping and I write how it works.

By the way: How to create the syntax highlighting in here :)

@tarebyte
Copy link
Member

tarebyte commented Mar 4, 2015

@univienna-vda
Copy link
Author

@tarebyte !

I was able to do it. Tank's for yout great help.
I created a "students file" with both - names and groups.

@tarebyte
Copy link
Member

tarebyte commented Mar 5, 2015

Wonderful! I'm glad I was able to help 😺

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants