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

Starter Code Takes Forever #2358

Closed xieyuxi1107 closed 4 years ago

xieyuxi1107 commented 5 years ago

Likes issues #1759, my starter code takes forever (10 hours and counting) to import too. The classroom is: https://github.com/EECS388-Classroom

To Reproduce Steps to reproduce the behavior:
Go to https://classroom.github.com/a/80TPAyLe wait

Expected behavior The starter code should import, and I should see the starter code in the repository.

screenshot: Screen Shot 2019-09-11 at 9 00 22 AM

d12 commented 5 years ago

:wave: @xieyuxi1107, I see that assignment is using the source importer for starter code. We recently introduced a new beta method of importing source code via template repositories, would you mind giving that a try? It should resolve the timeout issues you're seeing.

To change, you can head to your assignment settings and look for the template repositories radio button under where you would select your starter code repository.

More info about template repositories: https://classroom.github.com/help/using-template-repos-for-assignments

b2550 commented 5 years ago

I am experiencing the same issue as a student. I canceled the import after about 30 minutes of waiting but then there was no starter code so I used the invite link again. Now it is stuck again.

https://github.com/occs364s19/hw1-knn-benoberlin

ggorman commented 4 years ago

We are having the same issue. About half the class have no issues at all. The other half have a hanging import. Really annoying as the import should only contain a 500k README.md!

d12 commented 4 years ago

@ggorman @b2550 I commented earlier about template repo imports, a new setting when creating or editing an assignment. Using this instead of the old porter method will resolve the hanging import issues.