Description
Hello everyone
I began migrating repositories from my self hosted Gitlab, and every features work great, thanks !
The only downside is when I migrate the Pull Requests, I can access commits only on open PR, the closed Pull Requests don’t have any commits within (see screenshot)
Also when trying to access files, I got an error 500.
If the PR is still open, everything work as intended.
Please let me know if there is anything I can do for help, and thanks for the great work !
-
Gitea version (or commit ref): tried on Gitea 1.13.4 and 1.15.0+Dev
-
Git version:
-
Gitlab Version : EE 13.9.4 and CE 12.8.0
-
Operating system:
Ubuntu-bionic 18.04.5 LTS under Vagrant+VirtualBox -
Database (use
[x]
):- PostgreSQL
- MySQL
- MSSQL
- SQLite
-
Can you reproduce the bug at https://try.gitea.io:
- Yes here is the test repository : https://try.gitea.io/99rgosse/gitlab_to_gitea/pulls/1
- No : I cannot import from my private gitlab (outside intranet)
-
Log gist:
-
when clicking on page:
routers/repo/pull.go:659:ViewPullFiles() [E] GetCommit: object does not exist [id: , rel_path: ] -
when importing:
-
-
error: refs/pull/1488/head does not point to a valid object!
-
error: refs/pull/1507/head does not point to a valid object!
-
2021/03/25 14:36:24 ...es/pull/temp_repo.go:104:createTemporaryRepo() [E] Unable to fetch origin base branch [gitrepo/repo3:repo4/master -> base, original_base in /data/gitea/tmp/local-repo/pull.git082213367]: exit status 1: error: refs/pull/1538/head does not point to a valid object! error: refs/pull/1544/head does not point to a valid object! error: refs/pull/1545/head does not point to a valid object! error: refs/pull/1546/head does not point to a valid object! error: refs/pull/1551/head does not point to a valid object! error: refs/pull/1560/head does not point to a valid object! fatal: bad object .alternate error: /data/git/repositories/gitrepo/repo3.git did not send all necessary objects
Description
Gitea service is directly accessible from within my intranet, linked to port 3000.
When trying a migration from gitlab to gitea, the PR are imported but of course deleted branches can't
14:35:59 Started GET /user/task/11?_csrf=