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?
source
share