Gentoo Archives: gentoo-dev

From: Tobias Scherbaum <dertobi123@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Re: [RFC] Moving HOMEPAGE out of ebuilds for the future
Date: Sun, 30 Nov 2008 14:34:27
Message-Id: 1228055617.5981.38.camel@homer.ob.libexec.de
In Reply to: [gentoo-dev] Re: [RFC] Moving HOMEPAGE out of ebuilds for the future by flameeyes@gmail.com (Diego 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=)
1 Diego 'Flameeyes' Pettenò wrote:
2 > Tobias Scherbaum <dertobi123@g.o> writes:
3 >
4 > > But what about additional slot or version attributes like
5 > > <link type="homepage" slot="1.4">http://java.sun.com/j2se/1.4.2/</link>
6 > > (or a version attribute)? If slot and version aren't specified they'd be
7 > > interpreted as wildcards.
8 >
9 > <link type="homepage" restrict="dev-java/sun-jdk:1.4">
10 >
11 > The restrict attribute exists already and it's better to reuse the same
12 > code, isn't it?
13
14 In general yes, but in that case you're duplicating info like
15 "dev-java/sun-jdk" unnecessarily. Reducing this to restrict="1.4" isn't
16 easily readable as you'd need to know that restrict would specify a
17 slot. If your plan is to make it easier to find useful information about
18 a package (without using a fancy frontend, just reading the metadata.xml
19 with $EDITOR) slot="1.4" (or a version attribute) might be a tad more
20 human readable.
21
22 Tobias

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
[gentoo-dev] Re: [RFC] Moving HOMEPAGE out of ebuilds for the future flameeyes@gmail.com (Diego 'Flameeyes' =?utf-8?Q?Petten=C3=B2?=)