* Removing old data without disturbing tree?
@ 2007-11-27 19:39 David Brown
2007-11-27 20:06 ` Nicolas Pitre
0 siblings, 1 reply; 3+ messages in thread
From: David Brown @ 2007-11-27 19:39 UTC (permalink / raw)
To: Git
An upstream tree I'm mirroring with git-p4 has decided to start checking
in large tarballs (150MB) periodically. It's basically a prebuild version
of some firmware needed to run the rest of the software.
Git doesn't seem to have any problem with these tarballs (and is using a
lot less space than P4), but I have a feeling we might start running into
problems when things get real big. Does anyone have experience with packs
growing beyong several GB?
Aside from that, is there an easy way to prune out the old history from a
working tree? I'd like something like what 'git clone --depth n' would
produce, and I suppose I could do the clone and then pivot the trees. I
mainly don't want to be rewriting history, just making parts inaccessible.
Thanks,
David Brown
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Removing old data without disturbing tree?
2007-11-27 19:39 Removing old data without disturbing tree? David Brown
@ 2007-11-27 20:06 ` Nicolas Pitre
2007-11-27 21:10 ` David Brown
0 siblings, 1 reply; 3+ messages in thread
From: Nicolas Pitre @ 2007-11-27 20:06 UTC (permalink / raw)
To: David Brown; +Cc: Git
On Tue, 27 Nov 2007, David Brown wrote:
> An upstream tree I'm mirroring with git-p4 has decided to start checking
> in large tarballs (150MB) periodically. It's basically a prebuild version
> of some firmware needed to run the rest of the software.
>
> Git doesn't seem to have any problem with these tarballs (and is using a
> lot less space than P4), but I have a feeling we might start running into
> problems when things get real big. Does anyone have experience with packs
> growing beyong several GB?
It should just work. It was tested with artificial data sets but that's
about it.
Now if those tarballs are actually multiple revisions of the same
package, you might consider storing them uncompressed and let Git delta
compress them against each other which will produce an even more
significant space saving.
Nicolas
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Removing old data without disturbing tree?
2007-11-27 20:06 ` Nicolas Pitre
@ 2007-11-27 21:10 ` David Brown
0 siblings, 0 replies; 3+ messages in thread
From: David Brown @ 2007-11-27 21:10 UTC (permalink / raw)
To: Nicolas Pitre; +Cc: Git
On Tue, Nov 27, 2007 at 03:06:45PM -0500, Nicolas Pitre wrote:
>On Tue, 27 Nov 2007, David Brown wrote:
>
>> An upstream tree I'm mirroring with git-p4 has decided to start checking
>> in large tarballs (150MB) periodically. It's basically a prebuild version
>> of some firmware needed to run the rest of the software.
>>
>> Git doesn't seem to have any problem with these tarballs (and is using a
>> lot less space than P4), but I have a feeling we might start running into
>> problems when things get real big. Does anyone have experience with packs
>> growing beyong several GB?
>
>It should just work. It was tested with artificial data sets but that's
>about it.
>
>Now if those tarballs are actually multiple revisions of the same
>package, you might consider storing them uncompressed and let Git delta
>compress them against each other which will produce an even more
>significant space saving.
I did manage to talk them into leaving them uncompressed. But, they are
large, and don't seem to delta compress all that well. Maybe as more come,
the compression will be better.
I guess this will be a good test case... It will probably take months or
even a year or so for the repo to get up to several GB.
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2007-11-27 21:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-27 19:39 Removing old data without disturbing tree? David Brown
2007-11-27 20:06 ` Nicolas Pitre
2007-11-27 21:10 ` David Brown
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).