piceaTech / node-gitlab-2-github

Migrate Issues, milestones etc from gitlab to github
MIT License
555 stars 136 forks source link

Skip merge requests in given states #118

Closed mdbenito closed 2 years ago

mdbenito commented 2 years ago

This PR adds a new config variable skipMergeRequestStates which is an array of strings. Merge requests with a state listed in this array will not be migrated. Closes #105

spruce commented 2 years ago

Wouldn't this lead to the issue numbers diverging from github and gitlab?

mdbenito commented 2 years ago

AFAIK merge requests are numbered independently from issues in GitLab, but not in GitHub, where everything is an issue, so this shouldn't be a problem. It could mess things up if #121 is implemented as suggested there. In that case maybe one could create and delete issues instead.