this post was submitted on 16 Oct 2024
204 points (99.5% liked)

Linux

47738 readers
976 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS
 

Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.

Forgejo v9.0 is the first version to be released under a copyleft license, after a year of discussions. Among the motivations for this change is the realization that a pattern emerged over the years, exemplified by Redis, CockroachDB, Terraform and many others. They turned proprietary because people chose their own financial gain over the interest of the general public. Forgejo admins no longer have to worry about this sword of Damocles: relicensing it as a proprietary software is not allowed.

The removal of the go-git backend is part of a larger effort to make Forgejo easier to maintain, more robust and even smaller than it already is (~100MB). When presented with go-git as an alternative to Git, a Forgejo admin may overlook that it has less features and a history of corrupting repositories. It would have been possible to work on documentation and new tests to ensure administrators do not run into these pitfalls, but the effort would have been out of proportion compared to the benefits it provides.

The Forgejo localization community was created early 2024 with the ambitious goal of gaining enough momentum to sustain a long term effort. A daunting task considering there are over 5,000 strings to translate, verify and improve. There has been many calls for help in the past and the community keeps growing steadily. Fortunately, the translation hackathon (translathon) organized by Codeberg in October was exceptional. It attracted an unprecedented number of participants who improved or created thousands of translations.

all 35 comments
sorted by: hot top controversial new old
[–] addie@feddit.uk 1 points 4 hours ago (2 children)

Ah, nice. Had been experimenting with using my Raspberry Pi 3B as my home Git server for all my personal projects - easy sync between my laptop and desktop, and another backup for the the stuff that I'd been working on.

Tried running Gitea on it to start with, but it's a bit too heavy for a device like that. Forgejo runs perfectly, and has almost exactly the same, "very Github inspired" interface. Time to run some updates...

[–] nef 1 points 1 hour ago

Do you use it for anything other than syncing code? Currently I'm using plain SSH sync for all my personal git repos, and I'm not sure if there'd be any advantage in switching to Forgejo.

[–] qaz@lemmy.world 3 points 4 hours ago (1 children)

It's interesting that Forgejo ran better than Gitea considering it's a fork.

[–] Quackdoc@lemmy.world 1 points 1 hour ago

it was forked a while ago now though so the code bases can be quite different.

[–] flubba86@lemmy.world 5 points 8 hours ago* (last edited 6 hours ago)

How long does it take for the new features in Forgejo to appear in Codeberg? I suppose it's possible they're already there.

Edit: Codeberg is still on v8.0.3-53, but code.forgejo.org is on v9.0.

[–] Quackdoc@lemmy.world 22 points 13 hours ago* (last edited 13 hours ago) (1 children)

Was this the git hosting service that wanted to have things like federated (in this case im talking about cross instance) cloning, searching and issue hosting?

I may be mistaken in general but iirc there was a hosting service like this that I found super interesting, especially in light of things like DMCA abuse against projects hosted on github and gitlab.

EDIT: seems like it is one of two, forgefed is a protocol it will use, activitypub one, very interesting.

[–] TheOneCurly@lemm.ee 22 points 13 hours ago (1 children)

Yes it is, federation work is ongoing. I think stars are in beta.

[–] Quackdoc@lemmy.world 7 points 10 hours ago

very exciting indeed. can't wait to try it out when federated tickets and PRs are a thing.

[–] o1o12o21@lemmy.ml 12 points 15 hours ago* (last edited 2 hours ago) (5 children)

Has anyone have personal experience moving off of gitea and using forgejo

I'd love to do this but it's hard to find any written experiences yet.

;Edit: I will probably just try it

[–] shirro@aussie.zone 5 points 2 hours ago

I followed the directions and it worked. No issues and no regret.

[–] Lem453@lemmy.ca 3 points 4 hours ago* (last edited 4 hours ago)

Check their website for migration info. There are some caveats in special circumstances but most people can just change the docker image from gitea to forgejo.

I did exactly that with no issues.

[–] JASN_DE@lemmy.world 22 points 14 hours ago (1 children)

