I need Gitlab integration in Upsource, something similar to available Github integration. As there is no feature for this yet, I've tried to write simple proxy which 'translates' request to Github API for Gitlab API. Similarly it translates response. The main idea is to configure project as Github project but in fact hide Gitlab behind my proxy. It started to work, e.g. in obtaining oauth token process. It works for obtaining commits and comments as well. However I have a problem with retrieving pull requests. In upsource-frontend logs I found following warning:
Head not found for pull request
I filled fields for head object in response (according to Github API docs) but it still doesn't work. Maybe you could tell me what is needed by Upsource in response to getting pull requests?
It works with both GitLab SaaS and GitLab Self-Managed (12. x or later). Basic features: Review merge requests right in your favorite IDE, leave comments, create tasks.
GitLab Sync. Last modified on September 29, 2022. You use the GitLab integration settings to synchronize your API definition, auto-generated server code, or client SDK with an existing repository on GitLab. The synchronization is made every time you save the API in SwaggerHub.
After creating a new project on GitLab, we go to PyCharm. Search Plugins in PyCharm's Settings menu. Then, search for GitLab Projects and install it.
Upsource developer here. You've done great work!
Head not found for pull request
This means that Upsource doesn't see this pull request in Git. What repository is Upsource looking at?
By the way, GitLab integration is one of our main priorities now, though GitLab API is not as rich as GitHub, so we won't be able to implement full sync link for GitHub.
Update: GitLab integration, which includes comments syncronization and merge action, is released in Upsource 2017.3.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With