Gentoo Archives: gentoo-dev

From: Jerome Brown <jerome@×××××××.nz>
To: gentoo-dev@××××××××××××.org
Subject: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2)
Date: Thu, 10 Mar 2005 01:41:37
Message-Id: 422FA5E0.3030709@hub.net.nz
In Reply to: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2) by Aaron Walker
1 Aaron Walker wrote:
2 <snip>
3 > In the case that I need this for (the eclectic profiles module), it'd be much
4 > better IMO to be able to show valid profiles for a certain arch since a valid
5 > profile for sparc is obviously not a valid profile for x86.
6 >
7 > Having a format of something like:
8 >
9 > alpha default-linux/alpha/2004.3
10 > alpha default-linux/alpha/2005.0
11 > ...
12 > x86 default-linux/x86/2004.3
13 > ...
14 >
15 > would be ideal IMO.
16 >
17 > comments?
18
19 Is there a need for a seperate column? Would it not be eaiser to parse
20 the profile name to extract that information. This would then allow you
21 to search for all profiles that are valid for eg x86 BSD or alpha linux.
22 Are there any situations where the arch and/or OS are not in the profile
23 path? From a quick glance the non-default profiles (hardened, uclibc,
24 embedded etc) do not specify a -linux in the profile which would mean
25 either dropping the OS query, putting an OS column in or changing the
26 profiles (which has the advantage of making them more consistant).
27
28 --
29 Jerome Brown
30 Technology Architect
31 Hub.Net
32
33 P: +64 3 961-5116
34 M: +64 29 453 7663
35 F: +64 3 961-5129
36 E: jerome@×××××××.nz
37 W: http://www.hub.net.nz/
38 O: Level 4, 818 Colombo St, Christchurch, New Zealand
39 S: PO Box 1879, Christchurch, New Zealand
40 --
41 gentoo-dev@g.o mailing list

Replies