Docker Gitea to Docker Forgejo was basically using a different image and pointing it to the existing database. Not sure if and when both will be different enough for that to no longer work. But I also only use it as a docker compose storage repository. No idea about automation etc.

[–] o1o12o21@lemmy.ml 4 points 14 hours ago

Cool, I will spend time on it. From what I see, v24 is when gitea and forgejo went their own routes.

[–] bert@lemmy.monster 17 points 14 hours ago (1 children)

I don't think I did more than spinning up the Forgejo container. Using the same db container and everything.

[–] o1o12o21@lemmy.ml 2 points 14 hours ago (1 children)

Cool, did you use the built-in CI CD before or after the migration. Any trouble there?

[–] bert@lemmy.monster 3 points 14 hours ago

No CI CD, sorry. Just like @JASN_DE@lemmy.world I use it purely to store/archive

[–] conrad82@lemmy.world 4 points 14 hours ago

if i remember correctly, i just replaced gitea with forgejo for image: in my docker-compose, and it just worked

it was a couple of versions back, so i don't know if that still works

[–] ouch@lemmy.world 5 points 13 hours ago

Is there a good summary of Gitea/Forgejo background somewhere?

[–] killthefish@lemm.ee 8 points 14 hours ago (2 children)

I know they have the phonetic spelling of the word in the repo but I still don't know how to pronounce forgejo

[–] asap@lemmy.world 1 points 51 minutes ago
[–] dwzero@lemmy.ml 11 points 14 hours ago

I don't know how to read the phonetics but they're going for forĝejo which is for-jey-o, so I'd imagine that's how it's pronounced.

[–] flashgnash@lemm.ee 2 points 14 hours ago (1 children)

I'm sorry, overlook corrupting repositories? If I'm going to be trusting pretty much everything I ever create to a platform it better be rock solid

[–] SteveTech@programming.dev 7 points 9 hours ago (1 children)

Well, aren't you glad they're removing go-git then!

[–] flashgnash@lemm.ee 1 points 4 hours ago

The fact that was a thing in the first place scares me enough to not want to use it

[–] GolfNovemberUniform@lemmy.ml -3 points 16 hours ago (5 children)

I don't know what a forge is and why not just use Git instead but good to see some more free software in our high seas.

[–] itslilith@lemmy.blahaj.zone 45 points 16 hours ago (1 children)

Forgejo is a free/open source code hosting site like GitHub or Gitlab. It's a fork of Gitea, over concerns with management and commercialization. You might know it from Codeberg, which is one of the largest managed instances, but it's really easy to host your own.

[–] GolfNovemberUniform@lemmy.ml 17 points 15 hours ago (1 children)

So Codeberg uses Forjero? Then I like it already.

[–] cakey@discuss.tchncs.de 4 points 12 hours ago

As far as I know, they maintain and development forgejo

[–] Kajika@lemmy.ml 6 points 12 hours ago

yes bare git works just fine. if you ever want a web GUI and/or issues and Pull Request you want such a tool.

A web GUI can be very nice to share your repository publicly. You can also use codeberg.org if you can't or don't want to self host.

PS : I'm kinda shocked (not that much) by the downvotes or your legitimate and polite comment. Still looking for better communities/system.

[–] dinckelman@lemmy.world 10 points 16 hours ago (2 children)

The original announcement isn’t even very long. Could you not have read it before leaving this comment?

[–] davidgro@lemmy.world 2 points 3 hours ago

I also read the announcement (and FAQ, and other pages) but was still hoping someone would comment on what it is exactly.

(I did guess along the right lines at least, but wasn't really sure)

[–] GolfNovemberUniform@lemmy.ml 10 points 15 hours ago (1 children)

I indeed haven't read the full announcement and I know comments like mine are annoying to some but it is what it is I guess.

[–] gregor@gregtech.eu 5 points 15 hours ago

Understandable, thanks for explaining what happened. I do dumb stuff like that too

[–] unlawfulbooger@lemmy.blahaj.zone 8 points 16 hours ago* (last edited 16 hours ago)

It was new to me too, but a (code) forge is essentially a VCS server with stuff like a wiki and issue tracking. So think GitLab, GoGS/Gitea/Forgejo, BitBucket and all the others.