this post was submitted on 16 Oct 2024
210 points (100.0% liked)

Linux

1257 readers
56 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.

top 34 comments
sorted by: hot top controversial new old
[–] o1o12o21@lemmy.ml 17 points 3 weeks ago* (last edited 3 weeks ago) (4 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

[–] bert@lemmy.monster 14 points 3 weeks 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 3 weeks ago (2 children)

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

[–] bert@lemmy.monster 3 points 3 weeks ago

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

[–] shirro@aussie.zone 7 points 3 weeks ago

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

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

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

I did exactly that with no issues.

[–] TVA@thebrainbin.org 5 points 3 weeks ago (1 children)

For me, it was literally as easy as (this is basically my upgrade process too):

`

systemctl stop gitea.service

cd /home/git/

wget https://codeberg.org/forgejo/forgejo/releases/download/v8.0.3/forgejo-8.0.3-linux-amd64

mv forgejo-* gitea

chmod +x gitea

systemctl start gitea.service

`

I did it soon after the "split up" though, but it was super easy since they were still basically the same applications.

Make backups, update the above to use your paths and the new download link you should be good to go. Mine is in a VM , so I was willing to just YOLO and give it a go since I could easily roll back.

sorry for the formatting. on my phone and did my best!

[–] o1o12o21@lemmy.ml 1 points 3 weeks ago (1 children)

This gives me a confidence boost. I don't have too many repos too. Thank you.

[–] TVA@thebrainbin.org 1 points 3 weeks ago

You're Welcome! An extra safety measure might be to do a clone on all your repos to ensure you've got a local copy of them all and absolute worst case you'll have a couple of levels of backup plans, but up until pretty recently they were pretty much the same app just re-skinned, so, I think you'll be fine.

[–] GolfNovemberUniform@lemmy.ml 15 points 3 weeks ago (4 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 42 points 3 weeks 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 23 points 3 weeks ago (1 children)

So Codeberg uses Forjero? Then I like it already.

[–] cakey@discuss.tchncs.de 6 points 3 weeks ago

As far as I know, they maintain and development forgejo

[–] Kajika@lemmy.ml 9 points 3 weeks 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.

[–] unlawfulbooger@lemmy.blahaj.zone 8 points 3 weeks ago* (last edited 3 weeks 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.

[–] possiblylinux127@lemmy.zip 1 points 3 weeks ago

Wait until people learn about mailing lists. It will blow there mind

[–] killthefish@lemm.ee 8 points 3 weeks ago (1 children)

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

[–] dwzero@lemmy.ml 14 points 3 weeks 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.

[–] YodaDaCoda@aussie.zone 6 points 3 weeks ago (1 children)

Any idea how forgejo compares to radicle?

I'm trying to decide what to install on my home server. I want something easy to start with but reasonably extensible and federated would be nice

[–] ReversalHatchery 13 points 3 weeks ago (2 children)

forgejo is like github copy, and is a fork of the relatively known gitea. so far there are no federation features

radicle is something similar, but as I understand, with distributed repo management. I don't know the implications of this.

radicle also has an own cryptocurrency, and is entangled with web3.
while not all cryptocurrencies are scams, and probably the same applies to web3 projects, almost all of them are either scams, or useless for the purpose of using it as a currency. I don't know how the radicle currency fares, but it made me distrust them somewhat when they started talking about that in their announcement channel, and the fact that since then the channel did not post much else did not help to gain back this trust

[–] corsicanguppy@lemmy.ca 3 points 3 weeks ago* (last edited 3 weeks ago)

radicle also has an own cryptocurrency, and is entangled with web3.

And that's where it breaks the rule of "Do One Thing Well".

And while it's super popular to spread and consume everything like a big sticky blob - oh hello, systemd - doing many things poorly (yes, we see you, systemd) needs a lot of diplomacy and help from others - hi, Kay - to keep the code flowing. It's often not worth it, as we've seen but don't want to admit ... with systemd.

(if you'll excuse me, I need to go change the location where I look for static nic config files and use a reader more complex than '.' because the windows format is way better and I'm old if I think otherwise)

[–] NGnius@lemmy.ca 3 points 3 weeks ago (1 children)

Just FYI forgejo does have federation, but it's disabled by default. No idea how good/stable/complete it is... https://forgejo.org/docs/latest/admin/config-cheat-sheet/#federation-federation

[–] ReversalHatchery 2 points 2 weeks ago

oh! last time I checked it was still just a feature request. This is cool, thanks!

I could only find this in the documentation of it, though, so probably it's being kept quiet for a reason: https://forgejo.org/docs/latest/contributor/federation-architecture/

the state of it can be tracked by looking at these issues and these blog posts

[–] flashgnash@lemm.ee 5 points 3 weeks ago (2 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 11 points 3 weeks ago (1 children)

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

[–] flashgnash@lemm.ee 2 points 3 weeks ago (1 children)

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

[–] possiblylinux127@lemmy.zip 1 points 3 weeks ago* (last edited 3 weeks ago)
[–] TimeWalker@lemmy.foxden.party 1 points 2 weeks ago

To be fair, they supported two different git backends, one of them being go-git which was the one corrupting repositories. However, it was never enabled by default, you specifically had to build Forgejo with a specific tag to instead use that as the backend. If you just built normally or pulled ready-made containers or bins then it was always the default git backend.

[–] addie@feddit.uk 2 points 3 weeks 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...

[–] mfenniak 4 points 3 weeks ago

I'm not sure it makes much sense that gitea is a bit too heavy, but forgejo (a fork of gitea) runs perfectly. But forgejo appears to have more developments momentum as a project and so you probably landed on the right choice anyway. 🙂

[–] nef@slrpnk.net 1 points 3 weeks ago (1 children)

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.

[–] addie@feddit.uk 2 points 3 weeks ago

My workplace is a strictly BitBucket shop, was interested in expanding my skillset a little, experiment with different workflows. Was using it as a fancy 'todo' list - you can raise tickets in various categories - to remind myself what I was wanting to do next in the game I was writing. It's a bit easier to compare diffs and things in a browser when you've been working on several machines in different libraries than it is in the CLI.

Short answer: bit of timesaving and nice-to-haves, but nothing that you can't do with the command line and ssh. But it's free, so there's no downside.

[–] cy_narrator@discuss.tchncs.de 1 points 3 weeks ago

Is it just another Gitlab clone?