[Act] YAPCEU::2015

Philippe Bruhat (BooK) philippe.bruhat at free.fr
Tue Dec 9 23:49:38 CET 2014


On Mon, Dec 08, 2014 at 06:48:30PM +0100, Sébastien Aperghis-Tramoni wrote:
> 
> > On Sun, Dec 07, 2014 at 10:28:28PM +0100, Sébastien Aperghis-Tramoni
> > wrote:
> > > 
> > > Actually, no, I didn't do that and use master for both. But I don't
> > > think a production site is using Git yet. It's a bit more cumbersome
> > > because it requires (obviously) to double the number of repository
> > > checkouts.
> > 
> > Do you really need to double the number of checkouts, or can't you
> > get away with appropriately placed symlinks?
> > 
> >     actdocs/ye2015 -> ../git/ye2015/actdocs
> >     wwwdocs/ye2015 -> ../git/ye2015/wwwdocs
> 
> That's what I currently do. If I were to use branches, I'd need a
> checkout per branch:
> 
>     prod/actdocs/ye2015 -> ~/repositories/prod/ye2015/actdocs
>     prod/wwwdocs/ye2015 -> ~/repositories/prod/ye2015/wwwdocs
>     test/actdocs/ye2015 -> ~/repositories/test/ye2015/actdocs
>     test/wwwdocs/ye2015 -> ~/repositories/test/ye2015/wwwdocs
> 

Note that with git your checkouts can share the object database
(using hardlink), if you clone using -l. This was you can save
some space.

-- 
 Philippe Bruhat (BooK)

 The only certain bet in gambling is that it leads to more gambling
                                                (Moral from Groo #11 (Image))


More information about the Act mailing list