which git server for a company?

swooosh@lemmy.world to Selfhosted@lemmy.world – 62 points –

We are changing our system. We settled on git (but are open for alternatives) as long as we can selfhost it on our own machines.

Specs

Must have

  • hosted on promise
  • reliabile
  • unlikely to be discontinued in the next >5 years
  • for a group of at least 20 people

Plus

  • gui / windows integration
61

You are viewing a single comment

I can vouch for Forgejo

https://forgejo.org/

Easy to set up, has a website GUI like Github/GitLab you can use git GUIs with it

https://codeberg.org runs on Forgejo

Thank you! That would be my go to for my own projects as well. As far as I know they don't want company sponsorship. I am unsure about sustainability

I am unsure about sustainability

In what regard?

That the project will be developed in a year or two

Maybe check how long it is already going, so it can give you some confidence. Forgejo is a fork of gitea, which is a fork of gogs.

Also, codeberg, a nonprofit from Germany, is supporting development.

https://docs.codeberg.org/getting-started/what-is-codeberg/

The codebase history of Forgejo and its predecessors predates Codeberg. However, since 2022, Codeberg is backing the development of Forgejo as an umbrella organization.

Forgejo is leading the federated git initiative

Just to give credit where credit is due, git federation is a Forgefed Initiative

Forgejo is implementing it in their platform.

Sure, they are the same people

Any evidence of that? Genuinely curious as I can't really find anything about them being by the same people and forgefed started as mailed-based prior to forgejo existing.

edit: seems like they are funded by different organizations and the main contributors to forgefed never worked on forgejo, they worked on vervis though.

I’ve been looking at gitea because of its gitops capabilities that seem to be pretty much on par with github actions. Do you know if forgejo has something similar? There seems to be a lack of documentation in that area. This has been my only reason for not moving to forgejo but im hoping im wrong and just missed some documentation.

EDIT: Thank you all who provided some additional insights that I was missing. I'll take the leap and give forgejo a try!

There are forejo runners and they seem compatible with a bunch of github actions. I created one that builds a docker image and publishes it on the repo.

Forgejo actions is basically GitHub actions. The difference in my ci scripts is a single line and you can even use GitHub action templates or whatever they're called.

You just need to add some runners to your server, which is pretty easily doable by just using some docker container and deploying that multiple times