js-standard-http-error icon indicating copy to clipboard operation
js-standard-http-error copied to clipboard

License text has a inconsistency

Open c-falardeau opened this issue 10 months ago • 1 comments

Hello, in the license description of the repo, I think the summary is misleading, because it says that "You do not have to share your own program's code which uses this program.". Doesn't GNU Affero GPL, derived from GNU GPL, need you to share the code of your program when using this library?

c-falardeau avatar Jan 29 '25 20:01 c-falardeau

Hey! Thanks for caring about licensing.

You're right, Affero GPL does require sharing all of the code, but the license text actually has the same exclusion as LGPL does — only changes to StandardHttpError.js would require sharing, but not your own app code. I've also described this a few times in my other repos. I'll link to one discussion that further elaborates the logic behind the choice: https://github.com/moll/node-mitm/issues/76#issuecomment-1001694246.

In some of my other libs I've already added the WITH addition to the SPDX license identifier (for a total of AGPL-3.0-or-later WITH GPL-3.0-linking-exception license): https://github.com/moll/node-mitm/issues/80. I'll eventually do the same here to hopefully further reduce confusion and help automated tools out.

Does that cover your question? ;)

moll avatar Jan 30 '25 07:01 moll