* [gentoo-user] Update svn ebuilds only when necessary
@ 2008-11-03 12:17 Momesso Andrea
2008-11-03 12:21 ` Markos Chandras
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: Momesso Andrea @ 2008-11-03 12:17 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 457 bytes --]
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?
[-- Attachment #2: Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Update svn ebuilds only when necessary
2008-11-03 12:17 [gentoo-user] Update svn ebuilds only when necessary Momesso Andrea
@ 2008-11-03 12:21 ` Markos Chandras
2008-11-03 12:36 ` Alan McKinnon
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: Markos Chandras @ 2008-11-03 12:21 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 613 bytes --]
Ι think there is not such tool to do what you want
On Mon, Nov 3, 2008 at 2:17 PM, Momesso Andrea <momesso.andrea@gmail.com>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?
>
[-- Attachment #2: Type: text/html, Size: 892 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Update svn ebuilds only when necessary
2008-11-03 12:17 [gentoo-user] Update svn ebuilds only when necessary Momesso Andrea
2008-11-03 12:21 ` Markos Chandras
@ 2008-11-03 12:36 ` Alan McKinnon
2008-11-03 12:52 ` Dirk Heinrichs
2008-11-03 13:14 ` Albert Hopkins
3 siblings, 0 replies; 6+ messages in thread
From: Alan McKinnon @ 2008-11-03 12:36 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Update svn ebuilds only when necessary
2008-11-03 12:17 [gentoo-user] Update svn ebuilds only when necessary Momesso Andrea
2008-11-03 12:21 ` Markos Chandras
2008-11-03 12:36 ` Alan McKinnon
@ 2008-11-03 12:52 ` Dirk Heinrichs
2008-11-03 13:19 ` Dirk Heinrichs
2008-11-03 13:14 ` Albert Hopkins
3 siblings, 1 reply; 6+ messages in thread
From: Dirk Heinrichs @ 2008-11-03 12:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Update svn ebuilds only when necessary
2008-11-03 12:17 [gentoo-user] Update svn ebuilds only when necessary Momesso Andrea
` (2 preceding siblings ...)
2008-11-03 12:52 ` Dirk Heinrichs
@ 2008-11-03 13:14 ` Albert Hopkins
3 siblings, 0 replies; 6+ messages in thread
From: Albert Hopkins @ 2008-11-03 13:14 UTC (permalink / raw
To: gentoo-user
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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] Update svn ebuilds only when necessary
2008-11-03 12:52 ` Dirk Heinrichs
@ 2008-11-03 13:19 ` Dirk Heinrichs
0 siblings, 0 replies; 6+ messages in thread
From: Dirk Heinrichs @ 2008-11-03 13:19 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 522 bytes --]
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
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-11-03 13:20 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-03 12:17 [gentoo-user] Update svn ebuilds only when necessary Momesso Andrea
2008-11-03 12:21 ` Markos Chandras
2008-11-03 12:36 ` Alan McKinnon
2008-11-03 12:52 ` Dirk Heinrichs
2008-11-03 13:19 ` Dirk Heinrichs
2008-11-03 13:14 ` Albert Hopkins
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox