FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Gentoo > Gentoo User

 
 
LinkBack Thread Tools
 
Old 11-03-2008, 11:36 AM
Alan McKinnon
 
Default Update svn ebuilds only when necessary

On Monday 03 November 2008 14:17:02 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?

No, there is no such tool. Feel free to write one and share :-)

--
alan dot mckinnon at gmail dot com
 
Old 11-03-2008, 11:52 AM
Dirk Heinrichs
 
Default Update svn ebuilds only when necessary

Am Montag 03 November 2008 13:17:02 schrieb ext Momesso Andrea:

> Is there a way to to update svn packages only when there are updates in
> the svn source?

No.

> 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.

paludis --dl-reinstall-scm 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.

After a week, you can usually be sure that sources have changed :-) You can
use ccache to save compilations.

> Does portage (or any other tool) provide a way to do it?

See above.

HTH...

Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net
 
Old 11-03-2008, 12:14 PM
Albert Hopkins
 
Default 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
> 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
 
Old 11-03-2008, 12:19 PM
Dirk Heinrichs
 
Default Update svn ebuilds only when necessary

Am Montag 03 November 2008 13:52:48 schrieb ext Dirk Heinrichs:

> paludis --dl-reinstall-scm weekly

Oops, should be: paludis --dl-reinstall-scm weekly -i everything

Bye...

Dirk
--
Dirk Heinrichs | Tel: +49 (0)162 234 3408
Configuration Manager | Fax: +49 (0)211 47068 111
Capgemini Deutschland | Mail: dirk.heinrichs@capgemini.com
Wanheimerstraße 68 | Web: http://www.capgemini.com
D-40468 Düsseldorf | ICQ#: 110037733
GPG Public Key C2E467BB | Keyserver: wwwkeys.pgp.net
 

Thread Tools




All times are GMT. The time now is 02:03 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org