feat: read libretro gitlab and mark unchecked refs

This commit is contained in:
Abdessamad Derraz committed 2026-10-04 16:36:00 +02:00
1 parent 1a993edc0d
commit 17cecbf186
4 files changed
+177 -19

No files matched your search

+6
View File
@@ -53,6 +53,12 @@ class TestParseRepo(unittest.TestCase):
repo = parse_repo("https://gitlab.com/recalbox/recalbox")
self.assertEqual(repo.family, "gitlab")
def test_libretro_gitlab_is_a_gitlab(self):
repo = parse_repo("https://git.libretro.com/libretro/wqxemu.git")
self.assertEqual(repo.family, "gitlab")
self.assertEqual(repo.api_base, "https://git.libretro.com/api/v4")
self.assertEqual(repo.slug, "libretro/wqxemu")
def test_codeberg_is_forgejo(self):
self.assertEqual(parse_repo("https://codeberg.org/a/b").family, "forgejo")