Gentoo Archives: gentoo-dev

From: Brian Harring <ferringb@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two
Date: Sat, 05 Nov 2005 13:28:06
Message-Id: 20051105132449.GA25194@nightcrawler
In Reply to: Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two by Jason Stubbs
1 On Sat, Nov 05, 2005 at 10:18:14PM +0900, Jason Stubbs wrote:
2 > > ``Display-If-Installed:``
3 > >     A dependency atom or simple package name (for example,
4 > >     ``<dev-lang/php-5_alpha`` or ``net-www/apache``). If the user has the
5 > >     package specified installed, the news item should be displayed.
6 > >
7 > > ``Display-If-Keyword:``
8 > >     A keyword [#glep-22]_ name, for example ``mips``. If the user is on the
9 > >     arch in question, the news item should be displayed.
10 > >
11 > > ``Display-If-Profile:``
12 > >     A profile path, for example ``default-linux/sparc/sparc64/server``. If
13 > >     the user is using the exact profile in question, the news item should be
14 > >     displayed. This header may be used to replace ``deprecated`` files in
15 > >     the future.
16 >
17 > Isn't keyword just a generalization of profile? Why have both?
18 You would have to specify a common subprofile, and have the code know
19 to dig through the ancestors of a profile.
20
21 Breaks down when dealing with profiles that lack a common base
22 (conversion from flat profiles to cascaded for example).
23
24 ~harring

Replies

Subject Author
Re: [gentoo-dev] GLEP 42 "Critical News Reporting" Round Two Jason Stubbs <jstubbs@g.o>