Sources of financing with Gitlab integration

I need Gitlab integration in Upsource, something similar to the available Github integration. Since there is no function for this yet, I tried to write a simple proxy that "translates" the request into the Github API for the Gitlab API. Similarly, this translates the answer. The main idea is to configure the project as a Github project, but actually hide Gitlab behind my proxy. He began to work, for example. in getting the oauth token process. It also works for commits and comments. However, I have a problem finding search requests. In the upsource-frontend logs, I found the following warning:

Head not found for pull request

I filled in the fields for the head object in the response (according to the Github API docs), but it still doesn't work. Maybe you could tell me what Upsource needs in response to receiving pull requests?

+6
source share
1 answer

Source Developer. You did a great job!

Head not found for pull request

This means that Upsource does not see this pull request in Git. What storage is Upsource located in?

By the way, GitLab integration is one of our top priorities, although the GitLab API is not as rich as GitHub, so we will not be able to implement full synchronization for GitHub.

: GitLab, , Upsource 2017.3.

0

All Articles