You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just tried to upgrade my Gitea server, but it kept on crashing with the above error message. I found that this appeared some time between 1.2.0rc2 and 1.2.0rc3, and I traced it to that specific commit.
I followed the code path to this error, and created the following Bash line to find which of my repositories was causing the issue:
Description
I just tried to upgrade my Gitea server, but it kept on crashing with the above error message. I found that this appeared some time between 1.2.0rc2 and 1.2.0rc3, and I traced it to that specific commit.
I followed the code path to this error, and created the following Bash line to find which of my repositories was causing the issue:
and it turns out that a copy of the Quagga repository was causing the issue:
GitHub seems to deal with one of these tags somewhat more gracefully: https://github.com/Quagga/quagga/releases/tag/zebra_org_20030428
For now, I've deleted the repository so the Gitea upgrade can proceed, but I think this code (https://github.com/go-gitea/gitea/blob/master/vendor/code.gitea.io/git/signature.go#L35) should be able to deal with a missing timestamp, especially since there are repositories out in the wild that have tags with author lines that are missing timestamps.
The text was updated successfully, but these errors were encountered: