Description
Migration from self hosted gitlab-ce (checked many different versions with api v4: 9.x, 10.x, 11.x, 12.x and finally 13.3.7) to gitea v1.13 does not work if source repository URL contains project namespace + name like
https://my.gitlab.domain/me/myproject.git
https://my.gitlab.domain/me/myproject
Gitea throws error:
modules/task/task.go:51:handle() [E] Run task failed: GET https://my.gitlab.domain/api/v4/projects/me/myproject: 404 failed to parse unknown error format
Opening this URL in web browser returns
{"error":"404 Not Found"}
URL-s that work in web browser:
- list of repos: https://my.gitlab.domain/api/v4/projects
- repo id=10 details: https://my.gitlab.domain/api/v4/projects/10
Tested that migration from such gitlab to gitea works when source URL is specified with repo ID not name like this:
Please verify and fix or (if using ID is required) update instruction in UI for users to know what to enter as URL.