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

Merge request references are not updated

Open mdbenito opened this issue 3 years ago • 0 comments

GitLab refs to MRs in the form of !number should be converted to GitHub refs with a #

  • MRs in GitLab follow their own sequence.
  • PRs in GitHub are simply issues.
  • The problem is that issues are imported before MRs are.

One possible solution could be to compute the highest GitHub issue number which will result after importing all issues, and add that to the number in !number, before converting to #number during the issue import. This could be tricky for non-fresh imports (i.e. updates)

mdbenito avatar Dec 06 '21 17:12 mdbenito