wikiedudashboard

https://github.com/wikieducationfoundation/wikiedudashboard

Ruby

Wiki Education Foundation's Wikipedia course dashboard system

WikiCourseEdits#update_assignments

Updates the assignment template for every Assignment for the course.
Usually, this is done incrementally so that a call to this method will only
update the assignments that were changed in the action that triggered it.
However, if some previous edits failed, or some assignment templates got
removed or edited in the meantime, then this will also result in updates
that are not directly related to whatever triggered this update. The idea
is to use this for each assignment update to ensure that on-wiki assignment
templates remain accurate and up-to-date.

Source | Google | Stack overflow

Edit

git clone [email protected]:wikieducationfoundation/wikiedudashboard.git

cd wikiedudashboard

open lib/wiki_course_edits.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-WikiCourseEdits-update_assignments-for-pr


# Commit to git

git add lib/wiki_course_edits.rbgit commit -m "better docs for WikiCourseEdits#update_assignments"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-WikiCourseEdits-update_assignments-for-pr

hub pull-request


# Celebrate!