It appears that some plugins make all their changes to files in ~/.local/share/tutor/* when you do the adding, via for example tutor plugins enable forum. I added the directory to git to see exactly what was changing but noticed that as I was adding further plugins, it was actually updating files/config for the PREVIOUS plugin also. So, for example, tutor plugins enable notes makes a whole lot of additions and changes. I commit these. If I then do a tutor config save, I see the following (this is throwaway, so I don’t care about the secrets):
diff --git a/config.yml b/config.yml
index 2bfe5c7..200da75 100644
--- a/config.yml
+++ b/config.yml
@@ -57,6 +57,9 @@ MEILISEARCH_API_KEY: f143998854db360fd9b72aa1cc2245e630f1c905f44b32a3638a22c8713
MEILISEARCH_API_KEY_UID: 658e342a-9501-4a36-aede-32086d3e24db
MEILISEARCH_MASTER_KEY: BuHbXFkJ04BbJ2bPlItwQZOw
MYSQL_ROOT_PASSWORD: I2Knf8ao
+NOTES_MYSQL_PASSWORD: h9Pj5pAE
+NOTES_OAUTH2_SECRET: KxaJKUXVMAw9WSiTHPlyxtjX
+NOTES_SECRET_KEY: zATBhYvpN9JSuWalNWcoWjzR
OPENEDX_MYSQL_PASSWORD: B1eEkHU1
OPENEDX_SECRET_KEY: Fz8XqzcCS13QVVuevlO3LDuz
PLUGINS:
diff --git a/env/plugins/notes/apps/settings/tutor.py b/env/plugins/notes/apps/settings/tutor.py
index 96eef87..64694ce 100644
--- a/env/plugins/notes/apps/settings/tutor.py
+++ b/env/plugins/notes/apps/settings/tutor.py
@@ -1,6 +1,6 @@
from .common import *
-SECRET_KEY = "lmxzr17Ji5Mebe1lWAhXffIg"
+SECRET_KEY = "zATBhYvpN9JSuWalNWcoWjzR"
ALLOWED_HOSTS = [
"notes",
"notes.www.myopenedx.com",
@@ -14,7 +14,7 @@ DATABASES = {
"PORT": 3306,
"NAME": "notes",
"USER": "notes",
- "PASSWORD": "3XsM57P2",
+ "PASSWORD": "h9Pj5pAE",
"OPTIONS": {
"init_command": "SET sql_mode='STRICT_TRANS_TABLES'",
},
@@ -22,7 +22,7 @@ DATABASES = {
}
CLIENT_ID = "notes"
-CLIENT_SECRET = "fcMCiisDo1d6hi8cGW5vVgnZ"
+CLIENT_SECRET = "KxaJKUXVMAw9WSiTHPlyxtjX"
# Meilisearch credentials
ES_DISABLED = True
(END)
Is that expected?