node-gitlab-2-github icon indicating copy to clipboard operation
node-gitlab-2-github copied to clipboard

Make it possible to use multiple tokens.

Open pelme opened this issue 1 year ago • 2 comments

This PR is based on the work of @valentinschabschneider and updated to the latest master branch: https://github.com/deckweiss-gmbh/node-gitlab-2-github/commit/9653c35815052aef4233be9df2670eee4ce7cee4#diff-a2a171449d862fe29692ce031981047d7ab755ae7f84c707aef80701b3ea0c80

Fixes #104.

pelme avatar Jul 05 '23 17:07 pelme

This looks good to me and very useful if one is migrating a repository which is in use and has multiple collaborators. @spruce

mdbenito avatar Dec 03 '23 18:12 mdbenito

Thank you for the nice PR!

We try to use this PR for migrating our Issues from GitLab to GitHub. Using multiple tokens to connect user accounts seems to work as expected without using the IssueImportAPI (migrated issues and comments belong to the correct users). However, only the Issue creator is correct when using IssueImportAPI: true. All subsequent migrated comments on a migrated issue belong to the creator, not the original commentator.

adku1173 avatar Apr 05 '24 14:04 adku1173