-
Notifications
You must be signed in to change notification settings - Fork 138
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
More detailed licensing information #1274
More detailed licensing information #1274
Comments
I was about to create a similar issue, the license field currently does not allow distinguishing @bigcat88 What do you think about moving to SPDX identifiers only and keeping the old values for compatibility? I don't think there is a way to really deprecate an enum value, but it should be removed eventually. |
To make the transition simple, we can:
or
|
I think there is confusion about this: (BTW I would also love to see SPDX identifiers for license 😅 ) |
Exactly, this is about the appinfo.xml <license> element |
Two more questions:
|
IMHO, this means "AGPL-3.0 or later" because when Andy added the SPDX headers to AppAPI, he specified an |
The old values should still be allowed, but a warning should be show or something like that. Best way is probably to also limit the allowed values in the xsd and hope that the info.xml linter will catch it in all repos. Given that currently only a limited set of licenses is allowed we should continue this path for now and just replace them with the proper SPDX identifiers.
This is exactly the problem, we don't know.
I think for software developed by employees we can safely assume this because everyone works under this license. |
My opinion: I would still do it through an enum of all possible SPDX license identifiers, since we are already switching to REUSE and SPDX. For old types of licenses, we just need to decide what to change them to when an application with an old license is uploaded(or when licence type is displayed), and think about how to tell everyone that they must update the license field within a year or two, for example. The ability to specify anything in the license field seems unnecessary to me. |
I'm not sure what the original intention of limiting the allowed licenses was. I don't think we really want to allow most licenses. Probably only everything that is compatible with AGPL-3.0. Again @AndyScherzinger your input would be very helpful on this topic. |
In the app store dev database, I see that |
Note that this is not always true. There are code based of apps that are agpl3 only (eg everything from OC time) |
Happy to comment while not going to deep into the rabbit whole since SPDX license identifiers can also be combined with AND and OR... But let's not go down that road. So with
I agree with @provokateurin statement to extend the list by adding further items (SPDX license identifiers) for compatibility reasons. I would also agree to not add all identifiers out there (the list is very long...). So I would add the ones that reflect the original list in the
On the repos where I added the SPDX header I checked this explicitly. As mentioned by other above already. Nextcloud when founded in 2016 decided to go with AGPL3+, also on existing repositories from the oC times where in most cases AGPL3 (ONLY) has been used. In the later case the overall license is locked on AGPL3-ONLY. So yes, I did and could choose AGPL3+ for AppAPI because it was built by Nextcloud with no history "before the fork" hence not AGPL-3-only. In general: |
beware that the server also ships an XSD for this... so that one needs to be updated as well. I can't say if that causes issues, maybe check back with @nickvergessen . I think he mentioned something some time ago with respect to the schema file and changing enums... So it might cause compatibility issues (in cases where old servers with old XSDs validate the info xml) |
Since we can likely not just drop the current/old enum values, what is the best way to tell everyone that they should use the new ones? |
Please don't there are too many debugs no one can do anything about already ...
Please don't as it will just fail the release action and have many people with no clue ask questions what to do, and no one can give them a legally binding answer. |
Should be done, yeah. the only difference is that the server one allows the default_enabled element iirc. |
See my comments in #1560 Also this can only be merged after the same PR has been merged on server v31, to ensure v31.0.0 (and later) won't break. |
It would be helpful to include more detailed licensing information for all apps: E.g., AGPL-3.0-only or AGPL-3.0-or-later is a difference (I used spdx license codes, here).
See NixOS/nixpkgs@c317dce for an example where this creates problems. In NixOS, the purpose is to package the apps so that Nextcloud can be declaratively configured and automatically deployed with particular apps.
The text was updated successfully, but these errors were encountered: