From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.3/8.13.3) with ESMTP id j2ACu8uv029287 for ; Thu, 10 Mar 2005 12:56:09 GMT Received: from ms-smtp-03-smtplb.tampabay.rr.com ([65.32.5.133] helo=ms-smtp-03.tampabay.rr.com) by smtp.gentoo.org with esmtp (Exim 4.43) id 1D9NCy-0004zY-9M for gentoo-dev@robin.gentoo.org; Thu, 10 Mar 2005 12:56:08 +0000 Received: from zeus.ka0ttic.dyndns.org (114.175.205.68.cfl.res.rr.com [68.205.175.114]) by ms-smtp-03.tampabay.rr.com (8.12.10/8.12.7) with ESMTP id j2ACu5kv004657 for ; Thu, 10 Mar 2005 07:56:06 -0500 (EST) Received: from [192.168.1.2] (zeus [192.168.1.2]) by zeus.ka0ttic.dyndns.org (Postfix) with ESMTP id EC8B81608 for ; Thu, 10 Mar 2005 07:56:04 -0500 (EST) Message-ID: <423043E4.8050804@gentoo.org> Date: Thu, 10 Mar 2005 07:56:04 -0500 From: Aaron Walker User-Agent: Mozilla Thunderbird 1.0 (X11/20050227) X-Accept-Language: en-us, en Precedence: bulk List-Post: , , List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-dev@gentoo.org Reply-To: gentoo-dev@gentoo.org MIME-Version: 1.0 To: gentoo-dev@robin.gentoo.org Subject: Re: [gentoo-dev] Identifying inherit-only / usable profiles (round 2) References: <42224847.1060703@gentoo.org> <42248535.6040602@gentoo.org> <1110220955.9520.212.camel@cgianelloni.nuvox.net> <200503080924.04525.vapier@gentoo.org> <422E8204.6020706@gentoo.org> <422FA5E0.3030709@hub.net.nz> In-Reply-To: <422FA5E0.3030709@hub.net.nz> X-Enigmail-Version: 0.89.5.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Archives-Salt: 0b89b8d5-fbd8-44f9-81a4-1f7fd3ff9aa7 X-Archives-Hash: 9657132209bafac5742bc39627b2d6d8 -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Jerome Brown wrote: > Aaron Walker wrote: > > >>In the case that I need this for (the eclectic profiles module), it'd be much >>better IMO to be able to show valid profiles for a certain arch since a valid >>profile for sparc is obviously not a valid profile for x86. >> >>Having a format of something like: >> >>alpha default-linux/alpha/2004.3 >>alpha default-linux/alpha/2005.0 >>... >>x86 default-linux/x86/2004.3 >>... >> >>would be ideal IMO. >> >>comments? > > > Is there a need for a seperate column? Would it not be eaiser to parse > the profile name to extract that information. This would then allow you > to search for all profiles that are valid for eg x86 BSD or alpha linux. > Are there any situations where the arch and/or OS are not in the profile > path? From a quick glance the non-default profiles (hardened, uclibc, > embedded etc) do not specify a -linux in the profile which would mean > either dropping the OS query, putting an OS column in or changing the > profiles (which has the advantage of making them more consistant). > There might be more, but the one I can think of off the top of my head is the one for fbsd (keyword x86-fbsd) which is default-bsd/fbsd/x86. I really wouldn't want to have to deal with special cases when you can just do a simple sed call searching for lines beginning with $(portageq envvar ARCH). - -- Slooly und soorely zee uneex crept up oon zee Neentendu user ... Bork Bork Bork! Aaron Walker [ BSD | cron | forensics | shell-tools | commonbox | netmon | vim | web-apps ] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCMEPkC3poscuANHARAscEAKDfJbtd/3gWNm9zKDwiV3IvbWmC9gCgiQcH K5hqpeh77yrTFUw0vrYE0z8= =RNdS -----END PGP SIGNATURE----- -- gentoo-dev@gentoo.org mailing list