classroom
https://github.com/education/classroom
Ruby
GitHub Classroom automates repository creation and access control, making it easy for teachers to distribute starter code and collect assignments on GitHub.
AssignmentRepo#original_user
Public: This method is used for legacy purposes until we can get the transition finally completed NOTE: We used to create one person teams for Assignments, however when the new organization permissions came out https://github.com/blog/2020-improved-organization-permissions we were able to move these students over to being an outside collaborator so when we deleted the AssignmentRepo we would remove the student as well. Returns the User associated with the AssignmentRepo
Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/assignment_repo.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-AssignmentRepo-original_user-for-pr
# Commit to gitgit add app/models/assignment_repo.rbgit commit -m "better docs for AssignmentRepo#original_user"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-AssignmentRepo-original_user-for-pr
hub pull-request
# Celebrate!