From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([69.77.167.62] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1KwzGY-00014O-CB for garchives@archives.gentoo.org; Mon, 03 Nov 2008 13:14:46 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 78A57E0329; Mon, 3 Nov 2008 13:14:44 +0000 (UTC) Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by pigeon.gentoo.org (Postfix) with ESMTP id 5B251E0329 for ; Mon, 3 Nov 2008 13:14:44 +0000 (UTC) Received: from compute2.internal (compute2.internal [10.202.2.42]) by out1.messagingengine.com (Postfix) with ESMTP id B4DF618E5B6 for ; Mon, 3 Nov 2008 08:14:42 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by compute2.internal (MEProxy); Mon, 03 Nov 2008 08:14:42 -0500 X-Sasl-enc: NOxoUiR2S9aKzAEO6dly6rHM9x9U5p5Fsl+ulPhH6pNS 1225718082 Received: from [192.168.31.10] (cpe-071-077-032-150.nc.res.rr.com [71.77.32.150]) by www.fastmail.fm (Postfix) with ESMTPSA id 60B3139AB3 for ; Mon, 3 Nov 2008 08:14:42 -0500 (EST) Subject: Re: [gentoo-user] Update svn ebuilds only when necessary From: Albert Hopkins To: gentoo-user@lists.gentoo.org In-Reply-To: <20081103121702.GA31249@revolver> References: <20081103121702.GA31249@revolver> Content-Type: text/plain Date: Mon, 03 Nov 2008 08:14:41 -0500 Message-Id: <1225718081.11350.22.camel@blackwidow.nbk> 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 X-Mailer: Evolution 2.22.3.1 Content-Transfer-Encoding: 7bit X-Archives-Salt: cd8c0d52-b0be-4e64-af5f-a352c5f401c5 X-Archives-Hash: 70c38d378365127aba9284d0182817a5 On Mon, 2008-11-03 at 13:17 +0100, Momesso Andrea wrote: > Is there a way to to update svn packages only when there are updates in > the svn source? > > Actually I use a script to grep "9999" from eix -I output and put all > those packages in a package set, then I have a cron job to rebuild this > set weekly. > > What I'd like to do is to only fetch the svn sources, and rebuild the > packages if sources have been updated since last build, saving lots of > compilations. > > Does portage (or any other tool) provide a way to do it? Portage doesn't but you should be able to write your own. Change your script to keep track of the revision you build against and if that number increments then the repo has been updated. -a