From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14372 invoked from network); 17 Sep 2004 01:39:09 +0000 Received: from smtp.gentoo.org (156.56.111.197) by lists.gentoo.org with AES256-SHA encrypted SMTP; 17 Sep 2004 01:39:09 +0000 Received: from lists.gentoo.org ([156.56.111.196] helo=parrot.gentoo.org) by smtp.gentoo.org with esmtp (Exim 4.34) id 1C87iO-00013Z-B0 for arch-gentoo-portage-dev@lists.gentoo.org; Fri, 17 Sep 2004 01:39:08 +0000 Received: (qmail 14223 invoked by uid 89); 17 Sep 2004 01:39:07 +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 19541 invoked from network); 17 Sep 2004 01:39:06 +0000 From: Brian To: gentoo-portage-dev In-Reply-To: <200409170825.18731.jstubbs@gentoo.org> References: <1095375726.6555.94.camel@localhost> <200409170825.18731.jstubbs@gentoo.org> Content-Type: text/plain Message-Id: <1095385160.16413.142.camel@localhost> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Thu, 16 Sep 2004 18:39:20 -0700 Content-Transfer-Encoding: 7bit Subject: Re: [gentoo-portage-dev] refreshing portage X-Archives-Salt: 6ed598b5-580f-4ed7-b28b-b337e3da6ff6 X-Archives-Hash: ffa1d9bd6621d7db92509bfd51f567d9 On Thu, 2004-09-16 at 16:25, Jason Stubbs wrote: > On Friday 17 September 2004 08:02, Brian wrote: > > 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 > On Thu, 2004-09-16 at 16:30, Marius Mauch wrote: > Does `reload(portage)` work ? > > Marius > Yes that does the trick. Thank you. I didn't know if there was an internal portage module that could reload /etc/make.conf. It did not seem to slow a reload down too much on my system but I imagine it could for some of the older slower machines. Now I'll have to come up with a method for plugins to interface with porthole. Hopefully Dan will be back in operation soon so we can set up a good plan of attack. Also, while I've got your attention. I was experimenting with some things and noticed that when I had temporarily renamed /etc/portage/package.keywords, porthole seemed to reload the upgrades list in less than half the time. Is there any plan or thoughts to cache the file (if it isn't already) to speed things up, or is it something unavoidable. -- Brian -- gentoo-portage-dev@gentoo.org mailing list