Add gitingest.com to known Git hosts (#134)

This commit is contained in:
Filip Christiansen 2025-01-15 02:14:12 +01:00 committed by GitHub
parent 8137ce1064
commit 0e74d6777f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 7 additions and 0 deletions

View file

@ -17,6 +17,9 @@ async def test_parse_url_valid_https() -> None:
"https://github.com/user/repo",
"https://gitlab.com/user/repo",
"https://bitbucket.org/user/repo",
"https://gitea.com/user/repo",
"https://codeberg.org/user/repo",
"https://gitingest.com/user/repo",
]
for url in test_cases:
result = await _parse_repo_source(url)
@ -34,6 +37,9 @@ async def test_parse_url_valid_http() -> None:
"http://github.com/user/repo",
"http://gitlab.com/user/repo",
"http://bitbucket.org/user/repo",
"http://gitea.com/user/repo",
"http://codeberg.org/user/repo",
"http://gitingest.com/user/repo",
]
for url in test_cases:
result = await _parse_repo_source(url)