public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] [PATCH dtd] glsa.dtd: Allow slot="" attribute for vulnerable&unaffected
@ 2017-04-11 20:10 Michał Górny
  2017-04-11 22:57 ` Mart Raudsepp
  2017-04-13  5:39 ` [gentoo-dev] [PATCH v2] " Michał Górny
  0 siblings, 2 replies; 6+ messages in thread
From: Michał Górny @ 2017-04-11 20:10 UTC (permalink / raw
  To: gentoo-dev; +Cc: Michał Górny

Officially list the slot="" attribute that is used in GLSAs for quite
some time in the DTD. It is supported by Portage and gentoolkit for
a long time, and was used in GLSAs interchangeably with implicit
appended ':slot' to the version. However, the latter was ugly and worked
only by accident, so we are moving towards the former.
---
 glsa.dtd | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/glsa.dtd b/glsa.dtd
index 52be18e..22237b0 100644
--- a/glsa.dtd
+++ b/glsa.dtd
@@ -124,7 +124,8 @@
     Description:  Version of the vulnerable package. Can be a range too
 -->
 <!ELEMENT vulnerable (#PCDATA)>
-<!ATTLIST vulnerable range      (le|lt|eq|gt|ge|rlt|rle|rgt|rge)      #REQUIRED>
+<!ATTLIST vulnerable range      (le|lt|eq|gt|ge|rlt|rle|rgt|rge)      #REQUIRED
+                     slot       CDATA                 #IMPLIED>
 
 <!--
     Element:      unaffected
@@ -140,6 +141,7 @@
 -->
 <!ELEMENT unaffected (#PCDATA)>
 <!ATTLIST unaffected range      (le|lt|eq|gt|ge|rlt|rle|rgt|rge)      #REQUIRED
+                     slot       CDATA                 #IMPLIED
                      name       CDATA                 #IMPLIED>
 
 <!--
-- 
2.12.2



^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2017-04-17 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-04-11 20:10 [gentoo-dev] [PATCH dtd] glsa.dtd: Allow slot="" attribute for vulnerable&unaffected Michał Górny
2017-04-11 22:57 ` Mart Raudsepp
2017-04-12  7:10   ` Michał Górny
2017-04-12  7:28     ` Kristian Fiskerstrand
2017-04-13  5:39 ` [gentoo-dev] [PATCH v2] " Michał Górny
2017-04-17 15:37   ` Michał Górny

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