this post was submitted on 04 Mar 2024
41 points (95.6% liked)

Self Hosted - Self-hosting your services.

11594 readers
3 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules

Important

Beginning of January 1st 2024 this rule WILL be enforced. Posts that are not tagged will be warned and if not fixed within 24h then removed!

Cross-posting

If you see a rule-breaker please DM the mods!

founded 3 years ago
MODERATORS
 

Does anyone who’s more on the pulse of stuff than I know if I should stick with Gitea or jump to Forgejo while I can?

I understand that, for the moment at least, Forgejo should be a drop-in replacement for Gitea as they shared codebase for so long…

Anyone have experience that this is the case? What version did you make the switch on? Was it really just a binary/docker container swap on existing database or did you run into any troubles?

I’m at a crossroads where as a casual HomeLab user I don’t really care either way, but if there is a chance Gitea does something that ruins my use of it, I will regret having not switched while it was supposed to be easy. On the other hand, if Gitea remains the stronger choice and Forgejo fizzles out, I will regret leaving it behind. Help me decide? I’m on Gitea 1.21.5, the last “guaranteed” jump point now.

all 12 comments
sorted by: hot top controversial new old
[–] [email protected] 24 points 9 months ago (2 children)

Fair bias notice: I am a Forgejo contributor.

I switched from Gitea to Forgejo when Forgejo was announced, and it was as simple as changing the binary/docker image. It remains that simple today, and will remain that simple for the foreseeable future, because Forgejo cherry picks most of the changes in Gitea on a weekly basis. Until the codebases diverge, that will remain the case, and Forgejo will remain a drop-in replacement until such time comes that we decide not to pick a feature or change. If you're not reliant on said feature, it's still a drop-in replacement. (So far, we have a few things that are implemented differently in Forgejo, but still in a compatible way).

Let me offer a few reasons to switch:

  • Forgejo - as of today, and for the foreseeable future - includes everything in Gitea, but with more tests, and more features on top. A few features Forgejo has that Gitea does not:
    • Forgejo makes it possible to have any signed in user edit Wikis (like GitHub), Gitea restricts it to collaborators only. (Forgejo defaults to that too, but the default can be changed). Mind you, this is not in a Forgejo release yet, it will be coming in the next release probably in April.
    • Gitea has support for showing an Action status badge. Forgejo has badges for action statuses, stars, forks, issues, pull requests.
    • ...there are numerous other features being developed for Forgejo that will not make it into Gitea unless they cherry pick it (they don't do that), or reimplement it (wasting a lot of time, and potentially introducing bugs).
  • Forgejo puts a lot of effort into testing. Every feature developed for Forgejo needs to have a reasonable amount of tests. Most of the things we cherry pick for Gitea, we write tests for if they don't have any (we write plenty of tests for stuff originating from Gitea).
  • Forgejo is developed in the open, using free tools: we use Forgejo to host the code, issues and releases, Forgejo Actions for CI, and Weblate for translations. Gitea uses GitHub to host the code, issues and releases, uses GitHub CI, and CrowdIn for translations (all of them proprietary platforms).
  • Forgejo accepts contributions without requiring copyright assignment, Gitea does not.
  • Forgejo routinely cherry picks from Gitea, Gitea does not cherry pick from Forgejo (they do tend to reimplement things we've done, though, a huge waste of time if you ask me).
  • Forgejo isn't going anywhere anytime soon, see the sustainability repo. There are people committed to working on it, there are people paid to work on it, and there's a fairly healthy community around it already.
[–] excitingburp 4 points 9 months ago

All this, and while you're at it, Donate!

[–] [email protected] 3 points 9 months ago (2 children)

I haven't done any research yet. Gitea includes an oauth2 provider. Does Forgejo also provide oauth2 authentication with a similar feature set?

[–] [email protected] 3 points 9 months ago* (last edited 9 months ago)

Yes it does. I even host a forgejo instance where you can only login via SSO and it works perfectly!

Edit: sorry, got my wires crossed with idp and SSO. But yes, forgejo can also act as an idp.

[–] [email protected] 15 points 9 months ago

Definitly go with Forgejo ASAP.

As for concerns that Forgejo fizzles out... highly unlikely given that the by far largest former Gitea instance is the driving force behind it (https://codeberg.org). But yes, as all community run FOSS projects that don't rely on for-profit investments it will be a community effort to keep it running.

[–] [email protected] 6 points 9 months ago

You might check out this thread, especially that first post about the open letter.

https://news.ycombinator.com/item?id=33749757

I homelab to study and practice, and I switched around 1.19. It's been very smooth for me. Literally just had to change the docker image I was using.

[–] [email protected] 4 points 9 months ago (2 children)

At home I'll use Forgejo, but at work I'll set up Gitea for my department where we are forced to work in a Windows infrastructure.

I would like to be able to use Forgejo both places.

[–] [email protected] 4 points 9 months ago

forced to work in a Windows infrastructure

My condolences. I hope you find some relief in the future

[–] PlutoniumAcid 2 points 9 months ago (1 children)
[–] [email protected] 6 points 9 months ago

Forgejo has no official Windows builds, and since it is not tested on windows at all, it's not guaranteed to work.