this post was submitted on 07 Apr 2025
96 points (93.6% liked)

Technology

68595 readers
4416 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related news or articles.
  3. Be excellent to each other!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, this includes using AI responses and summaries. To ask if your bot can be added please contact a mod.
  9. Check for duplicates before posting, duplicates may be removed
  10. Accounts 7 days and younger will have their posts automatically removed.

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] sugar_in_your_tea@sh.itjust.works 0 points 4 days ago* (last edited 4 days ago) (1 children)

The code being distributed under a source available license does not give you a right to take it, modify it, or redistribute it.

I would add in "automatically" there. Source-available licenses could give you the right to modify it and redistribute it, or it may not. For example, the Unreal Engine is proprietary and covered by a source-available model, and you can redistribute it to other license holders (must accept certain terms and conditions), and even then w/ restrictions. So you can take it, modify it, and redistribute it, but there are a handful of very important asterists there.

Basically, if you don't recognize the license as one of the major ones (Apache, BSD, MIT, (L|A)GPL, etc), then treat it as source-available w/ no rights other than reading it until you actually read and understand the license.

even if it is FOSS, it might still have a restrictive license

Likewise, this is definitionally untrue. The whole purpose of FOSS is to give you the four freedoms.

That depends on your definition of "restriction."

If you use a copyleft license, you could be restricted from using proprietary plugins, since you'd have to release the source of those plugins if a user accesses it in a covered way, and you don't have the right to do that. That sounds like a restriction to me, and it doesn't apply to more permissive licenses like BSD or MIT.

[–] tabular@lemmy.world 3 points 3 days ago (1 children)

The intent of copyleft is to ensure freedoms for the recipients of derivatives of your works. In software that means the users of forks. Copyleft restricts you to the same license (or a compatible one) to prevent you adding more restrictions. ""More permissive"" software licenses can be redistributed with the same license but often it's a more restrictive license (e.g. MIT -> proprietary).

[–] sugar_in_your_tea@sh.itjust.works 1 points 3 days ago (1 children)

You can't remove the license, say MIT, or add any restrictions to the code. You can combine it with other works and distribute the combined work under different terms, provided you still abide by the terms of the license (e.g. source distributions need to retain the license, binary distributions don't).

Copyleft forces modified distributions to have the same terms as the copylefted software. If you have some MIT code and some GPL code and you combine it, the combined work is GPL. Likewise if you combine proprietary code and GPL, the combined work is GPL, and that'd regardless of how it's distributed.

Permissive licenses protect the source as it was when it was combined into the other work. Copyleft licenses enforce distributed changes to the source are made available under the same license. Which one you want depends on what "freedoms" you want. Do you want the freedom to use the source however you want, including with proprietary code? Then you want a permissive license. Do you want to ensure that any changes to the code are always available? Then you want copyleft code.

[–] tabular@lemmy.world 2 points 3 days ago* (last edited 3 days ago) (1 children)

With the minimal amount of work added the combined work can now have added restrictions. They're pushover licenses.

Devs are free to choose whatever license they want but in the pathfinding problem of interacting with others then "protecting the source" is the wrong target node. Copyleft is a tool to help people.

Your first paragraph is a bit misleading.

DetailsLet's use an example of the MIT license, perhaps the most permissive (license text below).

This license only applies to the source code, so it allows you to distribute executables under any terms you like. So the combined work here is not under the terms of the MIT license, but whatever terms the distributor wants.

If the combined work is distributed in source form, then any modifications you make are under the MIT license unless you make it explicit which parts are licensed differently. If users don't like the license terms for your changes, they can remove them and be subject to only the terms of the code they keep. You cannot change the terms of existing code.

Since the MIT license doesn't obligate users to release their modifications or combined work, it's more attractive to businesses, and businesses frequently upstream their changes to reduce their own maintenance burden. A lot of changes are not upstreamed though.

MIT license textCopyright © 2025

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Choice of license depends strongly on how you want others to use it. If you want it to appeal to businesses as a library (and attract fixes from their full-time devs), a permissive license is a good bet. If you want it to be a community developed thing or perhaps an application, copyleft can make a lot of sense. I've like all FOSS licenses and I've released projects under everything from the MIT license to the AGPL.

My preferred license barring any other considerations is the MPL (copyleft at the file level), but there are usually other considerations.

My only ask is that people use a standard license instead of DIYing one (or not using one). You can also change your license at any time, provided you're the only contributor or every other contributor agrees (otherwise you'd need to selectively remove their contributions).