make repomirror a little easier to use
This commit is contained in:
parent
6e9042f023
commit
9b5b460496
@ -16,6 +16,10 @@
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="e_repomir_ignoreExit">
|
||||
<xs:attribute name="returns" type="t_repomir_returnCodeList" use="required"/>
|
||||
</xs:complexType>
|
||||
|
||||
<!-- Commented out; we don't bother with SSH variants. See also e_repomir_upstream -->
|
||||
<!--
|
||||
<xs:complexType name="e_repomir_sync_proto">
|
||||
@ -43,7 +47,7 @@
|
||||
<xs:element name="port" minOccurs="0" type="t_net_port"/>
|
||||
<xs:element name="path" minOccurs="1" type="t_unix_dirpath"/>
|
||||
</xs:all>
|
||||
<xs:attribute name="delayCheck" type="xs:duration" use="optional" default="P0Y0M2DT0H0M0S"/>
|
||||
<xs:attribute name="delayCheck" type="xs:duration" use="optional"/>
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
||||
|
@ -3,6 +3,10 @@
|
||||
elementFormDefault="qualified"
|
||||
attributeFormDefault="unqualified">
|
||||
|
||||
<xs:simpleType name="t_repomir_returnCodeList">
|
||||
<xs:list itemType="xs:integer"/>
|
||||
</xs:simpleType>
|
||||
|
||||
<xs:simpleType name="t_repomir_synctype">
|
||||
<xs:restriction base="xs:token">
|
||||
<xs:enumeration value="rsync"/>
|
||||
|
@ -28,6 +28,7 @@
|
||||
<xs:element name="mountCheck" type="t_unix_dirpath" minOccurs="1"/>
|
||||
<xs:element name="owner" type="e_repomir_owner" minOccurs="0"/>
|
||||
<xs:element name="rsyncArgs" minOccurs="0" maxOccurs="1" type="t_unix_args"/>
|
||||
<xs:element name="rsyncIgnore" minOccurs="0" maxOccurs="1" type="e_repomir_ignoreExit"/>
|
||||
</xs:choice>
|
||||
</xs:sequence>
|
||||
<xs:attribute name="name" type="xs:ID" use="required"/>
|
||||
|
Loading…
Reference in New Issue
Block a user