[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gentoo-dev
Subject:    Re: [gentoo-dev]  Re: [RFC] Moving HOMEPAGE out of ebuilds for
From:       Tobias Scherbaum <dertobi123 () gentoo ! org>
Date:       2008-11-30 14:33:37
Message-ID: 1228055617.5981.38.camel () homer ! ob ! libexec ! de
[Download RAW message or body]


Diego 'Flameeyes' Pettenò wrote:
> Tobias Scherbaum <dertobi123@gentoo.org> writes:
> 
> > But what about additional slot or version attributes like
> > <link type="homepage" slot="1.4">http://java.sun.com/j2se/1.4.2/</link>
> > (or a version attribute)? If slot and version aren't specified they'd be
> > interpreted as wildcards.
> 
> <link type="homepage" restrict="dev-java/sun-jdk:1.4">
> 
> The restrict attribute exists already and it's better to reuse the same
> code, isn't it?

In general yes, but in that case you're duplicating info like
"dev-java/sun-jdk" unnecessarily. Reducing this to restrict="1.4" isn't
easily readable as you'd need to know that restrict would specify a
slot. If your plan is to make it easier to find useful information about
a package (without using a fancy frontend, just reading the metadata.xml
with $EDITOR) slot="1.4" (or a version attribute) might be a tad more
human readable. 

  Tobias

["signature.asc" (application/pgp-signature)]

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic