-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Import of Gitlab merge requests fails #14955
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
Comments
Closing as dupe of #13884 |
I did have a look at #13884 however I did not see any errors relating duplicates (running gitea in dev mode) |
I have found that the problem was that Gitea was searching for a nonexistent Issue:
I created the issue ID 149 in Gitlab and then the migration succeeded. |
I investigated a bit further. The migration fails when there is a Gitlab merge request X but there is no Gitlab issue X. For example to create issues with a specific iid in Gitlab (say from #88 to #136):
The case of #13884 seems to happen when a merge request references an issue with the same id (not sure about this needs to be tested) |
ok so it's something about our workaround for issue and pull have independend indexes on GL |
If we try to migrate without "pull request" option than it works (but without merge requests being migrated).
The migration fails if both issues and pull requests are selected.
If we only choose issues than the issues are migrated.
If we only chose pull requests then the Gitlab merge requests are migrated.
[x]
):The text was updated successfully, but these errors were encountered: