Comment by mardifoufs

1 year ago

How viable is gogs right now? I see that there is some activity on the repo but I guess there's no reason to not use Gitea or Forgejo?

Plot twist: Gogs was never viable.

> In my point of view, as long as no deadlock..data race is unavoidable.

https://github.com/gogs/gogs/issues/613

> The payload comes from request somehow is not always in a clean format, so we have to preform a clean operation to remove unless characters:

    func cleanCommand(cmd string) string {
       i := strings.Index(cmd, "git")
       if i == -1 {
           return cmd
       }
       return cmd[i:]
    }

https://blog.gopheracademy.com/advent-2015/ssh-server-in-go/

https://github.com/gogs/gogs/issues/7777

I actually went back to it after the gitea pivot and was surprised that it actually performed way better on my rpi.

But ymmv, I'm sure it's mostly because of how resource constrained it is.

It does what I want is completely FOSS and low maintenance. Perfect for my home setup, but different people will have different preferences