Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions courses/BotanicalGardens/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"title": "BotanicalGardens",
"author": "ReeseHatfield",
"category": [
"Science"
],
"last_updated": "2025-11-26T21:41:51.195600391Z",
"color": "#008000"
"color": "#008000",
"tags": [
"Science"
]
}
10 changes: 5 additions & 5 deletions courses/CategoryTheory/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"title": "CategoryTheory",
"author": "ReeseHatfield",
"category": [
"last_updated": "2025-07-11T20:06:49.100163429Z",
"color": "#4287f5",
"tags": [
"ComputerScience",
"Mathematics"
],
"last_updated": "2025-07-11T20:06:49.100163429Z",
"color" : "#4287f5"
}
]
}
11 changes: 5 additions & 6 deletions courses/Compilers/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"title": "Compilers",
"author": "ReeseHatfield",
"category": [
"ComputerScience"
],
"last_updated": "2025-07-11T02:52:41.385842008Z",
"color" : "#4287f5"

}
"color": "#4287f5",
"tags": [
"ComputerScience"
]
}
7 changes: 3 additions & 4 deletions courses/German-101/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"title": "German-101",
"author": "Blake Payne",
"category": [],
"last_updated": "2025-07-09T20:47:03.317223199Z",
"color" : "#4287f5"

}
"color": "#4287f5",
"tags": []
}
11 changes: 5 additions & 6 deletions courses/ImSittingAtAWinansAndAmGoingInsane/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
{
"title": "ImSittingAtAWinansAndAmGoingInsane",
"author": "ReeseHatfield",
"category": [
"last_updated": "2025-07-08T23:13:41.293932232Z",
"color": "#4287f5",
"tags": [
"ComputerScience",
"Engineering"
],
"last_updated": "2025-07-08T23:13:41.293932232Z",
"color" : "#4287f5"

}
]
}
8 changes: 4 additions & 4 deletions courses/IntroToRust/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"title": "IntroToRust",
"author": "ReeseHatfield",
"category": [
"ComputerScience"
],
"last_updated": "2025-11-12T14:52:18.608425697Z",
"color": "#FFA500"
"color": "#FFA500",
"tags": [
"ComputerScience"
]
}
11 changes: 5 additions & 6 deletions courses/PlasticsAndTheirUses/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
{
"title": "PlasticsAndTheirUses",
"author": "ReeseHatfield",
"category": [
"ComputerScience"
],
"last_updated": "2025-07-09T00:10:12.009530562Z",
"color" : "#4287f5"

}
"color": "#4287f5",
"tags": [
"ComputerScience"
]
}
8 changes: 4 additions & 4 deletions courses/Puzzles/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"title": "Puzzles",
"author": "ReeseHatfield",
"category": [
"Aerospace"
],
"last_updated": "2025-11-26T21:54:33.483747297Z",
"color": "#000000"
"color": "#000000",
"tags": [
"Aerospace"
]
}
8 changes: 4 additions & 4 deletions courses/RaspberryPis101/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"title": "RaspberryPis101",
"author": "ReeseHatfield",
"category": [
"last_updated": "2025-11-26T21:26:29.767286520Z",
"color": "#FF0000",
"tags": [
"ComputerScience",
"Engineering"
],
"last_updated": "2025-11-26T21:26:29.767286520Z",
"color": "#FF0000"
]
}
10 changes: 5 additions & 5 deletions courses/TouchingGrass/oseda-config.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"title": "TouchingGrass",
"author": "ReeseHatfield",
"category": [
"ComputerScience"
],
"last_updated": "2025-07-08T23:35:13.890968259Z",
"color" : "#4287f5"
}
"color": "#4287f5",
"tags": [
"ComputerScience"
]
}
14 changes: 14 additions & 0 deletions migrations/categories_to_tags.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/python3

import json, glob
from pathlib import Path

# run me from top level oseda-lib dir
for course in Path("./courses").iterdir():
oseda_conf_file = f"{course}/oseda-config.json"

j = json.load(open(oseda_conf_file))
j['tags'] = j.pop('category')
json.dump(j, open(oseda_conf_file,'w'), indent=2)


Loading