2
# IVLE staff project export script
3
# ${project.project_set.offering.subject.name} -- ${project.name}
4
# Script current as of ${format_datetime(now)}
5
# Script for IVLE user '${user.login}'
7
# DO NOT EDIT THIS FILE -- IT HAS BEEN AUTOMATICALLY GENERATED
9
# This script exports all submissions to the above project as of the above
10
# date. Running this script will download the submissions from the IVLE server
11
# to your local machine for inspection, marking and testing.
12
# Only the above-named user can successfully run this script.
14
# If you wish to capture any submissions made since the above date, you will
15
# need to re-generate this script from the project page in IVLE.
18
# Make this file executable (chmod +x project-export.sh)
19
# From an empty directory, run the command:
20
# $ ./project-export.sh
22
# Submissions: ${project.latest_submissions.count()}/${project.project_set.assigned.count()}
24
{% if project.latest_submissions.count() == 0 %}# There are no submissions.{% end %}{% if project.latest_submissions.count() > 0 %}# Group Submitter Date
25
{% for submission in project.latest_submissions %}# {% choose submission.assessed.principal is submission.submitter %}{% when True %}-{% end %}{% otherwise %}${submission.assessed.principal.short_name}{% end %}{% end %} ${submission.submitter.short_name} ${submission.date_submitted.strftime("%Y-%m-%d %H:%M:%S")}
26
${submission.get_svn_export_command(req)}