From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26729 invoked from network); 16 Sep 2004 23:22:48 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 16 Sep 2004 23:22:48 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C85aR-00072V-9O for arch-gentoo-portage-dev@lists.gentoo.org; Thu, 16 Sep 2004 23:22:47 +0000 Received: (qmail 4708 invoked by uid 89); 16 Sep 2004 23:22:46 +0000 Mailing-List: contact gentoo-portage-dev-help@gentoo.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail Reply-To: gentoo-portage-dev@lists.gentoo.org X-BeenThere: gentoo-portage-dev@gentoo.org Received: (qmail 7142 invoked from network); 16 Sep 2004 23:22:46 +0000 From: Jason Stubbs To: gentoo-portage-dev@lists.gentoo.org, gentoo-portage-dev@lists.gentoo.org Date: Fri, 17 Sep 2004 08:25:17 +0900 User-Agent: KMail/1.7 Cc: Porthole-Developers References: <1095375726.6555.94.camel@localhost> In-Reply-To: <1095375726.6555.94.camel@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-2022-jp" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200409170825.18731.jstubbs@gentoo.org> Subject: Re: [gentoo-portage-dev] refreshing portage X-Archives-Salt: 674aa927-3fd5-420e-82a5-9f3eb9f2f15c X-Archives-Hash: 256c3257488d3801a2e1075ed860ad57 On Friday 17 September 2004 08:02, Brian wrote: > I have a question. One of porthole's contributors submitted 2 modules > that can run independant of porthole, but could be used as plugin > modules. One is a use flag editor and one a features editor, both gtk. > Doing some testing, it seems that the imported portage & modules used in > porthole are not refreshed after a change in /etc/make.conf.. A spawned > emerge call does see the changes. The only way I have found for > porthole to see the changes is to close and restart it. > > Is there a simple method/function call to reset portage to use the new > changes. reload(portage) Note that this is relatively heavy as everything is reinitialized, so try to do it as little as possible. Regards, Jason Stubbs -- gentoo-portage-dev@gentoo.org mailing list