Skip to main content


Forgejo is now copyleft, just like Git


Forgejo is changing its license to a Copyleft license. This blog post will try to bring clarity about the impact to you, explain the motivation behind this change and answer some questions you might have.


...

Developers who choose to publish their work under a copyleft license are excluded from participating in software that is published under a permissive license. That is at the opposite of the core values of the Forgejo project and in June 2023 it was decided to also accept copylefted contributions. A year later, in August 2024, the first pull request to take advantage of this opportunity was proposed and merged.


...

Forgejo versions starting from v9.0 are now released under the GPL v3+ and earlier Forgejo versions, including v8.0 and v7.0 patch releases remain under the MIT license.

reshared this

in reply to Lemmchen

It means you don't have to release the source code of your software if you use the source code of the open source project
in reply to Fisch

Copyleft software licenses are considered protective or reciprocal in contrast with permissive free software licenses,[2] and require that information necessary for reproducing and modifying the work must be made available to recipients of the software program, which are often distributed as executables. This information is most commonly in the form of source code files, which usually contain a copy of the license terms and acknowledge the authors of the code. Copyleft helps ensure everyone's rights to freely use the product but it prohibits owning, registering copyright and earning royalties from copyright.
This entry was edited (4 months ago)
in reply to Lemmchen

Permissive licenses permit a broader range of use compared to “copyleft” licenses.

“copyleft” here just being a cute way of being the opposite of copyright - instead of disallowing others from what they can do with “copyrighted” code, “copyleft” requires that they (upon request) share modifications to your code.

Permissive takes away this requirement to share your modifications. “copyleft” is considered more free and open source (FOSS), permissive is more business friendly.

in reply to pnutzh4x0r

This entry was edited (4 months ago)
in reply to whou

This entry was edited (4 months ago)
in reply to Norah (pup/it/she)

in reply to LemoineFairclough

in reply to Norah (pup/it/she)

This entry was edited (4 months ago)
in reply to Norah (pup/it/she)

whoa! thanks a lot! that's my mistake.

thanks for the awesome info, I should've at least check the repo of the individual projects first (only did so with Forgejo).

I totally agree with you, and do think that it is possible to have positive and harmless CLAs. though I do think we should always take a step back and not assume that a project's CLA will be in favor of our copyright, with the case being more the exception than the norm, unfortunately.

in the end, I will always be happy that a copyright holder wants to be able to reliably make money with copyleft software, but I can never really face a CLA without at least initial hostility anymore. you may say I have prejudice against CLAs lol

in reply to whou

Yeah honestly these feelings are so bloody valid after the way they've been used lately. It's always good to be sure of these things.
in reply to pnutzh4x0r

Unless you're selling the software or licenses to it, I don't really see a reason not to go copyleft. I mean, think about it. If someone tries to make your thing but better, they have to release the modifications, so you can grab it for yourself and suddenly you're at the same level. If they piggyback off your work, you can piggyback off theirs, and you have the advantage of being the original. Correct me if I'm wrong.
in reply to Thann

Does it? proceeds to compile paid software and release a free package for it
in reply to theshatterstone54

You can do that with permissively licensed software too. Except with those, the party distributing their repackaged version doesn't have to distribute source code alongside it. A lot of companies avoid copyleft software because they don't want to or cannot deal with stricter licensing terms. If you're a company creating commercial software which you intend to sell, you don't want to use any GPL code, because you want to keep your software closed source to avoid exactly what you described from happening.

This can be exploited by primarily licensing your open source code using strong copyleft (like the AGPLv3) while selling commercial licenses to businesses that don't want to comply with the AGPL and are willing to pay up. Qt is able to successfully use this even with weaker copyleft (LGPLv3) because it's used a lot in embedded systems (like smart cars) which cannot comply with the LGPLv3's anti-tivoization clause.

This means copyleft licenses can make it easier to profit if you're the author of the code, but of course third parties can more easily profit from permissive licenses.

in reply to theshatterstone54

Torrenting has existed for a long time, yet people still buy software. There is a lot more to software distribution than traditional product sale.

You want to have frequent fixes, compatibility with modern tools, new features and a trustworthy distribution pipeline. These are all things people and corps are willing to pay for in FOSS software.

This entry was edited (4 months ago)
in reply to theshatterstone54

there’s certainly a camp in FOSS that considers “whatever you like including commercial activity” to be the one true valid version of “free software”

like… if someone wants to take an MIT project, add a bunch of extra features to it keeping some available only with payment, and contribute back bug fixes and some minor features etc, i wouldn’t necessarily say that’s harming the project and this is overall a good thing? it gets the original project more attention

like it’s perhaps a little unfair, but if the goal is quality and scope of the original project - or even broader of the goal is simply to have technology AVAILABLE even if it is with a few - then that goal has been met more with an MIT-like license than it would be with a copyleft license

in reply to pnutzh4x0r

So, for the slow people in the back... (me)

Copyleft = permanently open source? Ie, you can't take the open source code/project and make it closed source? (or build a new closed project off of it?)

Or am I misunderstanding?

This entry was edited (4 months ago)
in reply to Darkassassin07

Yep, that's the gist of it. In order to change the license from the GPL, they'd need the permission of all of the copyright holders who've contributed code under the GPL to the project. After a few months have passed, this basically makes it impossible (or at least extremely difficult) since at least one person (and likely many people) will say no.
in reply to Darkassassin07

Copyleft means: "if you modify the program and share it, you also have to include the source code for your modifications."

The owner of the copyright (usually the developers or their employer) can still change the license later.

in reply to Darkassassin07

AGPLv3 is not anti-business or anti-money. It's saying if you want to use the code in a closed source project you need to pay the copyright holder

The copyright holder is the original author, not a maintainer or someone who forked a project and renamed it.

That's why the #1 thing mentioned in copyleft licenses is you can't alter the copyright notice and declare yourself the original author

AGPLv3 is a good license to choose. All the other licenses are naive and do not combat closed source projects and the slave worker that keeps our projects unfunded

in reply to pnutzh4x0r

Forgejo appears to be a self hostable code sharing web platform like gitea or GitHub. I've used gitea for this. Is Forgejo better or what? There is also Gitlab which is way bloated.
in reply to solrize

It worked from gitea when they went for profit or whatever
in reply to solrize

Its a fork of gitea. It formed when gitea did something that the community didn't like. I don't remember the reasoning. But, I remember someone sending me a bunch of info about it in the past and it was enough for me to switch.
in reply to λλλ

Thanks, I didn't know about that. Gitea itself is a fork of Gogs though. Wheel of karma?
in reply to solrize

You can actually (for now) just replace gitea with forgejo while keeping all the files in place and it just works. Really easy then using docker, cause all it takes is changing the container image.
in reply to Opisek

Thanks. I've run gitea without docker and it was fine. I'll have to figure out docker someday though.
in reply to pnutzh4x0r

I wonder why they didn't go with AGPL, which is made for server-based software like Forgejo.

From my understanding GPL does nothing to force hosting services to open their code as long as they don't distribute builds.

in reply to exu

As someone who worked at a business that transitioned to AGPL from a more permissive license, this is exactly right. Our software was almost always used in a SaaS setting, and so GPL provided little to no protection.

To take it further, even under the AGPL, businesses can simply zip up their code and send it to the AGPL’ed software owner, so companies are free to be as hostile as possible (and some are) while staying within the legal framework of the license.

in reply to thatsnothowyoudoit

simply zip up their code and send it to the AGPL’ed software owner


That seems good enough to me. No?

Sure, it would be nice to have the whole versioning system history,
but even having the current version of the code makes it possible to do a code review.
And modification too.

Self-Building and deployment might turn out to be harder, but that would just be about which side is having to put the effort of making something comprehensive.

in reply to ulterno

Good enough? I mean it’s allowed. But it’s only good enough if a licensee decides your their goal is to make using the code they changed or added as hard as possible.

Usually, the code was obtained through a VCS like GitHub or Gitlab and could easily be re-contributed with comments and documentation in an easy-to-process manner (like a merge or pull request). I’d argue not completing the loop the same way the code was obtained is hostile. A code equivalent of taking the time (or not) to put their shopping carts in the designated spots.

Imagine the owner (original source code) making the source code available only via zip file, with no code comments or READMEs or developer documentation. When the tables are turned - very few would actually use the product or software.

It’s a spirit vs. letter of the law thing. Unfortunately we don’t exist in a social construct that rewards good faith actors over bad ones at the moment.

This entry was edited (4 months ago)
in reply to thatsnothowyoudoit

Or it could just be laziness.

In case you don't want to put the effort into making a system into your organisation, to update code in a public-facing versioning system hosted setup, just tell someone to zip whatever you compiled and package it along with the rest of the stuff.

  • Packaging the whole .git directory would make it significantly larger
  • This method is bankruptcy-safe, as compared to hosting on the internet.
    • Ideally, I would like there to be both, a zip (in case I don't have an internet atm) and a link to the vcs


  • Yes, the companies mostly don't care enough and people doing it won't think of it as being hostile, just as putting the least effort.
in reply to exu

It seems there was a pre-existing agreement to use the GNU GPL with Forgejo, and it seems to me that the GNU AGPL is not compatible with the GNU GPL.

There is more discussion about that around codeberg.org/forgejo/discussio…

I'm assuming that there has been some resistance to using the GNU AGPL with Forgejo (it seems the discussions about licenses has been contentious), and the GNU GPL seems to have been discussed much more than the GNU AGPL. It was probably overwhelmingly likely that we would get Forgejo with the GNU GPL rather than the GNU AGPL. I would have preferred that the GNU AGPL was used instead, but I'm not going to worry about it much since I probably can't change this situation for the better.

in reply to LemoineFairclough

You're right, seems like GPLv2 is incompatible with AGPL. GPLv3 includes extra clauses to allow it.

From the GNU Licensing page

Please note that the GNU AGPL is not compatible with GPLv2. It is also technically not compatible with GPLv3 in a strict sense: you cannot take code released under the GNU AGPL and convey or modify it however you like under the terms of GPLv3, or vice versa. However, you are allowed to combine separate modules or source files released under both of those licenses in a single project, which will provide many programmers with all the permission they need to make the programs they want. See section 13 of both licenses for details.
in reply to exu

Exactly. They obviously didn't research licensing enough.

Closed source projects need to pay for licensing. Or they will force you to work for them designing web forms and smartphone apps

Am i wrong?

in reply to ArtVandelay

giveupgithub.org/
in reply to ArtVandelay

Ever since I read this Article I have been wanting to delete my GitHub account and migrate over to another platform. I would give a summary but I'm incapable of doing so.

If this info is outdated or misinformation then please let me know.

This entry was edited (4 months ago)
in reply to Comexs

So the OSS projects that have been closed due to Cease and Desist notices are actually still viewable !?
in reply to ulterno

The entire network is nuked in those situations, there are no accessible forks left.
in reply to ArtVandelay

I recently migrated from Github to Codeberg and it was super easy. You can also backup your code automatically from Codeberg to Github just in case.
in reply to pnutzh4x0r

giveupgithub.org/
in reply to LemoineFairclough

So ironic how github is not open source and
Github desktop is not on linux
in reply to LemoineFairclough

GitHub has long sought to discredit copyleft generally. Their various CEOs have often spoken loudly and negatively about copyleft, including their founder (and former CEO) devoting his OSCON keynote on attacking copyleft and the GPL. This trickled down from the top. We've personally observed various GitHub employees over the years arguing in many venues to convince projects to avoid copyleft; we've even seen a GitHub employee do this in a GitHub bug ticket directly.


You only need to know that corporations do not like copyleft to know it is good. The same goes with capitalists and wealth tax / inheritance tax.

in reply to Urist

It really applies to anything. Whenever you read of policy related arguments always look at the people complaining. Rule of thumb is it gives you a good idea of who the policy hurts the most. If it's large companies or rich people complaining by and large it's probably a good policy.
in reply to Urist

This entry was edited (4 months ago)
in reply to LemoineFairclough

FYI, I think that focusing on proportional representation electoral reform is the best way to increase respect to the inherent dignity of the person, and that .

I happen to be interested in tax policy, but I would prefer for the electoral system to improve before tax policies change.

See also !fairvote@lemmy.ca / sh.itjust.works/comment/127086…

in reply to LemoineFairclough

  1. Wealth tax does not block economic growth, rather the opposite, because it forces wealth to be reinvested to not lose too much value.
  2. You clearly need a lesson in proportional taxation if you think people would have their personal property appropriated.
  3. I do not give a fuck about you placing your dignity in ownership of material assets, that is a you problem.
  4. The top 10% pay less income taxes as a fraction of their income than the bottom 10%.
  5. Really, we should remove the capitalist class because they will fight back to the detriment of everyone else.
  6. I do not give a fuck about the IRS. I am not an American. My country actually has a wealth tax.
  7. You are repeating misinformation and capitalist propaganda with little understanding of what you are saying. Have you even reflected on what "the economy" really is? If you are a trickle-down Reaganomics-follower, you might want to get your brain checked.
in reply to Urist

This entry was edited (4 months ago)
in reply to LemoineFairclough

The top 10% as a whole pays 71.22%, while the bottom 50% of taxpayers account for only 2.89% of all income taxes.


This is misinformation, because it paints a picture of the rich being hard done by.

The bottom 50% pays an actual tax rate that is a higher percentage of their earnings than the top 50%. The richer you are, the more opportunity you have to reduce your tax burden. pbs.org/newshour/economy/colum…

Your own numbers are an indicator of massive income disparity.

in reply to bane_killgrind

It's not actually higher:

taxfoundation.org/data/all/fed…

Top 1% pay 25.9% of their income to taxes, bottom 50% pay 3.3%

in reply to iopq

That doesn't take into account non federal tax.

itep.org/who-pays-taxes-in-ame…

This says it more explicitly.

using a more realistic definition of income that includes unrealized capital gains, they found that the same 25 Americans paid just 3.4 percent of their income in taxes during that period. If unrealized capital gains were included in these estimates, ITEP, too, would calculate a much lower effective tax rate for the rich
This entry was edited (4 months ago)
in reply to bane_killgrind

Also, reported income is not the same for regular people and the top 1%. Tax evasion techniques makes it seem as if they have way less income than they really have.

EDIT: I do realize some of this could be incorporated into the statement of your quote above.

This entry was edited (4 months ago)
in reply to iopq

Not you.. but yes it's possible and generally it creates financial bubbles. Basically using your capital as collateral on your mortgage. An example: youtube.com/watch?v=vpV1FS-gRZ… (4:50)
in reply to chebra

But then I'd have to take out loans to pay my taxes which is absurd. I'll have to pay taxes on money that I don't physically have
in reply to iopq

You asked about rent, not taxes. They actually avoid taxes in this way. And yes, using money they don't physically have is exactly the source of all financial bubbles.
This entry was edited (4 months ago)
in reply to chebra

I'm saying you can't pay with paper money, you must pay with real money for everything.

I'm not against considering loans against unrealized assets as realization (with stepped up basis) since the person taking out said loan can use it to pay said tax.

in reply to iopq

People do this exact thing all the time. Taking on debts to keep cashflow or avoid taxes is normal.

If you are just sitting on unproductive assets instead of realising their value in some way, you are doing the wrong thing.

You should be able to gain revenue from the asset or it wouldn't have appreciating value.

All your comments don't make sense, it's like you just want to take from the economy without giving anything back.

in reply to bane_killgrind

Let's say I give $100,000 to a friend that starts a start-up. You claim after some years that investment is worth $1,000,000 and want me to pay $150,000 tax

I take out a loan for $150,000 because the startup didn't make any profit. The startup goes bust. I now have a $100,000 loss and I paid $150,000 in taxes. Thankfully I can write $3000 off on my taxes every year until I die!

in reply to iopq

If the startup made no profit it would never be worth 1000000. You would only have a capital gain if value was realizable.

If you never made a dime from your initial 100000 investment you would sell off the asset at that point instead of paying taxes.

If you were too dumb to sell parts of your assets, and instead chose to be cash negative or fail to pay your taxes, you kind of deserve to lose everything because you were too stubborn to receive advice from anybody.

in reply to bane_killgrind

Amazon had its first profitable year in 2003. It was worth 21 billion dollars.
in reply to iopq

Yes, but how much cashflow did it have, and how much in dividends did the individual stakeholders receive.

It never didn't pay it's taxes afaik

Edit: I'm fact checking myself, Amazon's strategy is reinvesting all profits to support further growth. They were never in a position like the other poster is describing.

This entry was edited (4 months ago)
in reply to bane_killgrind

There were companies that didn't survive the dot com crash despite being worth billions. Amazon is a company you would recognize, even though a better company is pets.com

If you bought their stock you would be very rich for a very short while until it went bankrupt

in reply to bane_killgrind

Did I say zero revenue? I said didn't make a profit. Lots of companies made money, but couldn't make more money than they spent. You can easily have an investment that is valued high that you can't cash out

Let's say you bought some stock now, at the end of the year it's worth $1,000,000 and you get charged $150,000 in April. Big problem, the brokerages stopped allowing you to sell the stock and it crashed down, so now your GameStop stock is worth $100,000

How do you pay?

in reply to iopq

You don't pay... This is a solved problem, wealth gain/loss would work the same way as capital gain/loss

You can use a net capital loss to reduce your taxable capital gain in any of the 3 preceding years or in any future year.


canada.ca/en/revenue-agency/se…

It feels like people that don't like this don't actually know how to whole system is supposed to work.

in reply to bane_killgrind

I forgot the most obvious example:

If you bought a house for $200,000 and when you retire it's worth $1,000,000 the government shouldn't demand you pay a percentage of your "gain" for the rest of your life or until you are forced to sell it.

in reply to bane_killgrind

You are saying you want to tax retired people with no income just because they have a place to live in. Should we kick them out for nonpayment of said taxes too? Because that's what would happen. It happens in states with property taxes, but now you want to take it national.

This is the problem with leftists. This message would be an extremely bad electoral platform.

in reply to iopq

Zero cashflow retirees are not a thing.

ALL states have property tax.

You don't know what you are talking about if you don't understand how taxes are offset and credited. You are just whining about not wanting to participate in society.

Taxes pay for things, go get educated.

This entry was edited (4 months ago)
in reply to bane_killgrind

They have social security and some of them have savings. My mom is planning to retire in West Virginia and she's already planning on selling her current residence to build a house there. She chose a low property tax state on purpose.

At this point she would only receive social security and start to go through her savings to live. You want to start charging her federal taxes the moment her property is worth $1 more than what she bought it for, even though she's on fixed income.

in reply to iopq

Yup. And then credit it against standard deduction rates so that 🤡s owning multiple unoccupied homes pay real amounts while your grandmother pays pennies

Like a normal tax system, you doink

in reply to bane_killgrind

She owns one home now and one plot of land. She doesn't own multiple unoccupied homes. She's also my mother, not my grandmother
in reply to iopq

Are you a bot or something?

Please answer in ASCII semaphore or French if you don't know semaphore.

in reply to bane_killgrind

I think the tax system in the USA is designed to reward people who form corporations and then get people employed. People who are employed don't have as much time to work on reforming institutions, so giving a tax break for employing people makes powerful people's lives easier. In order to keep this process revenue neutral, earned income is taxed instead of taxing business as much. After extracting money from people's labor (since labor is clearly necessary in order to create wealth), the remainder of budget needs is made up from whatever resources are easily available (which is currently the assets of rich people, since they have been given a lot of money to get people employed).
in reply to LemoineFairclough

Yeah dude. The value of these corporations in inflated or neutral at best. Corporations pop up that are solely created to shelter or exploit to expand wealth.
in reply to LemoineFairclough

This entry was edited (4 months ago)
in reply to Urist

I would give up my US citizenship if it were passed. It's enough I live abroad and still pay taxes for my dividends. If you start taxing my investments directly, I'll have to get a different passport
in reply to iopq

The US is the only country I know of that practises this.
in reply to Urist

I've been told Hungary does, though I haven't heard much about it until recently: uscisguide.com/dual-citizenshi…

I've also been told South Africa and Eritrea do, and I wouldn't be surprised if places like North Korea and Turkmenistan do too.

Somehow Hungary gets a score of 30/50 for taxation for 2024 from nomadcapitalist.com/nomad-pass… (United States and South Africa and Eritrea get 10, North Korea and Turkmenistan get 20) but I'd be suspicious of anywhere with a lower rating than 30.

in reply to LemoineFairclough

I thought this was going to be fun satire.

You don't really know how anything works if you think all this.

in reply to bane_killgrind

How do things work? I provided my perspective, partly so that I could refer to it later, so it would be enlightening to learn about yours.
in reply to LemoineFairclough

Nah

Question is, do you know how much the tax revenue is in your area

Is that tax revenue transaction based or wealth based

Would taxing in your paradigm be reasonable or sustainable in the context of the government expenditures in your area?

in reply to pnutzh4x0r

This is gonna stop corporations from making a closed source ver of forgejo
in reply to pnutzh4x0r

"Copyleft licenses do not only benefit the developers. They also guarantee freedoms to users of the software. They reduce the risk of exploitive business practices, like creating a modified version of Forgejo with less freedoms to the users, which could ultimately trap users in a vendor lock-in."

God, you absolutely love to see it. So called "permissive" licenses should be banned because of this.