From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7D5F4139694 for ; Wed, 12 Apr 2017 07:11:13 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 038C7E0D55; Wed, 12 Apr 2017 07:11:02 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AD71FE0D31 for ; Wed, 12 Apr 2017 07:11:01 +0000 (UTC) Received: from pomiot (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id B87CB34168A; Wed, 12 Apr 2017 07:10:59 +0000 (UTC) Message-ID: <1491981048.1166.2.camel@gentoo.org> Subject: Re: [gentoo-dev] [PATCH dtd] glsa.dtd: Allow slot="" attribute for vulnerable&unaffected From: =?UTF-8?Q?Micha=C5=82_G=C3=B3rny?= To: gentoo-dev@lists.gentoo.org Date: Wed, 12 Apr 2017 09:10:48 +0200 In-Reply-To: <1491951460.14800.1.camel@gentoo.org> References: <20170411201034.28677-1-mgorny@gentoo.org> <1491951460.14800.1.camel@gentoo.org> Organization: Gentoo Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-xrh0E0WSMtENkQiIfXAP" X-Mailer: Evolution 3.22.6 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@lists.gentoo.org Reply-to: gentoo-dev@lists.gentoo.org Mime-Version: 1.0 X-Archives-Salt: 9beb6a64-0816-4839-bed2-3e1e703c8caf X-Archives-Hash: 85fdf663ea0eb61c3e9ebd0d1f82069d --=-xrh0E0WSMtENkQiIfXAP Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On =C5=9Bro, 2017-04-12 at 01:57 +0300, Mart Raudsepp wrote: > =C3=9Chel kenal p=C3=A4eval, T, 11.04.2017 kell 22:10, kirjutas Micha=C5= =82 G=C3=B3rny: > > --- > > =C2=A0glsa.dtd | 4 +++- > > =C2=A01 file changed, 3 insertions(+), 1 deletion(-) > >=20 > > diff --git a/glsa.dtd b/glsa.dtd > > index 52be18e..22237b0 100644 > > --- a/glsa.dtd > > +++ b/glsa.dtd > > @@ -124,7 +124,8 @@ > > =C2=A0=C2=A0=C2=A0=C2=A0=C2=A0Description:=C2=A0=C2=A0Version of the vu= lnerable package. Can be a range > > too >=20 > Maybe some slot attribute documentation could be added as well, similar > to how the original patch attached to https://bugs.gentoo.org/106677 > did? I'd rather not put more effort into the DTD than absolutely necessary. I'm halfway porting it to XML Schema. Plus, a lot of the documentation in the DTD is plain outdated. In fact, the patch in question has been written against a different DTD file, more likely a better documented version that was never committed. > Though not the "*" stuff, that feels wrong and should be just > omitted attribute for that. Not convinced about that. '*' is already used explicitly in arch=3D'', so I don't see a reason to not allow the same syntax here. This is also what the Paludis implementation assumes, and it fits into slot operators nicely. Maybe I should just change the default from #IMPLIED to "*"? (i.e. make omitted attribute equivalent to "*" DTD-wise) --=20 Best regards, Micha=C5=82 G=C3=B3rny --=-xrh0E0WSMtENkQiIfXAP Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iQKTBAABCgB9FiEEXr8g+Zb7PCLMb8pAur8dX/jIEQoFAljt0vlfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDVF QkYyMEY5OTZGQjNDMjJDQzZGQ0E0MEJBQkYxRDVGRjhDODExMEEACgkQur8dX/jI EQoCiw//cbZc2G+vYrfpkuWkT1kGoxOcECICVinuAgNKm8GbZ+2S3eWXU75CgUb7 YObfvpAAmvUw0YUChug+ys2jJZ/0bIusmfvP6y5JOP1eg6wUbccPNHFccuZZpWXQ 8efmadqkYG81vO7ixSwkccAELnhH7aL+QiPCrdbcUBjUOhNNicKHv6wt3VWoeu4r z8X/DQ3njiihw+qsvgaGYU5LMPWwheD+XRZaf3cEIb/tGkk70NzhdwnqWR/QfwVm IXS8pHb/Mpr5djKkbAZWfmJWJXo+0j62leM9xUObQAPOw/lHegeRcJeHR8LzwuS9 0HbmROZIm2tnjGOewwnWfQhpNXwWGEn49SAXVQ81NodtYC+UW/lxjPhsrrlX9U4p lso6d370ItarurS4o80gajqMaVCqcVprwNAEusIRlj1PJdeQGyTBdqbwFT0uxJY7 BGI72RJvEz0U4SAbEIq+nnWIxAeVefGp72MkIiGwqljLMCT64yLp6s56T0/THKNk REFed34AEPCMS9e0PJ1QdwOrfAv5GXOQff6VhIUIlKMWYlwzDgW+f2CWNcF22f06 zh1vFSIqe4Lx2ZAsYRBy0Qf/7/UD9bqF7wvuyDpWQa6zT2oaakyDMgNre244t00a bFQ+bvEmbMTNaSIbe+bQC28yG58kEddTtk0YBj8fxRCac4WgjVg= =qrNg -----END PGP SIGNATURE----- --=-xrh0E0WSMtENkQiIfXAP--