abcclassroom.feedback.
copy_feedback
Copies feedback reports to local student repositories, commits the changes, and (optionally) pushes to github. Assumes files are in the directory course_materials/feedback/student/assignment. Copies all files in the source directory. This is the command line implementation.
args (string) – Command line argument for the copy_feedback function. Options include: assignment: Assignment name
github (boolean (default = False)) – If true, or –github used, push to GitHub. Otherwise only commit the change
scrub (boolean (default = False)) – If true (exists), remove hidden tests from the html output before moving it to the student directory
Moves feedback html files from the student feedback directory to the
cloned_repos directory. Will commit to git and if push_to_github
push_to_github
is True, it will also run git push.
True
git push
copy_feedback_files
Copies feedback reports to local student repositories, commits the changes, and (optionally) pushes to github. Assumes files are in the directory course_materials/feedback/student/assignment. Copies all files in the source directory.
assignment_name (string) – Name of the assignment for which feedback is being processed.
push_to_github (boolean (default = False)) – True if you want to automagically push feedback to GitHub after committing changes
scrub (boolean) – If true, and we are moving an html file this will clean the html file before copying it over.