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.
GitHubRepository#create_issue
Public: Add issues to the GitHub repository.
title - The title of the issue.
body - The body of the issue.
options - optional params
:assignee - User login.
:milestone - Milestone number.
:labels - List of comma separated Label names.
Returns the newly created issue, or raises a GitHub::Error.Edit
git clone [email protected]:education/classroom.git
cd classroom
open app/models/github_repository.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-GitHubRepository-create_issue-for-pr
# Commit to gitgit add app/models/github_repository.rbgit commit -m "better docs for GitHubRepository#create_issue"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-GitHubRepository-create_issue-for-pr
hub pull-request
# Celebrate!