feat(ingestion): add first public LBA Serie A importer

This commit is contained in:
bisco
2026-04-11 00:45:33 +02:00
parent 9524c928e2
commit 88ca5cde10
5 changed files with 702 additions and 1 deletions

View File

@ -16,6 +16,7 @@ The current application baseline provides:
- user-scoped plain-text scouting notes on player detail pages
- user-scoped saved searches (save, rerun, delete)
- first real-data ingestion command baseline (`import_hoopdata_demo_competition`) with idempotent source-identity mapping
- first public European importer (`import_lba_public_serie_a`) for LBA Serie A player-stat scope with idempotent external-ID binding
Accepted technical and product-shaping decisions live in:
- `docs/ARCHITECTURE.md`
@ -66,6 +67,12 @@ First real-data importer (ADR-0009 baseline):
- explicit input path import:
`docker compose --env-file .env -f infra/docker-compose.yml exec -T app python manage.py import_hoopdata_demo_competition --input /app/scouting/sample_data/imports/hoopdata_demo_serie_a2_2025_2026.json`
First public European importer (LBA Serie A scope):
- live public-source import (season start year 2025):
`docker compose --env-file .env -f infra/docker-compose.yml exec -T app python manage.py import_lba_public_serie_a --season 2025`
- deterministic local-fixture import:
`docker compose --env-file .env -f infra/docker-compose.yml exec -T app python manage.py import_lba_public_serie_a --season 2025 --fixture /app/scouting/sample_data/imports/lba_public_serie_a_fixture.json`
Legacy shared favorites and notes from the pre-auth MVP are cleared by the early-stage ownership migration so the app can move cleanly to user-scoped data.
## Workflow