Files
romm/backend
Ryan Wendell 45c934bd45 fix: Export HLTB and RetroAchievements extras in Pegasus metadata (#5825)
* Export HLTB and RetroAchievements extras in Pegasus metadata

* fix(pegasus): address Greptile review on HLTB/RA export

Skip malformed hltb_metadata and achievement values instead of failing
the export, emit x-ra-id whenever the ROM has one, shorten the comment,
and rename the loop variable that shadowed dataclasses.field (ruff F402).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: code-review

Drop stale x-hltb-*/x-ra-* keys when merging into an existing metadata
file, count only well-formed achievements, and skip boolean HLTB values.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: prose

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* pr-ready: prose (code-review additions)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

* fix(roms): drop the old RA metadata when a manual rematch misses

Changing ra_id to a game RetroAchievements cannot resolve kept the new id
but the previous game's achievements, genres and companies, so exports
paired the new id with the old totals.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

---------

Co-authored-by: rwendell <rwendell@users.noreply.github.com>
Co-authored-by: Georges-Antoine Assi <contact@me.gantoine.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
2026-12-02 08:11:30 -05:00
..
2024-02-10 12:43:39 -05:00