New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Clarify <project_license> for documentation #312
Comments
The project license is for the project as a whole, and typically refers to the license for the code (which is GPL-2.0). In SPDX, the `and` operator means that the conditions of both licenses must be adhered to, so the appdata file was previously essentially saying “all code and documentation is subject to a restrictive conjugation of both GPL-2.0 and CC-BY-SA-3.0”. `CC-BY-SA-3.0` is not an FSF or OSI approved license, which resulted in gnome-software interpreting this SPDX phrase as proprietary (see https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1200). Subject to clarification in the appstream spec (ximion/appstream#312), simplify the project license to reflect the top-level code license only.
|
Interesting! I agree with your issue description and solution suggestion - I think clarifying I'm also actually surprised that |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: ximion#312
⇒ #313 |
Signed-off-by: Philip Withnall <pwithnall@endlessos.org> Helps: #312
The `<project_license>` element is intended to state the license of the project as a whole. The SPDX `and` term means that the overall license is the more restrictive union of both given licenses. That means that the SPDX expression `GPL-3.0+ and CC-BY-SA-3.0` is not FOSS. This was causing Hitori to be shown as proprietary software in gnome-software. See ximion/appstream#312 Fix that by only giving the license of the code as the `<project_license>`, ignoring the license of the help manual. Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
|
Do we want to do anything else here? Reading through this all again, it feels to me like making further changes (like adding a Perhaps this can be closed and revisited if a use case arises for exposing additional high-level license data? |
|
Agreed, I think with clarifying the intent of |
The project license is for the project as a whole, and typically refers to the license for the code (which is GPL-2.0). In SPDX, the `and` operator means that the conditions of both licenses must be adhered to, so the appdata file was previously essentially saying “all code and documentation is subject to a restrictive conjugation of both GPL-2.0 and CC-BY-SA-3.0”. `CC-BY-SA-3.0` is not an FSF or OSI approved license, which resulted in gnome-software interpreting this SPDX phrase as proprietary (see https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1200). Subject to clarification in the appstream spec (ximion/appstream#312), simplify the project license to reflect the top-level code license only.
We’ve come across an issue recently where a project gave its license as
I assume (but am waiting to confirm) that this is intended to convey that the code is under
GPL-2.0+and the documentation is underCC-BY-SA-3.0. However, in SPDX,andmeans the terms of both licenses must be complied with, which means that the code must also be licensed underCC-BY-SA-3.0and the documentation must also be licensed underGPL-2.0+.CC-BY-SA-3.0is not FSF or OSI approved so this has the end result ofas_license_is_free_license()saying that this project is proprietary.I think the fix here is for the project to simply use:
since that’s the license for the project as a whole, and
CC-BY-SA-3.0is only used for a portion of it.That leads to the question of how to avoid this situation in future. My suggestion would be the following, but I’m sure many other solutions are possible and might be better:
project_licenseis for the top-level license of the project (typically the one applied to the code, for a software project)<documentation_license>element for exposing the license of the project’s documentation independently of<project_license>The text was updated successfully, but these errors were encountered: