Skip to content

Keeping quiz files in sync

Created by: dtu-compute

Would it be possible to save a copy of the repo quiz in the db, so if someone should delete the repo quiz and then click Update, DTUquiz would notice the repo quiz file is missing and so commit and push it back to the repo? And log the event.

In the case where someone have modified a repo quiz, while or after it have been Visible, it would be great if DTUquiz could detect this and give a warning similar to:

Quiz XXX have been modified after the quiz have been made visible. The changes made to quiz file have no impact. To restore the version of the quiz file which was used when the quiz was made Visible then remove

quiz filename# from the repo, and DTUquiz will restore the correct

version.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information