Gentoo Archives: gentoo-dev

From: "Michał Górny" <mgorny@g.o>
To: gentoo-dev@l.g.o
Cc: qa@g.o, djc@g.o, "Michał Górny" <mgorny@g.o>
Subject: [gentoo-dev] [PATCH dtd] Remove outdated definition of global-scope <changelog/>
Date: Wed, 02 Mar 2016 11:38:34
Message-Id: 1456918697-5518-1-git-send-email-mgorny@gentoo.org
1 Remove the long form of <changelog/> element that was likely used (or
2 supposed to be used) in the global metadata scope. It is currently
3 referenced in <upstream/> element only, and judging from the comments,
4 it is supposed to always be a URL there.
5 ---
6 metadata.dtd | 25 ++-----------------------
7 1 file changed, 2 insertions(+), 23 deletions(-)
8
9 diff --git a/metadata.dtd b/metadata.dtd
10 index 101478a..5bc8c39 100644
11 --- a/metadata.dtd
12 +++ b/metadata.dtd
13 @@ -30,29 +30,6 @@
14 <!-- The meaning of sub-SLOTs for the whole package -->
15 <!ELEMENT subslots (#PCDATA)* >
16
17 - <!-- The changelog of the package-->
18 - <!-- Please note that #PCDATA is mentioned only for the upstream changelog
19 - element, where the content is a URL. This is due to limitations of the DTD -->
20 - <!ELEMENT changelog (#PCDATA|change)* >
21 - <!-- The changelog contains various "changes"-->
22 - <!ELEMENT change (date,(developer|version|description|file|contributor|bug)*) >
23 - <!ELEMENT date (#PCDATA) >
24 - <!-- The date of the change, in "YYYY-MM-DD" format -->
25 - <!ELEMENT developer (name?,email) >
26 - <!-- The developer that made the change. The email is required, name
27 - is optional-->
28 - <!ELEMENT version (#PCDATA) >
29 - <!--version of the packages involved (one tag per version)-->
30 - <!ELEMENT file (#PCDATA) ><!-- one tag per file touched -->
31 - <!ELEMENT contributor (name?,email?) >
32 - <!-- A reference to a user that helped in causing this change.
33 - There should at least be a name or email address included.
34 - Email is preferred -->
35 - <!ELEMENT bug (#PCDATA) >
36 - <!-- bug-id of a bug fixed by this change, multiple allowed. The
37 - format of this is a number or alias for a bug. NOT including a
38 - # character -->
39 -
40 <!-- description of what this USE flag does for this package -->
41 <!ELEMENT use (flag)* >
42 <!ELEMENT flag (#PCDATA|pkg|cat)* >
43 @@ -66,6 +43,8 @@
44 the usage of the status attribute is nevertheless _only_ allowed
45 in the upstream maintainer element. -->
46 <!ATTLIST maintainer status (active|inactive|unknown) "unknown" >
47 + <!-- URL where the upstream changelog can be found -->
48 + <!ELEMENT changelog (#PCDATA)>
49 <!-- URL where the location of the upstream documentation can be found -->
50 <!ELEMENT doc (#PCDATA)>
51 <!ATTLIST doc lang CDATA "C" >
52 --
53 2.7.2

Replies