gitea: gitlab migrate mergerequests+issues fail
gitea version: v1.13.0 - master
error message: Migrate repository from https://gitlab.com/troyengel/archbuild failed: Error 1062: Duplicate entry '284-2' for key 'UQE_issue_repo_index'
to reporduce:
- create toke at gitlab.com
- migrate https://gitlab.com/troyengel/archbuild with pulls and issues
if you only migrate one of them it works. so the problem is related to the workaround for new pull indexes
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Reactions: 2
- Comments: 16 (6 by maintainers)
Links to this issue
Commits related to this issue
- Use known issue IID to generate new PR index number when migrating from GitLab (#28616) Fix #13884 — committed to go-gitea/gitea by wxiaoguang 6 months ago
- Use known issue IID to generate new PR index number when migrating from GitLab (#28616) Fix #13884 — committed to GiteaBot/gitea by wxiaoguang 6 months ago
- Use known issue IID to generate new PR index number when migrating from GitLab (#28616) (#28618) Backport #28616 by wxiaoguang Fix #13884 Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> — committed to go-gitea/gitea by GiteaBot 6 months ago
This is still a major issue when migrating from GitLab. I had to drop all merge requests to avoid this error and successfully import my repositories.
Reproduced on Docker running version v1.16.0+dev-692-gf58e687a8 with Postgres.
Repository: https://gitlab.com/troyengel/archbuild