-
-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Migration from CodeCommit including PRs causes runtime error #34320
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
Just tested on the 1.24.0 rc0, same behavior there. |
Head: base.PullRequestBranch{
Ref: strings.TrimPrefix(*target.SourceReference, git_module.BranchPrefix),
SHA: *target.SourceCommit,
RepoName: c.repoName,
}, |
So PRs with the source branch deleted cannot be migrated? Is there a workaround to skip those or something so others can be? |
Also, I just went through the PRs, and all of the source branches still exist. |
But the panic was caused by from |
Is there a way to see which PR is throwing the error, we have over 100 PRs in this repo, many of which with several commits. |
I just checked all of the PRs in codecommit, and they all have a Source Commit. |
That's weird. |
Any advice on what I can do or try to get this migration handled? |
Found the problem, it should be the blank description. I sent #34541 to resolve the problem. |
Description
When trying to migrate a repository and PRs from codecommit, I consistently get this error:
If I deselect the pull request option, the repository migrates, however I need the PRs.
Gitea Version
1.23.7
Can you reproduce the bug on the Gitea demo site?
Yes
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
Docker
How are you running Gitea?
Docker
Database
PostgreSQL
The text was updated successfully, but these errors were encountered: