Cockatrice/tests/oracle
Lukas Brübach 77179f913e [Oracle] Load card tags from a tag database during import
Add a TagDatabase loader that understands Scryfall's Oracle Tags bulk data and user-supplied tag files (tag objects, flat oracle-id or name maps, optional manifest, JSON or JSONL, gzip/xz/zip). The importer joins the slugs on identifiers.scryfallOracleId while the identifiers are still available, falls back to the card name, and unions them with any tags the source already provides. Split-card faces merge through the existing tag union path.

This replaces oracle/scripts/inject_scryfall_tags.py, which patched AllPrintings.json before import. Loading during import keeps tags on by default for every source and lets users pair Oracle with any tag database.
2026-11-08 19:59:04 +01:00
..
CMakeLists.txt [Oracle] Load card tags from a tag database during import 2026-11-08 19:59:04 +01:00
oracle_importer_benchmark_test.cpp [CardDB] Drop the rebalanced-cards setting entirely (#7457) 2026-10-09 06:02:47 +02:00
oracle_importer_test.cpp [Oracle] Load card tags from a tag database during import 2026-11-08 19:59:04 +01:00
parse_cipt_test.cpp [Tooling] Apply include-what-you-use across the tree (#7396) 2026-10-08 11:13:50 +02:00
tag_database_test.cpp [Oracle] Load card tags from a tag database during import 2026-11-08 19:59:04 +01:00