vlasovskikh / funcparserlib

Recursive descent parsing library for Python based on functional combinators
https://funcparserlib.pirx.ru
MIT License
338 stars 38 forks source link

Some of the documenation files have a non-free license #64

Closed glaubitz closed 2 years ago

glaubitz commented 3 years ago

The doc folder contains multiple files with the license "Creative Commons Attribution-Noncommercial-Share Alike 3.0" which makes those files non-free from a distribution point of perspective and therefore make shipping them with a Linux distribution harder.

Would it be possible to relicense those files or drop them altogether to avoid these licensing issues?

vlasovskikh commented 3 years ago

@glaubitz Could you please give some pointers to more information on why the Creative Commons Attribution-Noncommercial-Share Alike 3.0 license is non-free and what problems it causes for a Linux distribution?

glaubitz commented 3 years ago

The license excludes commercial use which means it cannot be freely distributed by Linux distributions - which explicitly allow to be used commercially.

From the license text [1]:

You may not exercise any of the rights granted to You in Section 3 above in any manner that is primarily intended for or directed toward commercial advantage or private monetary compensation. The exchange of the Work for other copyrighted works by means of digital file-sharing or otherwise shall not be considered to be intended for or directed toward commercial advantage or private monetary compensation, provided there is no payment of any monetary compensation in con-nection with the exchange of copyrighted works.

Someone who installs an Ubuntu system which ships the package on their company computer, will violate the license, since using Ubuntu on a company computer qualifies as commercial use.

[1] https://creativecommons.org/licenses/by-nc-sa/3.0/legalcode

vlasovskikh commented 3 years ago

@glaubitz Would it help if I changed the license to Creative Commons Attribution-ShareAlike 4.0, removing the non-commercial use requirement?

glaubitz commented 3 years ago

According to debian-legal, this license is considered to be free: https://wiki.debian.org/DFSGLicenses#Creative_Commons_Attribution_Share-Alike_.28CC-BY-SA.29_v4.0

So, yes. All the licenses mentioned in the wiki as "DFSG-compatible" are considered free by Debian (and consequently all other distributions).

glaubitz commented 3 years ago

Any update on this? Would be great if the license could get changed and a new version released so that we can update the package in openSUSE as otherwise the package would have to be moved to the non-free section which I would like to avoid.

Debian currently applies a temporary workaround which repacks the original tarball with those files removed but I don't consider this an ideal solution.

vlasovskikh commented 3 years ago

@glaubitz Yes, I've been preparing a new release. I will remove the docs from the distribution and leave them only in the Git repository. I will also replace the license to MIT (the license of the funcparserlib source code), but I guess it won't matter because the docs will no longer be a part of the distribution.

vlasovskikh commented 2 years ago

I've published a pre-release version funcparserlib 1.0.0a0 that doesn't include these documentation files. Feel free to try it:

pip install funcparserlib==1.0.0a0