Re: [kernel.org users] Re: auto-packing on kernel.org? please?
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Oct 16, 2005, 17:10 UTC
- Message-ID
- <Pine.LNX.4.63.0510161906220.25573@wbgn013.biozentrum.uni-wuerzburg.de>
- In-Reply-To
- <43527E86.8000907@didntduck.org>
Hi,
On Sun, 16 Oct 2005, Brian Gerst wrote:
Show 13 quoted lines
> Nick Hengeveld wrote: > > On Sun, Oct 16, 2005 at 11:44:46AM -0400, Daniel Barkalow wrote: > > > > > This is the problem: it's impossible to download only a few objects from a > > > pack file from an HTTP server, because those don't exist on the server as > > > separate files. > > > > Is it possible to determine the object locations inside the remote pack > > file? If so, it would be possible to use Range: headers to download > > selected objects from a pack. > > > > Not possible because the entire pack is compressed.
Maybe we should introduce an option which only packs objects of a minimal age (something like "pack only objects 2 days and older")? This could be used to autopackage as long as HTTP is the preferred protocol, so that if you update daily, you already have those objects.
Alternatively, git-prune-packed could have an option to prune only those objects older than 2 days.
Ciao, Dscho