Files
mtgonline/state.json
T
akadmin 3fae593a22 Fix MTGJSON download: use .json files, remove gzip unpacking
- Changed REQUIRED_FILES to REQUIRED_JSON_FILES and REQUIRED_ZIP_FILES
- AllSetFiles.zip kept as zip (only available compressed on MTGJSON)
- All other files downloaded as .json (no compression)
- Removed gzip import and unpacking logic for .gz files
- Updated EXPECTED_MIN_SIZES to reflect actual .json file sizes
- Removed validation for non-existent files
2026-07-20 13:59:45 +00:00

28 lines
1.1 KiB
JSON

{
"task_description": "Update MTGJSON data manager to download .json files instead of .json.gz files, remove unnecessary unpacking logic",
"current_step": "Docker image rebuilt with updated code",
"files_created": [
"backend/app/services/mtgjson_manager.py"
],
"files_modified": [
"backend/app/services/mtgjson_manager.py"
],
"decisions": [
"Changed REQUIRED_FILES to REQUIRED_JSON_FILES and REQUIRED_ZIP_FILES",
"AllSetFiles.zip kept as zip (only available compressed on MTGJSON API)",
"All other files downloaded as .json (no compression)",
"Removed gzip import and unpacking logic for .gz files",
"Updated EXPECTED_MIN_SIZES to reflect actual .json file sizes (500MB+ for large files)",
"Removed validation for non-existent files (MagicSets.json, MagicRoots.json, SetTranslations.json)"
],
"next_steps": [
"Restart Docker container with new image",
"Run data refresh to verify download and upsert work correctly",
"Monitor logs for any issues",
"Verify database has correct data"
],
"blockers": [],
"commit_hash": "",
"timestamp": "2026-07-20T13:52:00Z"
}