public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH] metadata.dtd: Drop obsolete pkgname attribute from {cat,pkg}metadata
@ 2022-10-07 20:16 Ulrich Müller
  0 siblings, 0 replies; only message in thread
From: Ulrich Müller @ 2022-10-07 20:16 UTC (permalink / raw
  To: gentoo-dev; +Cc: Ulrich Müller

This is neither present in the XML schema nor mentioned in GLEP 68.

The pkgname attribute was added in 2003 together with the packages
element, "allowing for a combined view of all metadata files":
https://gitweb.gentoo.org/archive/proj/gentoo.git/commit/?id=b1eae649bb6b7ae623b66cb08d7496f042329f10

In commit 3bbce9c90e430387537c6fdc3d97c3647ed9c465, the package
element has already been removed.

Signed-off-by: Ulrich Müller <ulm@gentoo.org>
---
 metadata.dtd | 2 --
 1 file changed, 2 deletions(-)

diff --git a/metadata.dtd b/metadata.dtd
index e1207de..c36242a 100644
--- a/metadata.dtd
+++ b/metadata.dtd
@@ -1,10 +1,8 @@
 <!-- Metadata for a category -->
 <!ELEMENT catmetadata ( (longdescription)* )>
-<!ATTLIST catmetadata pkgname CDATA "">
 
 <!-- Metadata for a package -->
 <!ELEMENT pkgmetadata ( (maintainer|longdescription|slots|stabilize-allarches|use|upstream)* )>
-<!ATTLIST pkgmetadata pkgname CDATA "">
 
   <!-- One tag for each maintainer of a package, multiple allowed-->
   <!ELEMENT maintainer (email|name|description)+>
-- 
2.38.0



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2022-10-07 20:16 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-10-07 20:16 [gentoo-dev] [PATCH] metadata.dtd: Drop obsolete pkgname attribute from {cat,pkg}metadata Ulrich Müller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox