summaryrefslogtreecommitdiffstats
path: root/resources
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-09-17 12:22:42 +0200
committerGitHub <noreply@github.com>2020-09-17 12:22:42 +0200
commitec07ca2abbc88f395b8eeedc4b2e5b679018a673 (patch)
treeebeb07894b1855aa6dcd94c2bd970c2248324b1a /resources
parentc9639f3956e4591f57718d3f2be512e4cdfd2bba (diff)
parent04eb1bb949f7db62c7b6d5c88a8fc1d6da935f70 (diff)
downloadnextcloud-server-ec07ca2abbc88f395b8eeedc4b2e5b679018a673.tar.gz
nextcloud-server-ec07ca2abbc88f395b8eeedc4b2e5b679018a673.zip
Merge pull request #22844 from nextcloud/enh/richdocumentscode-arm
Support architecture limitations for apps and allow richdocumentscode_arm64 though htaccess
Diffstat (limited to 'resources')
-rw-r--r--resources/app-info.xsd15
1 files changed, 15 insertions, 0 deletions
diff --git a/resources/app-info.xsd b/resources/app-info.xsd
index 7c0f04efb59..f03fd0ed402 100644
--- a/resources/app-info.xsd
+++ b/resources/app-info.xsd
@@ -97,6 +97,10 @@
<xs:selector xpath="dependencies/database"/>
<xs:field xpath="."/>
</xs:unique>
+ <xs:unique name="uniqueArchitecture">
+ <xs:selector xpath="dependencies/architecture"/>
+ <xs:field xpath="."/>
+ </xs:unique>
<xs:unique name="uniqueLib">
<xs:selector xpath="dependencies/lib"/>
<xs:field xpath="."/>
@@ -552,6 +556,8 @@
maxOccurs="1"/>
<xs:element name="nextcloud" type="nextcloud" minOccurs="1"
maxOccurs="1"/>
+ <xs:element name="architecture" type="architecture" minOccurs="0"
+ maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
@@ -613,6 +619,15 @@
</xs:restriction>
</xs:simpleType>
+ <xs:simpleType name="architecture">
+ <xs:restriction base="xs:string">
+ <xs:enumeration value="x86"/>
+ <xs:enumeration value="x86_64"/>
+ <xs:enumeration value="aarch"/>
+ <xs:enumeration value="aarch64"/>
+ </xs:restriction>
+ </xs:simpleType>
+
<xs:complexType name="repair-steps">
<xs:sequence>
<xs:element name="pre-migration" type="steps" minOccurs="0"