fix: surface upstream entries a scraper drops

RomM skipped an unmapped IGDB slug and RetroDECK a second component's
conflicting MD5 with a stderr warning only: the rescrape exited 0, the
rewritten file showed no diff and check_freshness said OK.

An unmapped slug now fails the RomM scrape. A deliberate drop goes in
BaseScraper.dropped, scraper_cli prints it under DROPPED_PREFIX, and the
freshness rescrape reports an otherwise unchanged platform UNKNOWN.
This commit is contained in:
Abdessamad Derraz committed 2026-11-21 19:50:10 +01:00
1 parent 398782a5cd
commit 1b7d30967b
9 files changed
+171 -19

No files matched your search

+4 -1
View File
@@ -117,7 +117,10 @@ SLUG_MAP: dict[str, str] = {
}
```
Warn on unmapped slugs so new systems are surfaced during scraping.
An unmapped slug fails the scrape: skipped, its files would leave the platform
file while the run still exits 0. An entry the platform file cannot carry goes
in `self.dropped` with its reason, and `check_freshness.py` reports the
platform UNKNOWN while one is left out.
### generate_platform_yaml (optional)