diff options
author | Julius Härtl <jus@bitgrid.net> | 2020-09-14 10:47:38 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2020-09-17 08:55:15 +0200 |
commit | 04eb1bb949f7db62c7b6d5c88a8fc1d6da935f70 (patch) | |
tree | da7ed58d552a8766efa5996c616e98c6ca28a016 /resources | |
parent | 364b96d5b9cf98839364eba2d20ac91ad5dfd834 (diff) | |
download | nextcloud-server-04eb1bb949f7db62c7b6d5c88a8fc1d6da935f70.tar.gz nextcloud-server-04eb1bb949f7db62c7b6d5c88a8fc1d6da935f70.zip |
Allow to specify supported architectures in appinfo.xml
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/app-info.xsd | 15 |
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" |