Gentoo Archives: gentoo-commits

From: "Joshua Saddler (nightmorph)" <nightmorph@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo commit in xml/htdocs/dtd: metadata.dtd
Date: Thu, 11 Sep 2008 08:20:23
Message-Id: E1KdhPY-0005CP-Pn@stork.gentoo.org
1 nightmorph 08/09/11 08:20:20
2
3 Modified: metadata.dtd
4 Log:
5 added upstream tags to metadata.dtd, bug 234730
6
7 Revision Changes Path
8 1.8 xml/htdocs/dtd/metadata.dtd
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/dtd/metadata.dtd?rev=1.8&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/dtd/metadata.dtd?rev=1.8&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo/xml/htdocs/dtd/metadata.dtd?r1=1.7&r2=1.8
13
14 Index: metadata.dtd
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo/xml/htdocs/dtd/metadata.dtd,v
17 retrieving revision 1.7
18 retrieving revision 1.8
19 diff -u -r1.7 -r1.8
20 --- metadata.dtd 14 Jul 2008 19:48:32 -0000 1.7
21 +++ metadata.dtd 11 Sep 2008 08:20:20 -0000 1.8
22 @@ -5,7 +5,7 @@
23 <!ATTLIST catmetadata pkgname CDATA "">
24
25 <!-- Metadata for a package -->
26 -<!ELEMENT pkgmetadata ( (herd|maintainer|longdescription|use)* )>
27 +<!ELEMENT pkgmetadata ( (herd|maintainer|longdescription|use|upstream)* )>
28 <!ATTLIST pkgmetadata pkgname CDATA "">
29
30 <!-- One tag for each herd this package is assigned to. -->
31 @@ -18,7 +18,9 @@
32 <!ELEMENT longdescription (#PCDATA|pkg|cat)* >
33
34 <!-- The changelog of the package-->
35 - <!ELEMENT changelog (change)* >
36 + <!-- Please note that #PCDATA is mentioned only for the upstream changelog
37 + element, where the content is a URL. This is due to limitations of the DTD -->
38 + <!ELEMENT changelog (#PCDATA|change)* >
39 <!-- The changelog contains various "changes"-->
40 <!ELEMENT change (date,(developer|version|description|file|contributor|bug)*) >
41 <!ELEMENT date (#PCDATA) >
42 @@ -44,6 +46,23 @@
43 <!-- name attribute holds the name of the USE flag -->
44 <!ATTLIST flag name CDATA #REQUIRED >
45
46 + <!-- upstream metadata information (maintainers, upstream docs,..) -->
47 + <!ELEMENT upstream (maintainer|changelog|doc|bugs-to|remote-id)* >
48 + <!-- Due to the limitation of DTD this will also allow a status
49 + attribute for the package maintainer element. Please note that
50 + the usage of the status attribute is nevertheless _only_ allowed
51 + in the upstream maintainer element. -->
52 + <!ATTLIST maintainer status (active|inactive|unknown) "unknown" >
53 + <!-- URL where the location of the upstream documentation can be found -->
54 + <!ELEMENT doc (#PCDATA)>
55 + <!ATTLIST doc lang CDATA "C" >
56 + <!-- location where to report bugs
57 + (may also be an email address prefixed with mailto:) -->
58 + <!ELEMENT bugs-to (#PCDATA)>
59 + <!-- specify a type of package identification tracker -->
60 + <!ELEMENT remote-id (#PCDATA)>
61 + <!ATTLIST remote-id type (freshmeat|sourceforge|cpan|vim) #REQUIRED>
62 +
63 <!-- category/package information for cross-linking in descriptions
64 and useflag descriptions -->
65 <!ELEMENT pkg (#PCDATA) >