This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI, GIT mirror of glibc's cvs repository


Pierre Habouzit <madcoder@debian.org> wrote:
> On Fri, Mar 07, 2008 at 12:55:48AM +0000, Pierre Habouzit wrote:
>> On Wed, Mar 05, 2008 at 05:47:12PM +0000, Jim Meyering wrote:
>> > I've set up a read-only git mirror of glibc's CVS repository.
>> > The cvs-to-git synchronization process will probably run every
>> > half hour or so (haven't started it yet).
>> >
>> > Here's the gitweb interface:
>> >
>> >     http://sources.redhat.com/git/gitweb.cgi
>> >
>> > Check out a copy via the following, but be aware
>> > that the bare .git/ directory weighs in at 270MB:
>>
>>   have you tried to repack it like, very aggressively ? My own (broken)
>> imports were less than 140Mo big, often with a ~110Mo packfile.
>>
>>   Try to:
>>
>> $ git repack -afd --window=250 --depth=250 --window-memory=$A_LOT
>
> You obviously didn't :)
>  After a not so long CPU burning session I got:
>
>     $ git repack -afd --window=250 --depth=250 --window-memory=700M
>     Counting objects: 374712, done.
>     Compressing objects: 100% (368454/368454), done.
>     Writing objects: 100% (374712/374712), done.
>     Total 374712 (delta 289361), reused 0 (delta 0)
>     git repack -afd --window=250 --depth=250 --window-memory=700M  1737,75s user 8,71s system 148% cpu 19:39,01 total
>
>     8,6M   pack/pack-ad6dbaf8667bd8f2383f4f558d8ca3d3cd72b291.idx
>     74M    pack/pack-ad6dbaf8667bd8f2383f4f558d8ca3d3cd72b291.pack
>
>
> Git has a way to make us feel tinyâ

Indeed.

> Anyway, for the sake of the cloners, I'd really suggest you to do that on the
> redhat repository as well :)

Thanks for the tip!  I've done that, and
now glibc's git repository occupies a mere 87MB.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]