drsybren
  • Joined on 2023-02-10
drsybren commented on issue gitea/tea#527 2023-02-10 14:04:07 +00:00
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…

drsybren commented on issue gitea/tea#531 2023-02-10 13:58:55 +00:00
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…

drsybren commented on issue gitea/tea#531 2023-02-10 10:20:26 +00:00
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 +…

drsybren commented on pull request gitea/go-sdk#612 2023-02-10 10:13:33 +00:00
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.