aboutsummaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorAndy Scherzinger <info@andy-scherzinger.de>2025-01-08 09:39:19 +0100
committerAndy Scherzinger <info@andy-scherzinger.de>2025-01-08 09:39:19 +0100
commit4d3fbc60914d51ad3c585a07f2315688ac9781ce (patch)
tree2f7f7480b07dafe76ec69f45e476001a5ccc8fe1 /resources
parentc28fceb5d511e22030697e549c618699bce7c205 (diff)
downloadnextcloud-server-4d3fbc60914d51ad3c585a07f2315688ac9781ce.tar.gz
nextcloud-server-4d3fbc60914d51ad3c585a07f2315688ac9781ce.zip
feat: add licenses by SPDX identifier, mark shorthand aliases as deprecated.feat/noid/info-xml-spdx-license-ids
matching the app store change at https://github.com/nextcloud/appstore/pull/1560 Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
Diffstat (limited to 'resources')
-rw-r--r--resources/app-info-shipped.xsd9
-rw-r--r--resources/app-info.xsd9
2 files changed, 18 insertions, 0 deletions
diff --git a/resources/app-info-shipped.xsd b/resources/app-info-shipped.xsd
index a340dde30bd..7a139e50bc5 100644
--- a/resources/app-info-shipped.xsd
+++ b/resources/app-info-shipped.xsd
@@ -374,6 +374,15 @@
<xs:simpleType name="licence">
<xs:restriction base="xs:string">
+ <xs:enumeration value="AGPL-3.0-only"/>
+ <xs:enumeration value="AGPL-3.0-or-later"/>
+ <xs:enumeration value="Apache-2.0"/>
+ <xs:enumeration value="GPL-3.0-only"/>
+ <xs:enumeration value="GPL-3.0-or-later"/>
+ <xs:enumeration value="MIT"/>
+ <xs:enumeration value="MPL-2.0"/>
+
+ <!-- Deprecated -->
<xs:enumeration value="agpl"/>
<xs:enumeration value="mpl"/>
<xs:enumeration value="apache"/>
diff --git a/resources/app-info.xsd b/resources/app-info.xsd
index 76cc02a8431..9b491fd6a05 100644
--- a/resources/app-info.xsd
+++ b/resources/app-info.xsd
@@ -370,6 +370,15 @@
<xs:simpleType name="licence">
<xs:restriction base="xs:string">
+ <xs:enumeration value="AGPL-3.0-only"/>
+ <xs:enumeration value="AGPL-3.0-or-later"/>
+ <xs:enumeration value="Apache-2.0"/>
+ <xs:enumeration value="GPL-3.0-only"/>
+ <xs:enumeration value="GPL-3.0-or-later"/>
+ <xs:enumeration value="MIT"/>
+ <xs:enumeration value="MPL-2.0"/>
+
+ <!-- Deprecated -->
<xs:enumeration value="agpl"/>
<xs:enumeration value="mpl"/>
<xs:enumeration value="apache"/>