switching to broken tags results in 500 #9072

Closed
opened 2025-11-02 08:28:24 -06:00 by GiteaMirror · 1 comment
Owner

Originally created by @Fogapod on GitHub (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

Originally created by @Fogapod on GitHub (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](https://user-images.githubusercontent.com/22667809/173878668-b12ed20e-ca5a-48c4-849d-aaf534d5e677.png) 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: ```sh $ 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
GiteaMirror added the type/bug label 2025-11-02 08:28:24 -06:00
Author
Owner

@Fogapod commented on GitHub (Jun 15, 2022):

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

@Fogapod commented on GitHub (Jun 15, 2022): Github lists these as well but 404s: https://github.com/torvalds/linux/tree/v2.6.11-tree
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#9072