Update svn ebuilds only when necessary
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
> 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.