Skip to content
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

Migration from GitHub failed for repos with a draft release #20313

Closed
harryzcy opened this issue Jul 11, 2022 · 0 comments · Fixed by #20314
Closed

Migration from GitHub failed for repos with a draft release #20313

harryzcy opened this issue Jul 11, 2022 · 0 comments · Fixed by #20314
Labels

Comments

@harryzcy
Copy link
Contributor

Description

Migration failed because the tag associated with the draft release does not exist on GitHub

Example log

2022/07/11 00:08:07 ...ervices/task/task.go:56:handle() [E] Run task failed: GetTagCommit[v0.2.3]: object does not exist [id: refs/tags/v0.2.3, rel_path: ]

Gitea Version

main branch (cb6c5f8)

Can you reproduce the bug on the Gitea demo site?

Yes

Log Gist

No response

Screenshots

No response

Git Version

No response

Operating System

No response

How are you running Gitea?

Issue exists both on try.gitea.io and on main branch

Database

No response

zeripath pushed a commit that referenced this issue Jul 12, 2022
Fixes #20313.

`errors.Is(err, git.ErrNotExist{})` is not working
zeripath pushed a commit to zeripath/gitea that referenced this issue Jul 12, 2022
Backport go-gitea#20314

`errors.Is(err, git.ErrNotExist{})` is not working

Fixes go-gitea#20313
zeripath added a commit that referenced this issue Jul 12, 2022
Backport #20314

`errors.Is(err, git.ErrNotExist{})` is not working

Fixes #20313

Co-authored-by: Chongyi Zheng <harry@harryzheng.com>
vsysoev pushed a commit to IntegraSDL/gitea that referenced this issue Aug 10, 2022
Fixes go-gitea#20313.

`errors.Is(err, git.ErrNotExist{})` is not working
@go-gitea go-gitea locked and limited conversation to collaborators May 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant