391 points · by thunderbong · 1y ago · 269 comments
Good to see their community outreach is via Matrix and Mastadon. My kind of nerds.
Apparently this is what Codeberg is running out, if you click . Looks like gitea/github to me, nothing wrong with that [2] source code is available from the little branch icon in the top right corner, hosted on codeberg which TIL is a forgejo instance [3]
[0] https://forgejo.org/2024-02-forking-forward/
[1] https://forgejo.org/2024-08-gpl/
So.. like gitea?
From my understanding the fork was done because gitea created a company to build custom-features for companies if they ask. Not really many indicators for a rugpull
From the Gitea incorporation announcement (below), it looks like they couldn't pay their bills as FOSS, and there were wealthy free-riders (which the MIT license allows).
> "Over the years we have tried various ways to support maintainers and the project. Some ways we have tried include bounties, direct donations, grants, and a few others. We have found that while there have been many wonderful individuals, and a few corporations who have been incredibly generous, and we are so thankful for their support, there are a few corporations (with revenues that are greater than some countries GDP) are building on Gitea for core products without even contributing back enhancements. [emphasis added]
I'm not a fan of Bruce Perens, but he kind of nails the problem when he says:
> "We have a great corporate welfare program, our users are the richest companies in the world. Indeed, we've enabled companies like Google to be created.
> "In contrast, if our developers aren't working for those companies, they probably go un-compensated."
----
On the flip side, the community rebelled when the creators formed a company, but not supposedly because they formed a company, but because that co held the domain and trademark. Seems like a small hill to die on to me, but I don't know the details.
Regardless, it looks like exhibit #187 of FOSS failing for anyone outside of hobbyists and FAANGs.
What Free Software always was is an ethical movement—one which didn't need to prioritize income streams because the point wasn't sustainable development, it was user freedom. Nowhere in "users should have the freedom to do what they want with software" does it say "and we should be able to pay a few developers a salary for their work towards that fundamentally ethical goal". Under the original paradigm and goals, any income streams are just cream on top of doing the right thing.
According to the OSI's history of itself [0], at some point people got it into their heads that the open development model was inherently a good one for business, too—Netscape jumped on board, and then some people got together and decided to rebrand Free Software:
> The conferees decided it was time to dump the moralizing and confrontational attitude that had been associated with "free software" in the past and sell the idea strictly on the same pragmatic, business-case grounds that had motivated Netscape. They brainstormed about tactics and a new label. "Open source", contributed by Chris Peterson, was the best thing they came up with.
The word FOSS reminds me a lot of American corporate Buddhism—mindfulness and meditation totally removed from its original deeply religious context and turned into some sort of self-help program, with the result being something that would be barely recognizable to the original practitioners. Free Software was never about sustainable development. It was about doing the right thing—enabling user freedom—because it is right. Everything else was just means to that end, but at some point along the line the means became the end and we started wondering why FOSS wasn't paying the bills like it was supposed to.
[0] http://web.archive.org/web/20071115150105/https://opensource...
This seems an interesting point and one I share. Yet it seems equally unethical to enable the corporate extractavism that we now see. It's time the "users should have the freedom to do what they want with software" be updated to something like 'users and makers should be free of coercion and exploitation by software.' What, after all, are the grounds for such freedoms? Are they issues of property? Or are they ones of the dignity of the persons involved? It doesn't seem controversial that we tend to find it problematic if another uses us as means to their ends without our consent. In personal actions, many act as if they believe this. Yet corporations consistently do not act with those values. You're right: we should strive toward a system not in which it's viable to create businesses out of FOSS but in which both users and developers are not exploited or used unwillingly.
If someone uses and benefits from your product, at what point does it become "unethical extractivism"? If I as an individual figure out a way to build a business centered around your product that you make for free, is that already unethical, or is it at a later point?
>It doesn't seem controversial that we tend to find it problematic if another uses us as means to their ends without our consent.
But you gave your consent by publishing software for anyone to use.
This actually illustrates the key flaw in Stallman's understanding. To him, "user" encompassed both humans and megacorporations. But a corporation is an abstract legal convenience, cannot feel the pain of being "thwarted" in its use of software, and thus, want freedom. Freedom is only an ethical good for humans.
Further, I would argue that providing megacorporations with unpaid labor is deeply misguided, if not actually unethical itself. Encouraging otherwise borders on encouraging exploitation.
tl;dr Nobody should go broke to enrich Bezos in their spare time, and encouraging THAT is unethical.
> Further, I would argue that providing megacorporations with unpaid labor is deeply misguided, if not actually unethical itself.
Nobody is "providing megacorporations with unpaid labor". People are making an effort to put something out there for the benefit of the entire human race, and if that includes corporations that's fine. Not one person is harmed if Amazon takes my open source project and uses it to turn a profit, even if they make it into closed source. My project remains freely available for the benefit of all, just as it was before Amazon used it. So who exactly has been harmed? Not me, I'm in the same state as I was before. Not my (non-Amazon) users, they are in the same state as they were before. Not Amazon, of course. If every single person is no worse off or even better off than before, I don't see how you can argue that the corporate users are doing something unethical. It seems to me that really this isn't about ethics, but is about "we don't like those icky people" masquerading in pretty sounding language.
> tl;dr Nobody should go broke to enrich Bezos in their spare time...
Nobody should go broke to make open source software, period.
You know who read the room correctly? GitLab. They've found a balanced way to offer their product under an open source scheme while keeping their lights on. They've earned trust as well as income, that's a job well done.
If one wants to live off of their open source work, then they need to run it as a business and perform appropriate business tricks. Otherwise their own effort may one day become their own rip-off. Not saying anything sinister, but fairness is a balancing game, if you hard work don't treat you well, then it's unfair too.
I don't see the point of refusing to add additional (copyleft) terms to a license, only to end up hoping companies act as if the terms existed out of good will.
Companies like Google love the permissive licenses, and go as far as to sponsor MIT/BSD-licensed replacements to common building blocks like toybox.
EDIT: I see that Forgejo v9+ is indeed GPL-licensed.
Case in point: Amazon offers a hosted Grafana service, which is AGPL. They may not be able to meaningfully change the code in secret, but they can still impoverish the actual Grafana creators trying to sell Grafana as a service.
[0] projects like MongoDB, ElasticSearch or Redis only became popular because they were OSS, and probably limited competition for years simply because competing with free is hard. only to then switch on their users years further down the line. So any money that they ever got was due to them being OSS in the first place since absolutely nobody would've used MongoDB 1.0 if it was a commercial product.
Forks that survive after splitting off are cases of FOSS succeeding, not failing. Failing would mean closing down, in this case it's replicating with changes, we (the public) are getting even more options.
The idea behind choosing a license like MIT is that people can create forks from your work, requiring not much more than attribution. If what the license calls out as valid is considered a failure in your eyes, don't choose a license like MIT.
FOSS is fundamentally anarchy (the good kind that shows that human beings are not all pieces of shit). Anarchy can't exist in a capitalist society because it shows people that they don't HAVE to live like slaves. They can live as members of tribes, as evolution intended for us.
So as always the organism is originally healthy and successful until the parasite that is capitalism spreads and suffocates it for its own reproduction.
Please, quit the cheap sophistry.
Evolution doesn't intend or plan anything for us, and you will have a very hard time convincing people that we would be better off living in a tribal/clan society than whatever we have today.
And no matter what you think about tribal societies, we still live in tribes every day. You and your close friends are a tribe. Your family is a tribe. Forums and now social media communities are tribes. HackerNews is a tribe. Open source projects are tribes, indeed they fork over ideological differences all the time. Political parties are tribes, indeed they split and antagonize each other all the time. Nationalities are tribes. Companies are tribes. Social classes are tribes. Subcultures and "identities" are tribes.
We are not built to handle global contexts, so we collapse them into tribal ones. We do that for everything. There's always an in-group and an out-group and a hierarchy if we're talking about a cluster of people.
And I'd argue that doing something for profit is also against the spirit of open source, but that's a different argument. The thing is that open source is for the most part an effort from hackers, hobbyists and professionals who want to foster a positive ecosystem for people like themselves. To make their passion better and simpler and more fun and more accessible and more interesting and safer and more efficient and more general... So that more people might fall in love with it.
It's not to push a product or to convince people that they need it. And that sentiment comes from the fact that open source is the reason many people got into programming in the first place! Thanks to all the free resources out there. So they want to give back to the community. That's how I feel about it at least.
But then again, when huge corpos contribute to open source it's great because they have a lot of inertia. So I think that's a good thing, it's a positive feedback loop. My previous point is not black and white, even though I am obviously bitter about a lot of things.
FOSS licenses don't, and can't, embody anarchism (or any socialism) because they make no distinction between humans and capital-holding entities, lumping them all under the term "users".
https://codeberg.org/forgejo/forgejo/issues/59#issuecomment-...
In an ideal world github and gitlab would also support federation, but I guess that's probably not going to happen.
An alternative solution in the problem space would be going p2p, e.g https://radicle.xyz/
Useful federation between Forgejo instances could be solved with little more than OIDC and a few webhooks (cross-instance collaboration, forking, and PRs). Nobody needs federation between Forgejo and Mastodon - what would that even mean??
Well, you either use an existing standard so you can federate with existing implementations, or you come up with a new standard and ask others to implement that. Seems they chose the simpler way, thankfully.
> Useful federation between Forgejo instances could be solved with little more than OIDC and a few webhooks (cross-instance collaboration, forking, and PRs).
What about federation between more software than just your own? Once you've done those things, you basically end up with another spec (but informal instead of formal) that others also need to implement. So instead of going the informal way, they aim for the formal one. That does sound appropriate to me.
Slightly besides the point, but for someone who dealt more with decentralized/distributed systems than bloated authentication systems, it seems both simpler and easier to map+implement ActivityPub than implement OIDC+"a few webhooks", but that might just be because of my familiarity.
I'll say that ActivityPub is a pretty simple standard though, compared to what's out there.
As someone who both made my own implementation + hacked on others, what was/seemed to be the horrible parts? It's a pretty simple standard that is basically RSS with some added stuff (very simplified of course, before I got jumped) for facilitating the federation parts.
That would only solve the problem of "I don't have an account on this forge yet". The much more relevant problem is identity + reputation. With ActivityPub-based federation you can use your domain-bound identifier to contribute to various projects across servers and gain reputation and trust. If we use OIDC, then it is a lot less clear if the server, you authenticate with, is hosting the real franga2000.
I guess Lemmy could be in the form of issues on the repo and Mastodon would be thumbs up emojis and/or "starring" the repo.
Yeah I wish there was a different protocol if we are jamming everything on top of it.
Although the last mention of federation in a monthly update was in October, where they stressed that federation was and is their 'highest priority'.[0]
[0]: https://forgejo.org/2024-10-monthly-update/#:~:text=Forgejo%...
Instead we've created these centralized UIs over Git, and are trying to get them to integrate with one another. This seems backwards to me since Git is already decentralized.
Unfortunately, the more minimal read-only ones have ended up with far worse UX than the Github clones, or are a scary tangle of shell scripts and/or C. :-(
(Anyone want to collaborate on a Rust-based read-only git browsing web UI that aims for great usability? I'm all in, I want one. I know how to make it handle search etc, I'm not great at wrangling CSS to will or getting navigation right.)
See also: https://gitlab.com/groups/gitlab-org/-/epics/11247#why
I think that Gitlab Cells[1] might go into the same direction, there is a mention of federation in the design document.
[1] https://handbook.gitlab.com/handbook/engineering/architectur...
90% of the time, I can get by with hosting my personal git repos on an SSH server I have. When all I’m trying to do is put my Chezmoi repo somewhere that all my computers can access it, Forgejo and friends don’t add much to it. For the 10% of the time when I want to share my code privately with some friends it’s brilliant (and free beats a GitHub paid plan). And if I’m going to have it running anyway for those 10% projects, might as well use it as my personal git repo of record for everything else, too.
I'd never consider running my code editor as infrastructure, but certainly interesting to see that others seems to do.
It's privilege and probably a dose of luck but I can tally up on one hand the number of hours my house and/or phone hasn't had internet in the last 5 years, including total power losses. I also wouldn't run my editor as a hosted service but I can understand why someone in a similar position might take that gamble. It's certainly no bigger of a risk to me than being limited to working on something physically at a workplace and needing to rely on transportation to get there, which also has maintenance concerns and infrastructure congestion and reliability issues that have caused more productivity losses to me than my utility providers ever have.
Forgejo got to my attention when Fedora chose it for their repo server. My needs are pretty simple - just some centralized file storage of notes and some source code. I've tested a migration from Gitea 1.21 to Forgejo 9 and it was frictionless.
I'm seriously consider migrating, but I still wonder which will be better supported (and suitable for free-as-in-beer use) in the long run.
When I looked recently, it looked like Forgejo was getting much more activity. If I had to guess, I think it’s going to be the leading fork.
You still have time to figure out what to do, but you'll need to choose sooner than later.
https://forgejo.org/2024-02-forking-forward/#the-hard-forkin...
Honestly, my eventual next move will be either Forgejo with their Actions https://forgejo.org/docs/next/user/actions/ for CI/CD or maybe going off into the deep end with moving back to Jenkins.
Drone CI and Woodpecker both felt similar in that regard, at least to me. Though the docs of GitLab CI definitely make me consider it for group projects across an org.
I guess technically you could have called Redmine, and other systems at the time, forges I think the term took off after that.
You can’t even rely on young devs to get Monty Python jokes anymore. Referring to a website that went away when jr devs were ten is a bad plan.
You’re old, dudes.
Naming and creating descriptions is not trivial, I wish more complaints would also simply come with proposals of better taglines, so we can bash those ideas quickly in comments and cut that long feedback loop.
Imagine if Fedora presented itself as simply “an open source alternative to windows”.
Sure, that might be easier to understand for those less in the field, but really doesn’t help it’s own identity.
When I think "forge", I think a tool to turn a raw material into finished product. Ergo, the blacksmith tool that turns iron into a horseshoe.
The software analogy would be turning text source code into a runable binary. Ergo, a compiler or an interpreter.
Github and SourceForge move source code from one place to another. To overextend the analogy, they are more like a combination shop/delivery service. Source code is moved but never altered or transformed.
Long story short, this crusty C/C++ dev thinks forge is a really weird term for a self-hosted, sugar-crusted Git server.
It now also runs actions that keep my static websites updated by running Jekyll etc.
I really like it to have my own forge that can import repos, issues etc from other forges like GitHub, Gitlab etc. and I am looking forward to the upcoming ActivityPub based integration to the wider fediverse.
Having a decentralised, but connected approach to code hosting is what I always wanted to have and now it’s (almost) there.
Forgejo is great and it's probably going to become even greater once federation is done (having distributed forks and PRs across multiple instances solves the fragmentation problem of self-hosted solutions).
And I lost my trust in Gitea once it spun off a for-profit branch backed by VC money (which was exactly the reason why it was forked into Forgejo).
The only thing I lost from Gitlab is the out-of-the-box CI/CD platform. But I could migrate my pipelines to Drone CI and trigger them via webhooks. Just keep in mind that, depending on the complexity of your Gitlab pipelines, this may not always be an option. Anyway, for me hosting a Gitlab server that hogged up 5GB of RAM to serve a couple of small projects was a big no-no. Forgejo takes 500MB of RAM at peak.
I recently did some moderately serious code review in GitHub and discovered it's a baby's toy version of a code review tool. It seems it would be unusable for serious engineering work unless you totally design your source control model around making that work, at the expense of all the other things that influence how you wanna manage your history.
I am mostly used to Gerrit which has a very reasonable basic model but a lot of rough edges and some performance issues.
Suddenly I realised I don't think I've ever actually used a review tool I really like! I wonder if our industry is just getting by without one?
IIRC the Gitlab one was slightly better than GitHub but I can't remember too much about it.
GitHub doesn't offer any way to review changes to those things. If the author force-pushes (which is normal and healthy if you are iterating on a series of patches, instead of on a blob of code) there's no way to diff the details I want to look at.
Compare Gerrit where for each individual commit you can diff between two versions of that commit, with a side-by-side UI showing the comments inline that the changes were made in response to.
From speaking to friends I believe this is because "why would you force-push? Just push a new commit called 'respond to review comments'". When I said "but now your commit log is a mess" they say "no, you just squash the whole PR into a single commit when you merge it. So... yes, your commit log is a mess. Bear in mind there is also no support for dependencies between PRs. So basically, you are throttled to one in-flight PR per area of work at a time. So... your commits are gonna end up being huge. Not really viable for a large project.
I have noticed that there are major projects like k8s underway on Github and they seem to get by, so maybe I'm missing something. I know that Go allow PRs but if you wanna do serious contributions they will funnel you to contribute via Gerrit instead.
A: “Forgejo is a self-hosted lightweight software forge. Easy to install and low maintenance, it just does the job.”
?
I do think it would be good to have a link or something to explain what a software forge is to people who don't know.
(And yes, not everything should be forced to be English and it's apparently supposed to be Esperanto; but nothing else on the site is so that's not how most people will parse it).
It's very speedy. Not as much as sourcehut, but you get a nicer UI. Github is becoming slow enough to meaningfully detract from productivity.
- The first page of releases (out of only 63 releases total) takes 3–5.5 seconds to load: https://codeberg.org/forgejo/forgejo/releases
- The issues page is faster at ~1.5 seconds, but still a bit slow: https://codeberg.org/forgejo/forgejo/issues
- The commits page for the main branch (22k commits) is much slower, taking over 11 seconds: https://codeberg.org/forgejo/forgejo/commits/branch/forgejo
These load times were surprising to me given the relatively small amount of data being loaded (just the first page of results)... It feels like there could be an inefficient query at play here? The HTML responses aren’t huge (~400kB), and my ping to Codeberg (~125ms, US<-->Berlin?) shouldn’t be a major factor when just loading a single HTML document without factoring in other resources. I also have gigabit internet, and while there could be bottlenecks between here and Europe, they surely wouldn’t be responsible for slowing things down to this degree.
For comparison, I’ve run Gitea on a local server, and it’s been lightning fast, even with larger datasets. For example, on a test with the Linux kernel repo (1.3M commits), Gitea rendered the first page of commits in under 500ms. That’s a stark contrast to the 11 seconds it took on Codeberg’s Forgejo instance for just 22k commits.
I wonder if this slowness is more of a Codeberg hosting issue or something inherent to Forgejo, but I haven't tried Forgejo locally.
Version 10 also now without any startup errors due to slightly wrong sqlite database structure.
Together with vscodium a joy to use.
I host a private Gitea instance (mainly to mirror all my GitHub stuff) so wondering if it is worth migrating.
Although the next version of gitea should include support for full mirroring from GitHub (so periodic synchronization of new issues, PRs, etc), not just (code mirroring XOR one-off full copy) like it does right now. This might be of interest to you.
Forgejo v10 is the first release I've seen where there's been a focus on tiny UX improvements (versus trying to remain compatible with Gitea). I'm hopeful these will continue to come, but it does still feel essentially identical in appearance and functionality with Gitea.
Names are important, this is why I also don’t use DuckDuckGo.
The reasons for forking from Gitea were also a bit weak in my opinion.
You won't use DuckDuckGo because of the name? DuckDuckGo is so tricky to write on mobile that I copy pasted from your comment, but that doesn't stop me from using it. For me, googlability of names is important, but otherwise I don't care.
I'm really curious about your reasoning. Does it offend your aesthetic sensibilities? Do you think people who would choose such a name can't be trusted with search? Or something else entirely?
Yes. I’m completely aware it’s irrational and probably a bit dumb, but I don’t want to use something with a name I actively hate. Some names are "meh" or boring and that’s ok. But for DuckDuckGo and Forgejo I have a visceral reaction against their name.
DuckDuckGo is an even worst offender because their logo is ALSO dumb and terrible, and I don’t want to see it.
jazzyjackson provided the pronunciation guide in a comment above:
> forˈd͡ʒe.jo, to my midwestern ear, "4 Jay yo"
It's totally OK for a project to use words from a foreign language. "Linux" is derived from Finnish Linus (/ˈliːnʊs/) and pronounced /ˈlɪn.əks/, unlike the English Linus - /lɑ́jnəs/.
IMHO Forgejo should have the IPA pronunciation spelled out on the landing page.
> this is why I also don’t use DuckDuckGo
Just how silly "Google" sounded when it first popped up? How Torvalds joked that he named "git" after himself? "Bash" is a play on "Bourne" and "born again"? Silly names are a part of the hacker culture, remaining playful despite the product having huge impact brings color to people's lives.
I knew these examples were coming. Subjectively speaking, these are catchy names, which is why they work. Forjego and DuckDuckGo are not catchy, there's something wrong with their flow. Maybe they're too long or too "breaking", or maybe they don't work internationally (I'm French) somehow, I don't know. I'm not going to write a thesis on why some names don't work, but if someone did I would love it. Silly names are ok but there's a very thin line between "silly" and "annoying". DuckDuckGo definitely crosses it for me.
I assume your argument is: “Everyone who had to learn English as a second language is so used to completely random pronunciation that they won’t complain about anything anymore”.
That is something I have not seen anywhere .
The premise is to leverage format-patch with an ssh app and then rely on range-diff:
I’m curious what others here think
IMO, using Git remotes but with a one-review-unit-per-commit approach like Gerrit has a much better UX. Shipping around diffs has all sorts of sharp edges, especially when you stack multiple changes or binary data, and you end up reinventing native Git functionality but worse.
Phabricator started out as "paste your diff here" and eventually ended up with a CLI tool that reinvented half of the Git CLI.
[1]: https://we.phorge.it
So this is like the email source diff/patching workflow but extended to use ssh instead?
I try and limit my ssh access to servers and endpoints that I control. The attack surface for ssh is actually quite large.
It seems since you are shipping a patch, that it could be signed with your ssh key, but posted over https. This would make running a server way way more portable. Everything else about it seems quite nice.
Since the language is Go, creating an https service should be just as easy correct?
I like the idea of dynamic RSS streams with patches flying around.
Our design philosophy is to not require the project’s git repo in order to enable developers to collaborate.
We are also trying to make this service a supplement to other code forges. Competing with GitHub is a huge uphill battle, instead I’m thinking of this service more as a patch-bin instead of a git collaboration tool for corporate entities
[0] https://forgejo.org/docs/next/user/actions/
[1] https://woodpecker-ci.org/docs/administration/forges/forgejo
The name of the project is horrible
I guess you need to know about the foss ecosystem to know it.
Trying to get "forge" across as some kind of defacto term just adds noise to the product description, I think.
> Examples of such services are: Sourceforge.net, GNU Savanah, Google code
https://en.wikipedia.org/w/index.php?title=Forge_(software)&...
I also don't remember anyone ever calling it a "software forge".
The thing about enshittification is, first you need to eyeballs and brand, before you can sully it. Sourceforge was great for a while.
Yup! That clears it up. It’s the site that serves lots of ads and binary packages of some old software. At least as of the last time I looked some years ago.
Ok then, not sure I would want more things like that today to self host, but to each their own.
I don't really care about the governance model as a user seeing this landing page for the first time, so I wonder why it's so prominent, vs telling me what the actual product is.
a) The network effect that you inherently get with for example github b) The barrier to create accounts on yet another platform to contribute.
In that regards i find the original way of just using email's to send patches just such a brilliant idea, because at least it eliminates my second point completely. That's why i think sourcehut [0] is such a nice idea at least in theory. Though now you have to teach people not only how to use "git" but also how to use "git" via email :D
Available platforms like Codeberg provide the option to sign in/register with GitHub and GitLab auth, so needing "yet another account" has become a much weaker argument.
I regularly have to upload multi GB images to a VPS and it's very annoying when it takes like 10 minutes.
If you're going to use SQLite, make sure you enable the WAL mode on the database. It makes such a huge difference to performance that I don't know why it isn't the default.
If you're going to have multiple concurrent users (or even just one user but a large number of background writing jobs, such as mirroring public repositories), then seriously consider using Postgres. Yes, theoretically it's possible to make SQLite backed applications work fine in this scenario, but Gogs/Gitea/Forgejo has not designed their application like that, so it falls over at surprisingly small sizes and migrating after the fact is painful.
- Not all projects are suitable for hosting by third parties (you may not want to give away the special sauce behind your wannabe next trillion dollar company, or you may be handling sensitive or confidential data like medical records, etc)
- You are immune to the trending process recently referred to as enshittification that consists of providers in a consolidated market like this one giving you an increasingly worse experience to compel you into more expensive plans, i.e. you gain independence and control
- It might be a competitive advantage to your business to still have the lights on when inevitably the centralised platform becomes unavailable to most (think of trading and events like crowdstrike)
Works great. Easy to set up (especially on nixos)
Some Codeberg admins had at some point threatened to blanket ban certain types of projects, notably anything slightly related to blockchain tech and that has always made me cautious of their site.
(couldn't find any on Forgejo's site)