mirror of
https://github.com/Abdess/retroarch_system.git
synced 2026-11-27 03:48:52 -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
@@ -27,16 +27,16 @@ class WhichPackRows(unittest.TestCase):
|
||||
release asset: the asset URL dies with its tag."""
|
||||
from sitegen import install
|
||||
from sitegen import whichpack
|
||||
import release_record
|
||||
from model import releaserecord
|
||||
|
||||
record = release_record.load_advertised()
|
||||
record = releaserecord.load_advertised()
|
||||
page = whichpack.generate_which_pack()
|
||||
row = re.compile(r"^\| \[[^\]]+\]\(platforms/([a-z0-9]+)\.md\) \|(.*)$", re.M)
|
||||
get = re.compile(r'href="get/([a-z0-9]+)\.md"')
|
||||
checked = 0
|
||||
for key, rest in row.findall(page):
|
||||
linked = set(get.findall(rest))
|
||||
pack = release_record.pack_for(key, record)
|
||||
pack = releaserecord.pack_for(key, record)
|
||||
with self.subTest(platform=key):
|
||||
self.assertNotIn("/releases/download/", rest)
|
||||
self.assertLessEqual(linked, {key})
|
||||
|
||||
Reference in new issue
Block a user