We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When the depth of the repository has more than two levels, the kiwitcms is unable to communicate with GitLab
Two banners with failed communication (404 Can't find project) and the integration does not work
It should work
I guess that the problem is in the GitlabThread class, in the repo_id method.
return "/".join(bug_system.base_url.strip().strip("/").split("/")[-2:])
The text was updated successfully, but these errors were encountered:
I can confirm this bug, happens in the latest version of Kiwi as well.
A possible fix could be to use urlparse, e.g.,
urlparse
import urlparse return urlparse.urlparse(bug_system.base_url).path.lstrip('/')
Sorry, something went wrong.
Patch for repositories under GitLab subgroups. Fixes #2643
c0a6691
use urlparse() instead of manually parsing the base_url
Successfully merging a pull request may close this issue.
Description of problem
When the depth of the repository has more than two levels, the kiwitcms is unable to communicate with GitLab
Steps to Reproduce
Actual results
Two banners with failed communication (404 Can't find project) and the integration does not work
Expected results
It should work
Additional info (Python traceback, logs, etc.)
I guess that the problem is in the GitlabThread class, in the repo_id method.
return "/".join(bug_system.base_url.strip().strip("/").split("/")[-2:])
The text was updated successfully, but these errors were encountered: