Commit d36afda6 authored by Cyril Matthey-Doret's avatar Cyril Matthey-Doret
Browse files

document feedback script in README

parent 984cfbb0
Pipeline #328363 passed with stage
in 2 minutes and 43 seconds
......@@ -81,4 +81,17 @@ usage: `python forks.json clone_dir`
After grading student assignment, the teacher may want to send student groups their grades, as well as positive or critical comments on their solution. This can be automated as well, using the Gitlab issues API. We provide a script to read a csv file containing grades and comments for each student group and open issues in the corresponding repositories automatically.
script: [teach_utils/](teach_utils/
usage: `python ./ forks.json grades.csv`
By default, this script will read grades and comments from `grades.csv` and open an issue for each repository in forks.json. The issue description uses a default template with grades and comments inserted in it. Forks can also be read from stdin, and users can specify a default template. One could also use this script to warn all groups that their fork is public for example:
echo ":warning: Your fork is public, please make it private!" >
./collect_forks \
| jq '.[] | select(.visibility == "public")' \
./ --template grades.csv
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment