Hi @Hal_Riggs. Yes. The approach is to use Tutor’s plugin system instead of modifying the configs directly. Your changes will likely revert back the next time you run
quickstart
, such as when you upgrade.
The plugin would look like this:
from tutor import hooks
hooks.Filters.ENV_PATCHES.add_item(
(
"common-env-features",
"""
"ENABLE_SPECIAL_EXAMS": true
"""
)
)
Here is how you would enable it:
mkdir -p "$(tutor plugins printroot)"
touch "$(tutor plugins printroot)/timed_exam.py"
# Add the contents, list and then enable
tutor plugins list
tutor plugins enable timed_exam
# Re-generate the environment
tutor config save
# Restart to apply the changes
tutor local stop && tutor local start -d
Reference sites:
https://docs.tutor.overhang.io/tutorials/plugin.html