I think the issue is when you fork that code, or does simply using a library package entail you have to open source the project you use it into? Genuine question.
Depends on the license. IANAL. It varies by the license. MIT requires no sharing. I know there’s some FOSS licenses that require you to share any modifications if you allow users to connect publicly to your app. Most only require you to share if you directly modify the library and distribute it.
It depends on a whole lot more than what the others mentioned. What's the license? Is the code in question being distributed or not? How does the code interact with the package--static link, dynamic link, scripting language import, what? Is the code being modified?
I am a lawyer. I am not your lawyer, and none of this is legal advice. I've worked in this field for years, and it's fairly complicated.
Though technically speaking most code that's being distributed that way is in source, and so already visible. It may be compacted, but I assume not explicitly obscured.
So static HTML, CSS and JavaScript that leaks on GitHub (or anywhere else) is different from say Java code that only ever runs on the server and nobody outside Twitter has seen in any form.
To be pedantic, the GPL doesn’t restrict your rights at all - it offers you rights you wouldn’t normally have when interacting with someone else’s software.
Depends on whose point of view you look at it with.
As the developer of the software the licence restricts, without it, you could do whatever you want, share source or not.
With the licence, those options are restricted, (either now you must / mustn't, depending on the licence). (excepting of course if you are just setting the license for software you wholly developed, then the licence isn't really adding or restricting you, you are deciding to restrict people that make further use of your code)
As a user of the software, you are right, GPL does add rights.
Edit: I forgot copyright is a thing... as /u/DigitalPoet_ pointed out below... and without copyright laws licences are meaningless/unnecessary so yeh... this whole comment was pretty dumb.
No. Without a license, the rights to reproduce (which, in software you have to do to use it as a library) stand with the copyright holder alone. A license grants some of those rights, held by the copyright holder, to a wider audience.
110
u/ghostinthekernel Mar 27 '23
I think the issue is when you fork that code, or does simply using a library package entail you have to open source the project you use it into? Genuine question.