gitingest icon indicating copy to clipboard operation
gitingest copied to clipboard

bug: gitingest breaks for nested Gitlab repos

Open sradc opened this issue 6 months ago • 1 comments

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 avatar Jun 19 '25 12:06 sradc

@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

cyclotruc avatar Jun 22 '25 15:06 cyclotruc

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!

github-actions[bot] avatar Aug 24 '25 06:08 github-actions[bot]

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!

github-actions[bot] avatar Sep 04 '25 06:09 github-actions[bot]