Skip to content

Commit

Permalink
add codeberg.org to supported git hosts
Browse files Browse the repository at this point in the history
  • Loading branch information
filipchristiansen committed Jan 11, 2025
1 parent cd1b14e commit 31c695d
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/gitingest/query_parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
"gitlab.com",
"bitbucket.org",
"gitea.com",
"codeberg.org",
]


Expand Down
10 changes: 10 additions & 0 deletions tests/query_parser/test_git_host_agnostic.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,16 @@
"xorm",
"https://gitea.com/xorm/xorm",
),
(
[
"https://codeberg.org/forgejo/forgejo",
"codeberg.org/forgejo/forgejo",
"forgejo/forgejo",
],
"forgejo",
"forgejo",
"https://codeberg.org/forgejo/forgejo",
),
],
)
@pytest.mark.asyncio
Expand Down

0 comments on commit 31c695d

Please sign in to comment.