bug: gitingest breaks for nested Gitlab repos
Unlike GitHub, GitLab can have repos nested under multiple organisations / groups, e.g.
https://gitlab.com/my-org/my-parent-group/my-group/my-repo
Gitingest is incorrectly inferring that the repo is:
https://gitlab.com/my-org/my-parent-group/
Which causes it to fail to pull the repository:
.venv/lib/python3.13/site-packages/gitingest/query_parsing.py:253: RuntimeWarning: Warning: Failed to fetch branch list: Command failed: git ls-remote --heads https://gitlab.com/my-org/my-parent-group
This is with gitingest== 0.1.4
@sradc Thank you for letting us know, as I see it the URL pattern for gitlab would require some specific code for handling those URL, if any one want to give it a try feel free to ping me here
Hi there! We haven’t seen activity here for 45 days, so I’m marking this issue as stale. If you’d like to keep it open, please leave a comment within 10 days. Thanks!
Hi there! We haven’t heard anything for 10 days, so I’m closing this issue. Feel free to reopen if you’d like to continue the discussion. Thanks!