From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.54) id 1EnisS-0006XN-Rj for garchives@archives.gentoo.org; Sat, 17 Dec 2005 20:42:01 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id jBHKfEjN004568; Sat, 17 Dec 2005 20:41:14 GMT Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id jBHKdQEj007060 for ; Sat, 17 Dec 2005 20:39:26 GMT Received: by zproxy.gmail.com with SMTP id z3so863972nzf for ; Sat, 17 Dec 2005 12:39:25 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:user-agent:x-accept-language:mime-version:to:subject:references:in-reply-to:content-type:content-transfer-encoding; b=CfkHxgvix61Kks9QMEwxoQ+10JrzUgHXw2dkr0nz/URcESjWANEeaN1+TtLXEdbKBXjj6NKYREA1pVMClIAiUU4/aOsf7cQvEwZbFqgFolnf4vkDLDyOX5/qngbaTZki/964NyGB8qKBdpdURWXrQwvUM55pE+ymTF6yN//6Nrc= Received: by 10.64.253.1 with SMTP id a1mr1024598qbi; Sat, 17 Dec 2005 12:39:25 -0800 (PST) Received: from ?192.168.20.213? ( [209.129.85.4]) by mx.gmail.com with ESMTP id e17sm1312401qba.2005.12.17.12.39.24; Sat, 17 Dec 2005 12:39:24 -0800 (PST) Message-ID: <43A47740.5040107@gmail.com> Date: Sat, 17 Dec 2005 12:38:24 -0800 From: Zac Medico User-Agent: Mozilla Thunderbird 1.0.7 (X11/20051204) 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@lists.gentoo.org MIME-Version: 1.0 To: gentoo-dev@lists.gentoo.org Subject: Re: [gentoo-dev] Multiple Repo Support References: <43A235AD.6030604@leetworks.com> <20051216035630.2b005138@snowdrop.home> <20051216121208.GD30053@nightcrawler.e-centre.net> <20051216175817.65682c34@snowdrop.home> <43A32F35.1020803@gmail.com> <20051216213353.5488df83@snowdrop.home> <43A33CE9.4090407@gmail.com> <20051216222705.62485e5c@snowdrop.home> <43A367C0.2040200@gmail.com> In-Reply-To: <43A367C0.2040200@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: 38f4a217-46b8-43b7-8240-f37dc6e693fd X-Archives-Hash: 208970ffa24fdb886a9d9a5882e1216a Zac Medico wrote: > Ciaran McCreesh wrote: >> except that it moves it deeper down into the "how >> do I determine whether this news item is relevant?" area. And the only >> way to get around that would be to move even more code into Portage >> than you're already proposing. > > > Are the currently specified Display-If-* headers insufficient for some > reason? Looking into this a little further, it seems that Display-If-Installed can be implemented with `portageq match / ` and Display-If-Keyword can be implemented with `portageq envvar ARCH`. That leaves Display-If-Profile which may require a new portageq query in order to cleanly retrieve the profile. Perhaps something like profile=$(portageq profile) would be sufficient? Zac -- gentoo-dev@gentoo.org mailing list