On Sat, Nov 05, 2005 at 10:18:14PM +0900, Jason Stubbs wrote:
> > ``Display-If-Installed:``
> > ?? ?? A dependency atom or simple package name (for example,
> > ?? ?? ``<dev-lang/php-5_alpha`` or ``net-www/apache``). If the user has the
> > ?? ?? package specified installed, the news item should be displayed.
> > 
> > ``Display-If-Keyword:``
> > ?? ?? A keyword [#glep-22]_ name, for example ``mips``. If the user is on 
> > the 
> > ?? ?? arch in question, the news item should be displayed.
> >
> > ``Display-If-Profile:``
> > ?? ?? A profile path, for example ``default-linux/sparc/sparc64/server``. 
> > If 
> > ?? ?? the user is using the exact profile in question, the news item should 
> > be
> > ?? ?? displayed. This header may be used to replace ``deprecated`` files in 
> > ?? ?? the future.
> 
> 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.

Breaks down when dealing with profiles that lack a common base 
(conversion from flat profiles to cascaded for example).

~harring

Attachment: pgp7ES8WE2LRE.pgp
Description: PGP signature

Reply via email to