mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-29 12:58:51 -06:00
refactor: release, installer_build, devtools pkgs
The release tools, the installer build tools and the repository's commit and PR checks keep their commands and move their code into three packages. The release record readers move to model.releaserecord, romfolders to model, the buildbot check to scraper. The site reads the handheld launchers and the bootstrap pin from installer_build.
This commit is contained in:
1 parent
5b3b3f19e8
commit
c4fdf12874
91 files changed
+3508
-3277
No files matched your search
@@ -6,7 +6,7 @@ import html
|
||||
import re
|
||||
from pathlib import Path
|
||||
|
||||
import release_record
|
||||
from model import releaserecord
|
||||
from sitegen import measurements as sitemeasurements
|
||||
from sitegen.config import SITE_NAME
|
||||
|
||||
@@ -133,7 +133,7 @@ def _section_description(markdown: str, relative: Path, title: str, browser: str
|
||||
"""The description of a download, system, emulator or platform page,
|
||||
or None for a page of another section."""
|
||||
key = relative.as_posix()
|
||||
if key.startswith(f"{release_record.GET_DIR}/"):
|
||||
if key.startswith(f"{releaserecord.GET_DIR}/"):
|
||||
size = re.search(r"^- (.+ to download\b.*?)\.?$", markdown, re.M)
|
||||
if size:
|
||||
return _shorten(f"{title}: the BIOS pack of this setup, {_plain_markdown(size[1])}. "
|
||||
|
||||
Reference in new issue
Block a user