Clever / microplane

A CLI tool to make git changes across many repos, especially useful with Microservices.
https://medium.com/always-a-student/mo-repos-mo-problems-how-we-make-changes-across-many-git-repositories-293ad7d418f0
Apache License 2.0
368 stars 45 forks source link

Approver is not propagated to GitLab merge requests #146

Open dnesting opened 2 years ago

dnesting commented 2 years ago

When using mp push -a dnesting with an enterprise GitLab, merge requests are created with no assignee, despite having an assignee in mp status output.

dnesting commented 2 years ago

I suspect the culprit is at https://github.com/Clever/microplane/blob/master/push/pushGitlab.go#L52. The GitLab merge request options should include an Assignee up front (see https://github.com/xanzy/go-gitlab/blob/master/merge_requests.go#L561), but it looks like only a handful of elements are populated, similar to how GitHub works.