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

switching to broken tags results in 500 #19979

Closed
Fogapod opened this issue Jun 15, 2022 · 1 comment · Fixed by #20017
Closed

switching to broken tags results in 500 #19979

Fogapod opened this issue Jun 15, 2022 · 1 comment · Fixed by #20017
Labels

Comments

@Fogapod
Copy link
Contributor

Fogapod commented Jun 15, 2022

Description

Trying to switch to some tags of linux kernel results in 500. List of affected tags: v2.6.11, v2.6.11-tree (2 first tags, did not find other problematic ones).

Can be seen on gitea.com: https://gitea.com/marktsai0316/linux/src/tag/v2.6.11
Note: repository linked above shows 0 tags but they exist in revision list:
image

On my instance it shows proper tag amount but the error for those first 2 tags is the same.
Error message: ...ules/context/repo.go:945:func1() [E] [62aa070c] GetTagCommit: object does not exist [id: c39ae07f393806ccf406ef966e9a15afc43cc36a, rel_path: ]

Trying this locally:

$ git checkout tags/v2.6.11
fatal: Cannot switch branch to a non-commit 'tags/v2.6.11'

Gitea Version

1.17.0+dev-711-g1fef9a2d6 and 1.17.0+dev-719-gf0ce5470e

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?

Locally compiled binary

Database

PostgreSQL

@Fogapod
Copy link
Contributor Author

Fogapod commented Jun 15, 2022

Github lists these as well but 404s: https://github.com/torvalds/linux/tree/v2.6.11-tree

@Fogapod Fogapod changed the title switching to certain tags results in 500 switching to broken tags results in 500 Jun 15, 2022
42wim added a commit to 42wim/gitea that referenced this issue Jun 18, 2022
6543 pushed a commit that referenced this issue Jun 18, 2022
42wim added a commit to 42wim/gitea that referenced this issue Jun 18, 2022
6543 pushed a commit that referenced this issue Jun 18, 2022
vsysoev pushed a commit to IntegraSDL/gitea that referenced this issue Aug 10, 2022
AbdulrhmnGhanem pushed a commit to kitspace/gitea that referenced this issue Aug 24, 2022
@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