fix: scrape targets at the pinned platform release

This commit is contained in:
Abdessamad Derraz committed 2026-10-18 00:01:36 +02:00
1 parent cdab4e7808
commit 27d119cb7f
7 files changed
+70 -17

No files matched your search

+3 -2
View File
@@ -199,8 +199,9 @@ def board_cores(text: str, board: str, enabled: set[str]) -> set[str]:
class Scraper(BaseScraper):
"""Scraper for Recalbox es_bios.xml."""
def __init__(self):
self.tag = _fetch_gitlab_stable_tag()
def __init__(self, tag: str | None = None):
# A target scraper passes the tag platforms/recalbox.yml pins.
self.tag = tag or _fetch_gitlab_stable_tag()
super().__init__(url=SOURCE_URL.format(tag=self.tag))
def _system_inis(self, systems: list[str]) -> list[str]: