Forgejo is now copyleft, just like Git - eviltoast

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.

  • whou@lemmy.ml
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    2 months ago

    always a pleasure to see big projects going full copyleft amidst the recent influx of projects sadly going source-available

    this is the main reason not to sign a CLA (edit: both the aforementioned projects seem to adopt CLAs, though it seems that they aren’t hostile and are especially pro-copyleft. see this amazing correction by @princessnorah@lemmy.blahaj.zone for context). you should not let a third-party use your copyright to restrict user freedom in the future because they swear “they ❤️ open source” now, and would never use your code to only their own benefit.

    • Norah - She/They@lemmy.blahaj.zone
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      2 months ago

      Except both of the projects you just linked too have CLAs, which they updated on switching to AGPLv3. Both use them as a way to offer dual-licensing, so they can charge companies for an AGPL-exception by selling them a proprietary-licensed version, which then supports the FOSS-development. They both were also only able to change to AGPL because of already existing CLAs. At least in Element’s case though, they created a two-way commitment in their CLA:

      Now, CLAs come in all shapes and sizes: some good and some bad. It’s critical to understand that our reason for requiring one here is to give us the right to sell AGPL exceptions: not to “do a Hashicorp” and switch to a non-FOSS licence in future. We’ve made this clear in the wording of the CLA (using a similar approach to Signal’s CLA) by committing to distributing contributions as FOSS under an OSI-approved licence – many thanks to those who gave feedback on the original announcement to suggest this. You can find the final CLA wording here, derived from the well-respected Apache Software Foundation CLA.

      Here’s the specific text from the CLA:

      Element shall be entitled to make Your Contribution available under Element’s proprietary software licence, provided that Element shall also make Your Contribution available under the terms of an OSl-approved open-source license.

      I personally consider that a fairly reasonable term. Especially because they specified an OSI-approved license. Element are always going to be bound to that now. This is like the copyleft of contributor license agreements.

      • LemoineFairclough@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        2 months ago

        Maybe a more appropriate practice is to only engage with a Contributor License Agreement if the repository one contributes to is already available with the GNU AGPL or one is actually in control of some money the person one contracts with will gain due to one’s changes. For example:

        • Before I contribute to a project, I should make a copy of as many relevant repositories I’m able to and ensure each one is easy to redistribute, and only make changes to my copies. That way, I can continue distributing the improved software if a person I engage in a CLA with does something I don’t like later, but they are still able to apply any change of mine to a repository that gets more attention (thus helping more people). Also, I might get money (as an employee) for doing this, which would prevent that money from being used against the Free Software Movement.
        • If I were a board member, manager, or employee and someone engaged in a CLA with an entity I have influence over, I have a good chance to direct more money to support the Free Software Movement (or block dealing with a person where doing so would be harmful).

        If I have already fixed a software issue, made it clear what license should be used with my change, and made it available to the public, I wouldn’t necessarily be against engaging in a CLA (though I might ask to be paid to do so since I wouldn’t normally go out of my way to manually sign things, and I do value my time).

        FYI I can navigate to https://blog.hansenpartnership.com/why-microsoft-is-a-good-steward-for-github/ from https://drewdevault.com/2018/10/05/Dont-sign-a-CLA.html (using https://blog.hansenpartnership.com/gpl-as-the-best-licence-governance-and-philosophy/ for an intermediary step), so I’m a little suspicious about the author’s thoughts on these matters. I also didn’t find any useful information about the GNU Affero General Public License from the same author, and I consider the GNU AGPL to be important based on https://ploum.net/2024-07-01-opensource_sustainability.html and https://lemmy.world/post/16602135

        • Norah - She/They@lemmy.blahaj.zone
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          Would you not consider signing a CLA (without remuneration) if it binds a project to releasing your code under an OSI license? The only way they could have done better I think is by specifying AGPL instead. I’m not trying to argue that all CLAs are good here, but I don’t think that when they achieve the goals of the free software movement, they should be treated with suspicion or derision.

          Honestly, all of the recent light shone on CLAs is a great thing. But there are still valid reasons to maintain a unified copyright for a project. None of these projects would have been able to move to AGPL without having used a CLA for that purpose. It also allows enforcement of that license via things like litigation, because you can have one entity on the docket, instead of a thousand contributors all defending their copyright.

          I think the correct course of action isn’t to avoid signing one, but to force projects to commit to the social contract of open source in writing. I think there’s also a discussion that no one has earnestly talked about. A contributor license agreement is a contract between two parties, and under contract laws both parties must materially benefit. “I will get x, and you will get y”. This is known as consideration, and courts will nullify contracts that only benefit one of the parties. The only consideration I think there is to be found in most of the CLAs that have been brought up lately, is basically “your code will be merged into the project and released under it”. They don’t specify the continuation of open source, but it’s heavily implied by the aforementioned social contract. So when someone like RHEL goes and closes their source, they’ve essentially changed that contract to “you will sign over your copyright to us, and we will exploit your labour for profit”. That is not consideration, and it calls into question the validity of every single CLA signed. I genuinely think there’s grounds for every RHEL contributor that signed one to form a class and sue, and I would love to see FSF or EFF organising and supporting that sort of effort.

          Back to Element for a second though, as far as I can see, their new CLA is a valid contract, because it gives a right to the contributor, that their code will always be released under an OSI license. So if a successful suit was brought against someone like RHEL, or Hashicorp, we could see other projects scramble to repeat Element here. That would be, in my opinion, a very good thing for the free software movement.

          • LemoineFairclough@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            1
            ·
            edit-2
            2 months ago

            I would probably be most upset if a program had its license changed to be “permissive” like the Expat License. I might accept making a reasonable number of contracts to provide a “proprietary” license that doesn’t give any new person (or corporation) permission to distribute software, but a “permissive” license allows people to work against the Free Software Movement without any oversight.

            That being said, I don’t think I would be satisfied if a contract specified that “an OSI license” will be used: I would prefer for a specific license to be used rather than just one of a class of licenses. However, if an appropriate license is already being used, I wouldn’t have to sign anything to protect myself!

            In general, I’m probably against changing the license of any software: changing a license seems like a lot of work that can probably be better spent elsewhere, and I consider it to be unlikely that any GPL license will need to have a new version anytime soon (they might, and the v3 versions are clearly better to use than any preexisting version, but they might also change for the worse if the FSF changes for the worse), and the GNU AGPLv3 clearly reflects the present state of the art of licensing (so using any other license that is compatible with it would strike me as strange). If I actually had a reason to study any source code that wasn’t available with the GNU AGPLv3 or the GNU GPLv3, I would probably be better off studying the requirements of people who use that software and making my own version with a license I prefer: that way I’d provide more certainty that my changes are available with an appropriate license.

            Changing the license of existing projects is clearly useful sometimes, but adapting proprietary programs for use with more open systems hasn’t been very useful to me so far. For example, I use LibreOffice rather than trying to get Microsoft Word to work with my computer.

            There might be some people who argue that any influence of a GPL license will make their business model less profitable, but if that’s the case we’re already dealing with business, so I might as well receive my fair share of money and influence from the business (or withhold my participation entirely, if that would be less harmful).

            Just to be clear, I’d avoid studying source code only available with the GNU Lesser GPL unless things change.

            FYI, I’m discussing “studying” instead of “changing”, since avoiding even looking at source code of questionable provenance might help protect me from accusations of plagiarism. If someone exploits a computer system to copy source code without permission and shares it with me, and then I make a similar program, the copyright holders whose program I copied might have a justified reason to complain. However, there is less chance of that if I study people’s public messages or even compare the behavior of one program to another, and if I don’t study a program, I probably can’t change it either.

            I’ll note that, despite what I’ve written,

            • I don’t actually scrutinize licenses of repositories very much: if I come up with a useful patch, I’m inclined to share it even if it’s unclear what license will be used with it. However, I do scrutinize the license of programs I install (for example, I like that yast2 lets you see the license of packages before installing them), so I’m more likely to want to contribute to programs that are compatible with a GPL license.
            • I have submitted a patch with text like “By submitting this I give permission to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of this contribution to any person obtaining a copy of this software” that was provided as a template.
            • I wouldn’t complain much if someone got paid $1,000,000 to distribute some software with the Expat License, since I can’t fault them for taking care of themselves.

            FYI, “nominal consideration” is very likely sufficient to establish a contract (“contracts in the United States have sometimes have had one party pass nominal amounts of consideration, typically citing $1”), and a contract is probably hard to neutralize in general due to things like mutual drafting clauses and savings clauses.

  • ampersandcastles@lemmy.ml
    link
    fedilink
    English
    arrow-up
    1
    ·
    2 months ago

    “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.

    • Urist@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      2 months ago

      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.

      • LemoineFairclough@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        2 months ago

        Wealth Tax

        I am against any wealth tax. The revenue services for many governments are very focused on not blocking economic growth, and then periodically taking a reasonable amount of wealth.

        In the end, only wealth can be taxed (things that aren’t physical can’t be seized and auctioned). However, I don’t want to be forced to let someone into my house to calculate how much stuff I have.

        In general, I think it’s more reasonable to monitor wealth moving (and more so if wealth moves between people) rather than to force people to cooperate with monitoring wealth staying in the same place. I don’t want someone checking up on whether I own the same stock certificates or gold bars each year; that seems like an insult to my dignity.

        Enforcement Complications

        Distribution

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

        I don’t think that focusing on people who already pay a disproportionate amount of tax will be very helpful. Rapidly changing what is taxed (wealth vs income) would probably be harmful, as people will probably have trouble adapting to significantly different policies. For example, we’d probably hear about people who happen to have inherited expensive houses being unable to pay thousands of dollars for tax bills, after thinking that they wouldn’t be affected by policy changes.

        Avoidance

        If there was a wealth tax and I was rich enough to spend a lot of time managing my money, I would just create a “charitable organization” that I and my family completely control, then have it pay people to do things I would want them to do anyway, and maybe even try to let the charity pay a high wage to its managers (such that I could be a manager and get the charity to pay for my yearly living expenses, directly or indirectly). I also might be able to get away with using a trust or charitable remainder trust to avoid being affected by a wealth tax.

        I don’t know the degree to which tax exempt organizations affect my life, but I do know that trusts have a relevant affect on my life, since they are often used to own land, specifically by landlords of housing and by people who own land that is worth a lot of money. How they are dealt with would probably have to significantly change in order to accommodate a wealth tax.

        Inheritance Tax

        I’m not sure I’m against inheritance tax, but it might be an unnecessary complication. Treating inheritance like a gift from one person to another at the moment of their death might make things easier for everyone. The policies regarding gifts are relatively clear: https://www.irs.gov/businesses/small-businesses-self-employed/gift-tax https://www.irs.gov/faqs/capital-gains-losses-and-sale-of-home/property-basis-sale-of-home-etc/property-basis-sale-of-home-etc

        However, having separate inheritance law might also make things less painful for some people. If my assets suddenly gained or lost a large amount of value just before I died, I wouldn’t want that to justify taking more wealth from my heirs. Having a special way to value assets gained due to someone dying might be more reasonable than treating each receipt as a gift.

        • bane_killgrind@slrpnk.net
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago

          I thought this was going to be fun satire.

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

          • LemoineFairclough@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            2 months ago

            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.

            • bane_killgrind@slrpnk.net
              link
              fedilink
              English
              arrow-up
              1
              ·
              2 months ago

              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?

        • Urist@lemmy.ml
          link
          fedilink
          English
          arrow-up
          0
          ·
          2 months ago
          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.
          • LemoineFairclough@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            0
            ·
            edit-2
            2 months ago

            Wealth tax does not block economic growth, rather the opposite, because it forces wealth to be reinvested to not lose too much value.

            Do you have a source for this? I see that “wealth taxes have failed in Europe”, and it seems that places with a wealth tax were mostly in Europe: https://en.wikipedia.org/wiki/Wealth_tax https://doi.org/10.1787/9789264290303-4-en

            One example that caught my attention is Belgium, which introduced an “annual tax on securities accounts”, which suggests that they were taxing resources that were invested already.

            I can imagine that it’s possible for government spending to produce more economic growth than would have happened without taxation, but the entire point of money is to have a multitude of people working towards prosperity in ways that can’t be predicted by state authorities, so if there are more taxes it seems likely that economic growth will be reduced.

            Of course, an analysis would have to account for things like using resources from a wealth tax to make cheap/free healthcare available, which might then make people vastly more productive such that any negative effects of a wealth tax are neutralized. Also, providing an obviously higher quality of life might be worth some cost.

            You clearly need a lesson in proportional taxation if you think people would have their personal property appropriated.

            Is a car or shirt or house personal property? It seems things like that are seized in response to people not paying revenue services: https://home.treasury.gov/services/treasury-auctions https://www.treasury.gov/auctions/treasury/gp/index.html https://www.cwsmarketing.com/?p=36139 https://auctions.cwsmarketing.com/auctions/1-9DDP42/gp-dayton-nj-live-wsimulcast-august-21 https://auctions.cwsmarketing.com/lots/view/1-9DE12Y/wearing-apparel-riverside-ca

            I do see that items had bids much higher than I’d expect, and they were being auctioned at the same time watches and jewellery and electric motorcycles and trailers, so I suspect any clothing was “luxury” in some way, or the auction was for more clothing than is documented with pictures.

            I do not give a fuck about you placing your dignity in ownership of material assets, that is a you problem.

            I reference “dignity” because it’s part of “the unshakeable foundation of the Republic of Poland”, and thinking about dignity seems like a good way to tell if something is a bad idea, and I probably wouldn’t feel like I had more dignity than 1 month ago if I was having my car or house seized because I hadn’t paid as much taxes as a revenue service thought I should. I expect that you will have more trouble implementing policies you like if you express that you’re disregarding dignity.

            The top 10% pay less income taxes as a fraction of their income than the bottom 10%.

            I expect that this is true.

            Really, we should remove the capitalist class because they will fight back to the detriment of everyone else.

            I’m certainly for social change, and people with entrenched interests will probably try to hamper it. However, other people might not want to cooperate with you if you remind them of the Soviet Union, and I expect that saying “we should remove the capitalist class” will do that.

            I do not give a fuck about the IRS. I am not an American. My country actually has a wealth tax.

            If you don’t care about the IRS, why are you talking about a wealth tax using English? I suspect that that the majority of people who speak English as well as you do are U.S. citizens, so I’d assume you were interested in speaking to U.S. citizens. Are you trying to talk to people in Europe / worldwide in a common language?

            Who is the target audience for your messages? I’m interested in where/how you’re focusing your efforts.

            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.

            What misinformation am I repeating? I wouldn’t have written a statement that I don’t think is true, so I suggest you point out anything you think is incorrect and explain your perspective, and maybe share a URL for some more interesting sources.

            Note: I originally pressed “Reply” too early by mistake, so I edited this text. Originally I had only written “Is a car or shirt or house personal property?” and one URL.

            • bane_killgrind@slrpnk.net
              link
              fedilink
              English
              arrow-up
              0
              ·
              2 months ago

              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. https://www.pbs.org/newshour/economy/column-much-poor-actually-pay-taxes-probably-think

              Your own numbers are an indicator of massive income disparity.

              • LemoineFairclough@sh.itjust.works
                link
                fedilink
                English
                arrow-up
                0
                ·
                2 months ago

                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).

                • bane_killgrind@slrpnk.net
                  link
                  fedilink
                  English
                  arrow-up
                  1
                  ·
                  2 months ago

                  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.

                • bane_killgrind@slrpnk.net
                  link
                  fedilink
                  English
                  arrow-up
                  0
                  ·
                  edit-2
                  2 months ago

                  That doesn’t take into account non federal tax.

                  https://itep.org/who-pays-taxes-in-america-in-2024/

                  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

  • theshatterstone54@feddit.uk
    link
    fedilink
    arrow-up
    1
    ·
    2 months ago

    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.