Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gitlab sub group 404 error #1320

Open
owayo opened this issue Oct 30, 2024 · 0 comments
Open

Gitlab sub group 404 error #1320

owayo opened this issue Oct 30, 2024 · 0 comments

Comments

@owayo
Copy link

owayo commented Oct 30, 2024

http://gitlab.example.com/org_name/any-project/any-subproject/merge_requests/1234
This does not work
gitlab.exceptions.GitlabGetError: 404: 404 Project Not Found

project_path = "/".join(path_parts[:mr_index])

It seems that org_name/any-project/any-subproject is being assigned to project_path, but it should actually be any-project/any-subproject.

I believe it would be correct to use:

project_path = "/".join(path_parts[mr_index - 2:mr_index])

What do you think?

Related issue:
#135

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant