Re: how can I not have to spend 40 minutes _waiting_ in themorningfor each of 40 updates?

Todd Denniston <[email protected]>
Newsgroups gmane.comp.version-control.cvs.general
Message-ID <[email protected]>
S Chaitanya wrote, On 10/10/2008 09:50 AM:
> Hi Eric,
> 
> I have the code on 40 different machines from the trunk or t-o-t or head or
> whatever you call it. So, no different branches involved here. I will have a
> go at understanding rsync and using it for syncing the changed files from 1
> machine to the 39 others.
> 
> Btw, did you ever try this or run into similar problems?
> 
> Regards,
> Chaitanya

Actually there is even a further optimization I had forgotten about...
The ability to build outside of the sandbox. Things like gcc and glibc can 
build this way.
IF the makefiles/configure scripts for the library are configured correctly 
you should be able to do something like the following:
machine1: cd /nfsed/librarysource
machine1: cvs update -dP
coffee mess: drink 2 cups;use restroom
machine1: cd /libbuildlocation/
machine1: /nfsed/librarysource/configure \
	--PREFIX=/my/install/location;make;make install
machine2: mount -t nfs -oro machine1:/nfsed/ /nfsed/
machine2: cd /libbuildlocation/
machine2:  /nfsed/librarysource/configure \
	--PREFIX=/my/install/location;make;make install
machine3-n: mount -t nfs -oro machine1:/nfsed/ /nfsed/
machine3-n: cd /libbuildlocation/
machine3-n:  /nfsed/librarysource/configure \
	--PREFIX=/my/install/location;make;make install

because everything is using the same source.

> 
> On Fri, Oct 10, 2008 at 7:06 PM, <[email protected]> wrote:
> 
>> Has the suggestion to use rsync been raised here?  I'm not sure if
>> you're updating to different branches for the various platforms, but
>> exporting to one or a few locations and then running rsync to transfer
>> just the diffs without having to repeatedly go back to CVS might be a
>> workable solution.
>>
>> As for time servers, you'll want to sync to several servers.  NTP's
>> algorithm takes travel time into account, though closer is better.
>>
>> Eric
>>
> 


-- 
Todd Denniston
Crane Division, Naval Surface Warfare Center (NSWC Crane)
Harnessing the Power of Technology for the Warfighter
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.