[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [PATCH] proposed v3 source format using .git.tar.gz



On Sat, Oct 06, 2007 at 11:19:43AM -0400, Joey Hess wrote:
> Anthony Towns wrote:
> > Is a .gitdiff.tar.gz possible, so the archive doesn't need to have the
> > full git repo replaced by each upload? ie, something like
> > 
> > 	Files:
> > 	 .... foo_1.0-1.git.tar.gz
> > 	 .... foo_1.0-2.gitdiff.tar.gz
> > 
> > so that a small patch only adds a small file to the archive rather than
> > replacing a large one?
> 
> I think it's possible, the gitdiff might use git packs against a prior
> repo. That would be a nice enhancement to what I have done.

I think there is a mechanism in git to disallow replacing old pack
files (i.e. forcing to create additional ones with only new objects),
however, I haven't used that myself, yet.

On a general note: I think we definetly could need the better tarball
compression support _before_ adding huge amount of history into the
archive...

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: