-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmetadata-alt.dtd
21 lines (21 loc) · 912 Bytes
/
metadata-alt.dtd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!ELEMENT pkgmetadata (upstream|patches)>
<!ELEMENT patches (patch+)>
<!ELEMENT patch (#PCDATA)>
<!ATTLIST patch status (gentoo-specific|upstream-accepted|upstream-pending) #REQUIRED>
<!ELEMENT upstream (remote-id+|(version-check|no-versioning)|normalize)>
<!ELEMENT no-versioning EMPTY>
<!ELEMENT normalize (rule+)>
<!ATTLIST normalize type (github) #REQUIRED>
<!ELEMENT rule (replace,with)>
<!ELEMENT replace (#PCDATA)>
<!ELEMENT with (#PCDATA)>
<!ELEMENT remote-id (#PCDATA)>
<!ATTLIST remote-id type (gitlab) #REQUIRED>
<!ATTLIST remote-id url CDATA #REQUIRED>
<!ELEMENT version-check (try+)>
<!ATTLIST version-check type (soup) #REQUIRED>
<!ELEMENT try (regexp+)>
<!ATTLIST try url CDATA #REQUIRED>
<!ELEMENT regexp (#PCDATA)>
<!ATTLIST regexp attr CDATA #IMPLIED>
<!ATTLIST regexp tag CDATA #REQUIRED>