On Mon, 25 Feb 2013 12:19:54 +0100
Stefan Seifert <n...@detonation.org> wrote:

> On Sunday 24 February 2013 22:18:05 Pat wrote:
> 
> > > > Anders made a suggestion on IRC I'm going to follow up on. "
> > > > You can have local git clones that share the same .git/* files
> > > > via file links"
> > > 
> > > ..you feed 4 build trees from 1 git clone, how?
> > > A "du -sch $git-n-build-trees" on them all? - Arnt
> 
> You probably don't want to symlink all the files in .git. You just
> want to symlink the objects subdirectory. This is the place where all
> the real data is and it would be the same for all local repositories.
> The other files list for example branches and tags and very
> important: the currently checked out branch. So if you want several
> local repositories with different branches checked out, you may not
> share these files.
 <snip>
> Stefan

Thanks! With the one above, and one each from Anders and James, I now
have three good suggestions with two alternative new approaches to look
into.  

However this may all be moot unless the new approaches save
considerable time and effort down the road.  I'm not sure they would
so I'm not going to pursue them at this time.

My original purpose was to avoid  cloning from git for each test build.
I'm using download and compile.sh to create builds for several sets of
option combinations.  Do this for more than one version and you end up
with more than enough complete copies of git to satisfy an army of
coders.

This wastes bandwidth on gitorious. 

I'm thinking that one local git for each version (next, master, maint &
2.10.0 ) is simple enough.  Its four copies of git but that's not too
bad... I can make change to the script to allow concurrent separate
builds with different options off these separate gits without too much
change.

The single git method could come later if anyone thinks it's worth
doing.
 

 -Pat

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to