From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MJ3au-00045q-IX for garchives@archives.gentoo.org; Tue, 23 Jun 2009 10:51:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AAAC7E070E; Tue, 23 Jun 2009 10:51:14 +0000 (UTC) Received: from mail-ew0-f211.google.com (mail-ew0-f211.google.com [209.85.219.211]) by pigeon.gentoo.org (Postfix) with ESMTP id 687D8E070E for ; Tue, 23 Jun 2009 10:51:14 +0000 (UTC) Received: by ewy7 with SMTP id 7so655706ewy.34 for ; Tue, 23 Jun 2009 03:51:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=ymYVr+denUbAckDHyromMLPP7CwTfvWmBQimOkDxLCU=; b=v+hkXtdTbCSLRySlk9n7cmIlU/SSo9XVQIALVQaiw5r4rFwd+bai3LuNn9IrukIJOK DTfSYFrh97vii+j75FUMT+wowt8M+bhLVbNzUrZxPuj1UU6wTfZoCPm80bbCvXrcAIbD LB/f+sQEKhdjO07JOfzWbq4DedsGXzamLhYO4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=pz/24FQ3n1KGkgl29nKg4f5gkWsFYHVGhZ6M7H2Et76GNtO+uXa+7vZ2x2iMReVvjm ew3X/rb9tTpzDR7Nspjua6i9sWKEsytbjE9NioTAxCgOZM8SxYf00SA9z0iNczMMm6iy 32dwRZQajkzx23+j9ZGz0Vkg2+XFUlU8oSmow= Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Received: by 10.210.76.4 with SMTP id y4mr3283411eba.61.1245754273814; Tue, 23 Jun 2009 03:51:13 -0700 (PDT) In-Reply-To: References: Date: Tue, 23 Jun 2009 13:51:12 +0300 Message-ID: Subject: Re: [gentoo-user] Re: package.keywords From: "Arttu V." To: gentoo-user@lists.gentoo.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: 02a89091-f232-4851-9e52-932537d3e399 X-Archives-Hash: 3c4db30dc10953fb900f8cdcbee6683d On 6/22/09, James wrote: > Arttu V. gmail.com> writes: > >> More reading: ebuild(5)" > > Ah, ok so there is not restriction on using any of the > the boolean operators in any config file underneath > /etc/portage? as section 5 does not mention any.... Well, for those files that are actually supposed to contain DEPEND atoms that is probably true. I haven't checked the whole man page and all files it lists to see if it places any restrictions on some specific files therein, so I'm a bit timid to claim full "no limits" either. But for package.keywords it didn't mention any limits and I'd believe the others don't have them either. :) Still, the best identifier of the allowed syntax is probably portage itself. Make a typo in files under /etc/portage and portage will tell you next time you emerge -pv something or emerge -av something. And it also breaks in a quite predictable fashion when it reads your typos in those files: it will just drop the lines it doesn't understand (while also printing warning messages) and then dutifully proceed to next line. So if ever in doubt, you can try it and see what portage's parser thinks about your "fuzz-test". :) > This is my (mis)conception, although, as you have suggest, > there are (gentoo) cultural norms that do suggest > certain boolean operations should not be used, > in say for example, package.keywords? Not sure if by cultural norms you're referring to something I'd rather label as "best practices"? :) But then again, there are best practices for bleeding edge folks and best practices for "stability is paramount" folks and they may overlap, but most likely they aren't quite the same. > I'm mostly running stable with exceptions being enabled > via the /etc/portage file structure. Usually it's small, > but now with kde4, BLOAT is my modus operandi, > not by choice...... Then, again, you probably don't want the >= as it will unmask the latest testing version currently available, plus in future any new testing grade versions as they get added to portage tree. What you want is either = or ~. (And do note that ~ at the front of a DEPEND atom means a different thing from the testing keyword in ~arch). But it is all up to you to decide, you're the commander'n'chief of your own boxen. -- Arttu V.