github-education-resources / classroom

GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
https://classroom.github.com
1.34k stars 570 forks source link

"update students" results in many duplicate students #2538

Closed amueller closed 4 years ago

amueller commented 4 years ago

I tried to update my roster after more students enrolled. I click on "update students" and pasted all the enrolled students. That created duplicate accounts for all the existing students. I assumed it would not recreate existing accounts. Now I have to manually delete 150 accounts.

d12 commented 4 years ago

@amueller :wave: That's quite annoying, we'll keep this issue open to track getting this bug fixed up.

For now, I can look into cleaning up the roster for you. If you can give me specific criteria, I can clean that up.

amueller commented 4 years ago

@d12 that would be great. It's all those ending with "-1" the classroom is 60368672-appliedml2020-classroom-1

amueller commented 4 years ago

I have done like half of it but if you can do the rest with a database query that would be sweet!

d12 commented 4 years ago

Give me 5 min :)

d12 commented 4 years ago

Done! And sorry for the trouble, this issue will be updated when we've made fixes.

amueller commented 4 years ago

Thank you so much!