Block a user
Bug: tea crashes when using ssh-certificate auth method
I can confirm, this is caused by:
sshKeyFingerprint = regexp.MustCompile(`(SHA256:.*?)\s`).FindStringSubmatch(sshKey)[1]
There is no guarantee that sshKey
will match that…
Bug: tea command fails when remote version is a SHA1
It might be our local build. I just found that if you clone our fork (https://github.com/blender/gitea) you don't get any tags. That explains the lack of more detailed versioning info in the API…
Bug: tea command fails when remote version is a SHA1
The solution here might actually be for Gitea itself to provide more info about its version. Just the hash doesn't mean anything; a command like git describe
can give the latest tagged version +…
Set client version to lowest for compat if server version can't be recognized
IMO, this should not happen silently. If users are not aware that the server version wasn't recognised, and that a limited feature set is available, they could get properly confused. And it'll be hard to actually find that this is the root cause.