126
submitted 5 days ago by commander@lemmy.world to c/linux@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] Dremor@lemmy.world 8 points 5 days ago* (last edited 5 days ago)

I think you misunderstood what "viral" mean in that context.

If a file, under GPL, is added to a project, the whole project becomes dual licensed under the original licence plus GPL, which propagate to the whole project, like a virus. I know comparing it to something like a virus sound derogative, but this is the best way to describe its effect.

If a file, under MPL, is added to a project, the project do not become MPL, only the added part is. Said project cannot change the MPL licensed part to another licence, but still can build anything it wish using it.

Globally, a GPL licensed project protects the user more, but also prevent the devs from doing a lot of thing, which MPL does not.

In the end, this is the devs freedom to chose which licence they wish to publish their code under, not ours.

[-] Vincent@feddit.nl 1 points 4 days ago

That sounds like exactly what I meant; where the GPL is viral on the project level, MPL is viral on the file level. So if code, under MPL, is added to a file, that whole code becomes MPL.

[-] Dremor@lemmy.world 2 points 4 days ago

Personally, I wouldn't call it "viral" if it does not propagate to other files. It may create a confusion.
On the other hand, I don't think there is an agreed upon terminology to describe it, so if my explanation help someone better understand the concept, I'm all good.

[-] Vincent@feddit.nl 1 points 3 days ago

That makes sense!

this post was submitted on 04 Apr 2026
126 points (97.7% liked)

Linux

63789 readers
478 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 6 years ago
MODERATORS