Skip to content

Commit 31c695d

Browse files
add codeberg.org to supported git hosts
1 parent cd1b14e commit 31c695d

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

src/gitingest/query_parser.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
"gitlab.com",
2121
"bitbucket.org",
2222
"gitea.com",
23+
"codeberg.org",
2324
]
2425

2526

tests/query_parser/test_git_host_agnostic.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,16 @@
4848
"xorm",
4949
"https://gitea.com/xorm/xorm",
5050
),
51+
(
52+
[
53+
"https://codeberg.org/forgejo/forgejo",
54+
"codeberg.org/forgejo/forgejo",
55+
"forgejo/forgejo",
56+
],
57+
"forgejo",
58+
"forgejo",
59+
"https://codeberg.org/forgejo/forgejo",
60+
),
5161
],
5262
)
5363
@pytest.mark.asyncio

0 commit comments

Comments
 (0)