-
Notifications
You must be signed in to change notification settings - Fork 139
New issue
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
User mapping for Merge Requests #104
Comments
Not really. The GH api sets the owner to the one making the request. The only way is to make requests as the different users (with different tokens) or to use an impersonation token, as available on GH Enterprise. This script does not allow for that (yet) |
@mike-potter with the new setting |
Sadly, the issue import API does not allow setting the creator of an issue. The only solutions I know of are the two I listed (and I'm not sure about how the impersonation token would work) |
Have you guys checked this? |
That would be a very useful contribution! Can we expect a PR? 😃 |
Not my changes, all credits are for @valentinschabschneider from his repo. He should definitely be contacted. I personally tested those changes with great success. |
This commit is based on the work of @valentinschabschneider and updated to the latest master branch. deckweiss@9653c35#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80 Fixes piceaTech#104.
@XabierGoros totally forgot about that repo 😅 Cool to see that @pelme is now implementing it properly 🎉 |
@valentinschabschneider I assume you already migrated your repos but a quick code review from you would be very helpful.🙏 There were a handful of merge conflicts to deal with, I hope I didn’t screw anything up 🙂 |
I have filled out the user mapping table between GitLab and GitHub usernames. However, when I migrate the MRs->PRs the owner of the PR in Github is always my own user and not the user from GitLab. Is there a way to fix that?
The text was updated successfully, but these errors were encountered: