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 566 forks source link

Assignment link takes forever to load for some. #2532

Open paulnakroshis opened 4 years ago

paulnakroshis commented 4 years ago

Describe the bug I gave students a link to an assignment today on the first day of my class, and for some students, create a repo and downloaded the assignment quickly, but for others, it seemed to take forever and never completed. I only have 15 students in the course, and this behavior is going to make me abandon github classroom if it persists.

To Reproduce Steps to reproduce the behavior:

  1. create and assignment and give the link to students
  2. for some students, the creating repository and downloading starter code bars won't complete.

Expected behavior I expected that with a second of entering the assignment link, that students would have access to it!

Screenshots

Additional context

d12 commented 4 years ago

Hey @paulnakroshis ! Was your assignment using the template repositories feature? It's a beta feature that resolves all of the slow import problems we've been having. We're working on making it a little easier to use, but for now, you can check out the docs here to learn more: https://classroom.github.com/help/using-template-repos-for-assignments

paulnakroshis commented 4 years ago

My assignments are simple .ipynb files, housed in private individual repos. I have already created several assignments, but after reading your link, I went to GitHub and noticed that the assignments were not in template repositories, so I checked the little "template repository' box. Do you think that this will automatically fix the assignments in Github Classroom which were already linked to the repositories before I checked the template box?

d12 commented 4 years ago

@paulnakroshis It's a two step process, you have to tick the little box in the GitHub repository settings, but also edit the assignment in GitHub Classroom to use the new "beta" template repositories import method. You're looking for this radio button here:

Screen Shot 2020-01-22 at 3 30 37 PM

Once you've done that, you're good to go!