Re: Git and Media repositories....

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Tim Ansell <mithro@...>
Cc: <git@...>, Dana How <danahow@...>
Date: Monday, November 3, 2008 - 5:40 am

Tim Ansell <mithro@mithis.com> writes:


Dana How (CC-ed) worked on better support for large files, but in
corporate setting.  The solution that was the result of all discussion
and all patches (not all accpeted) was to create kept packfile for
those large files, and share those packfiles (perhaps via alternates)
using network filesystem, instead of keeping separate copies and
trasferring them on fetch / push.


From what I remember there was one serious attempt (by serious I mean
here with patches) to add 'lazy clone' / 'sparse clone' / 'remote
alternates', using some kind of "stub" objects and trasferring objects
lazily.  This patch was fairly intrusive, and didn't get accepted.
I think you can find it in archives.  Unfortunately I haven't bookmarked
this thread...

The problem with lazy clone is that git assumes in many places that if
it has some object, it has all its dependencies.  Lazy clone
(on-demand object loading) breaks this assumption... although in your
case (only blobs of large size can be asked to be loaded lazily) it is
migitated somehow.


I also think that you would have to have 'sparse checkout' support.
If you don't have blob in object repository (and don't want to have it
there), you can not check it out.  Fortunately this feature is quite
alive, and worked on by Duy (pclouds), see "What's cooking..."
(nd/narrow branch in 'pu').

HTH
-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Git and Media repositories...., Tim Ansell, (Sun Nov 2, 3:50 pm)
Re: Git and Media repositories...., Santi Béjar, (Fri Nov 7, 9:19 am)
Re: Git and Media repositories...., Nguyen Thai Ngoc Duy, (Sun Nov 9, 12:58 am)
Re: Git and Media repositories...., Jakub Narebski, (Fri Nov 7, 9:00 am)
Re: Git and Media repositories...., Jakub Narebski, (Mon Nov 3, 5:40 am)
Re: Git and Media repositories...., Johannes Schindelin, (Mon Nov 3, 2:56 am)