mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-06 01:53:56 -06:00
docs: name the committed files over 50 MB
release-process.md listed tbblue.mmc, removed from bios/ on 2026-10-20, and left out uqm-remix-disc1.uqm. A test now reads the list against git ls-files.
This commit is contained in:
1 parent
71457078e6
commit
e9ecef6896
2 files changed
+23
-3
No files matched your search
@@ -1829,6 +1829,26 @@ class CrossReferenceSettlesBySlotAndSize(unittest.TestCase):
|
||||
self.assertNotIn("appear in the platform config", section)
|
||||
|
||||
|
||||
class CommittedLargeFilesAreTheOnesNamed(unittest.TestCase):
|
||||
"""release-process.md named tbblue.mmc among the committed files over
|
||||
50 MB two weeks after it left bios/, and not uqm-remix-disc1.uqm."""
|
||||
|
||||
def test_the_list_is_the_tree(self):
|
||||
import subprocess
|
||||
|
||||
listed = subprocess.run(["git", "ls-files", "-z", "bios"], cwd=ROOT, capture_output=True,
|
||||
check=True).stdout.decode("utf-8").split("\0")
|
||||
large = sorted(Path(path).name for path in listed
|
||||
if path and (ROOT / path).is_file()
|
||||
and (ROOT / path).stat().st_size > 50_000_000)
|
||||
page = " ".join((ROOT / "wiki" / "release-process.md").read_text(encoding="utf-8").split())
|
||||
said = re.search(r"Size does not decide it: (\w+) committed files are over 50 MB \(([^)]*)\)",
|
||||
page)
|
||||
self.assertIsNotNone(said)
|
||||
self.assertEqual(sorted(re.findall(r"`([^`]+)`", said.group(2))), large)
|
||||
self.assertEqual(said.group(1), {3: "three", 4: "four", 5: "five"}.get(len(large)))
|
||||
|
||||
|
||||
class SkipFlagsNameTheSteps(unittest.TestCase):
|
||||
"""--skip-packs said "add --skip-docs to stop after verify" while 4d and
|
||||
4e still ran, and the flag table left 8b out of --skip-docs."""
|
||||
|
||||
@@ -166,9 +166,9 @@ PR based on changed paths:
|
||||
## Large files management
|
||||
|
||||
Files too large for git are stored as assets on a permanent GitHub release
|
||||
named `large-files`. Size does not decide it: four committed files are over
|
||||
50 MB (`history.xml`, `default-GM.sf3`, `5.avi`, `tbblue.mmc`) and are served
|
||||
from the repository like any other.
|
||||
named `large-files`. Size does not decide it: four committed files are
|
||||
over 50 MB (`history.xml`, `default-GM.sf3`, `5.avi`, `uqm-remix-disc1.uqm`)
|
||||
and are served from the repository like any other.
|
||||
|
||||
Examples: PS3UPDAT.PUP, PSVUPDAT.PUP, PSP2UPDAT.PUP, the DSi NAND images,
|
||||
maclc3.zip, Firmware.19.0.0.zip (Switch), the QEMU EDK2 firmware, the ScummVM
|
||||
|
||||
Reference in new issue
Block a user