From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.50) id 1EYOLw-0008Pj-KR for garchives@archives.gentoo.org; Sat, 05 Nov 2005 13:45:05 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jA5DiI6M021574; Sat, 5 Nov 2005 13:44:18 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jA5DfRUA000149 for ; Sat, 5 Nov 2005 13:41:27 GMT Received: from zh034158.ppp.dion.ne.jp ([222.3.34.158] helo=opteron246.suzuki-stubbs.home) by smtp.gentoo.org with esmtpa (Exim 4.43) id 1EYOIQ-0005eh-M0 for gentoo-dev@lists.gentoo.org; Sat, 05 Nov 2005 13:41:27 +0000 Received: by opteron246.suzuki-stubbs.home (Postfix, from userid 1000) id CB6D724816D; Sat, 5 Nov 2005 22:42:41 +0900 (JST) From: Jason Stubbs To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two Date: Sat, 5 Nov 2005 22:42:41 +0900 User-Agent: KMail/1.8.92 References: <20051105005814.0de0d8ff@snowdrop.home> <200511052218.14564.jstubbs@gentoo.org> <20051105132449.GA25194@nightcrawler> In-Reply-To: <20051105132449.GA25194@nightcrawler> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-to: gentoo-dev@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Disposition: inline Message-Id: <200511052242.41742.jstubbs@gentoo.org> X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id jA5DfRUA000149 Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id jA5DiI7w021574 X-Archives-Salt: b2708d5e-cd85-43bd-a786-4a82847ddbdf X-Archives-Hash: 209493a86a600350348742747e85388e On Saturday 05 November 2005 22:24, Brian Harring wrote: > On Sat, Nov 05, 2005 at 10:18:14PM +0900, Jason Stubbs wrote: > > > ``Display-If-Installed:`` > > > =C3=82=C2=A0 =C3=82=C2=A0 A dependency atom or simple package name = (for example, > > > =C3=82=C2=A0 =C3=82=C2=A0 `` > > the =C3=82=C2=A0 =C3=82=C2=A0 package specified installed, the news= item should be > > > displayed. > > > > > > ``Display-If-Keyword:`` > > > =C3=82=C2=A0 =C3=82=C2=A0 A keyword [#glep-22]_ name, for example `= `mips``. If the user is > > > on the =C3=82=C2=A0 =C3=82=C2=A0 arch in question, the news item sh= ould be displayed. > > > > > > ``Display-If-Profile:`` > > > =C3=82=C2=A0 =C3=82=C2=A0 A profile path, for example > > > ``default-linux/sparc/sparc64/server``. If =C3=82=C2=A0 =C3=82=C2=A0= the user is using the > > > exact profile in question, the news item should be =C3=82=C2=A0 =C3= =82=C2=A0 displayed. > > > This header may be used to replace ``deprecated`` files in =C3=82=C2= =A0 =C3=82=C2=A0 the > > > future. Where'd those funny "A"s come from? > > Isn't keyword just a generalization of profile? Why have both? > > You would have to specify a common subprofile, and have the code know > to dig through the ancestors of a profile. "If a user is using the exact profile in question"... Common subprofiles = seem=20 to be irrelevant. I was going to bring up that point as well, but then I=20 recalled that some utilized profiles have children also (such as amd64/20= 05.1=20 and amd64/2005.1/no-multilib). If subprofiles were also picked up, there=20 would be no way to specify a news item that only pertained to multilib am= d64=20 systems. > Breaks down when dealing with profiles that lack a common base > (conversion from flat profiles to cascaded for example). My understanding is that each class of header can appear multiple times. = As=20 far as I can tell Display-If-Keyword would just prevent having to specify= =20 Display-If-Profile for each profile of the keyword specified. I'd just li= ke=20 to clarify that it has no purpose beyond that. -- Jason Stubbs --=20 gentoo-dev@gentoo.org mailing list