public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Cc: "Michał Górny" <mgorny@gentoo.org>
Subject: [gentoo-dev] [PATCH v2] glsa.dtd: Allow slot="" attribute for vulnerable&unaffected
Date: Thu, 13 Apr 2017 07:39:56 +0200	[thread overview]
Message-ID: <20170413053956.16767-1-mgorny@gentoo.org> (raw)
In-Reply-To: <20170411201034.28677-1-mgorny@gentoo.org>

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..b6459d1 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                 "*">
 
 <!--
     Element:      unaffected
@@ -140,6 +141,7 @@
 -->
 <!ELEMENT unaffected (#PCDATA)>
 <!ATTLIST unaffected range      (le|lt|eq|gt|ge|rlt|rle|rgt|rge)      #REQUIRED
+                     slot       CDATA                 "*"
                      name       CDATA                 #IMPLIED>
 
 <!--
-- 
2.12.2



  parent reply	other threads:[~2017-04-13  5:40 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Michał Górny [this message]
2017-04-17 15:37   ` [gentoo-dev] [PATCH v2] " Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20170413053956.16767-1-mgorny@gentoo.org \
    --to=mgorny@gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox