public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
From: Mart Raudsepp <leio@gentoo.org>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] [PATCH dtd] glsa.dtd: Allow slot="" attribute for vulnerable&unaffected
Date: Wed, 12 Apr 2017 01:57:40 +0300	[thread overview]
Message-ID: <1491951460.14800.1.camel@gentoo.org> (raw)
In-Reply-To: <20170411201034.28677-1-mgorny@gentoo.org>

Ühel kenal päeval, T, 11.04.2017 kell 22:10, kirjutas 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.

':slot' version was only used for less than a day until it was reverted
back to slot attribute. Slot attributes are used since January or so in
existing GLSAs where needed to avoid old slot version bumps starting to
give false positives, e.g libpng and such.

For further context for other readers, slot="" attribute support has
been in glsa-check for at least Q4 2008, potentially Q3 2007. The code
was synced to portage near there as well I believe (for @security and
such usage).

> ---
>  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

Maybe some slot attribute documentation could be added as well, similar
to how the original patch attached to https://bugs.gentoo.org/106677
did? Though not the "*" stuff, that feels wrong and should be just
omitted attribute for that.


Mart


  reply	other threads:[~2017-04-11 22:57 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 [this message]
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

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=1491951460.14800.1.camel@gentoo.org \
    --to=leio@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