# Qt git repository report

5 messages from 2007-01-31 to 2007-01-31. Participants: Andy Parkins, Chris Lee, Jakub Narebski, Shawn O. Pearce.
Thread: https://gitlist.dev/t/6590

## Andy Parkins, 2007-01-31 09:12

Subject: Qt git repository report
Message-ID: <200701310912.59102.andyparkins@gmail.com>
URL: https://gitlist.dev/e/200701310912.59102.andyparkins%40gmail.com

```
Hello,

It's always nice to read positive reports, so I thought I'd point you all at 
this one.

One of the Qt developers posted a blog entry describing the conversion of the 
Qt repository from perforce to git.

http://qtdeveloper.net/archives/2007/01/30/fun-with-git/

Key facts:
 * 13 years worth of changes
 * 94000 revisions
 * 736774 objects
 * Took 3 hours to convert using git-fast-import and a custom script
 * Repository size: 500MB
 * Checkd out tree size: 330MB

I never cease to be amazed by how good git is at its job.


Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
andyparkins@gmail.com

```

## Chris Lee, 2007-01-31 10:34

Subject: Re: Qt git repository report
Message-ID: <204011cb0701310234k4cb87eadhcf8669e364be4d6@mail.gmail.com>
URL: https://gitlist.dev/e/204011cb0701310234k4cb87eadhcf8669e364be4d6%40mail.gmail.com
In-Reply-To: <200701310912.59102.andyparkins@gmail.com>

```
On 1/31/07, Andy Parkins <andyparkins@gmail.com> wrote:
> Hello,
>
> It's always nice to read positive reports, so I thought I'd point you all at
> this one.
>
> One of the Qt developers posted a blog entry describing the conversion of the
> Qt repository from perforce to git.
>
> http://qtdeveloper.net/archives/2007/01/30/fun-with-git/
>
> Key facts:
>  * 13 years worth of changes
>  * 94000 revisions
>  * 736774 objects
>  * Took 3 hours to convert using git-fast-import and a custom script
>  * Repository size: 500MB
>  * Checkd out tree size: 330MB
>
> I never cease to be amazed by how good git is at its job.

Of course, nobody outside of Trolltech happens to have access to the
Trolltech p4 depot, however... if you happen to use p4 internally
(like Trolltech) and you wanted to try out the same script, you could
clone:

git://repo.or.cz/fast-export.git

You'll also need Shawn's git-fast-import, available from:

git://repo.or.cz/git/fastimport.git

Enjoy!

```

## Jakub Narebski, 2007-01-31 10:57

Subject: Re: Qt git repository report
Message-ID: <eppskj$1l4$2@sea.gmane.org>
URL: https://gitlist.dev/e/eppskj%241l4%242%40sea.gmane.org
In-Reply-To: <200701310912.59102.andyparkins@gmail.com>

```
Andy Parkins wrote:

> It's always nice to read positive reports, so I thought I'd point you all at 
> this one.
> 
> One of the Qt developers posted a blog entry describing the conversion of the 
> Qt repository from perforce to git.
> 
> http://qtdeveloper.net/archives/2007/01/30/fun-with-git/
> 
> Key facts:
>  * 13 years worth of changes
>  * 94000 revisions
>  * 736774 objects
>  * Took 3 hours to convert using git-fast-import and a custom script
>  * Repository size: 500MB
>  * Checkd out tree size: 330MB
> 
> I never cease to be amazed by how good git is at its job.

By the way, do any of you know how large original Perforce repository is?
(And why Trolltech uses Perforce from all proprietary and OSS SCMs?)
-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git

```

## Shawn O. Pearce, 2007-01-31 15:42

Subject: Re: Qt git repository report
Message-ID: <20070131154208.GB21888@spearce.org>
URL: https://gitlist.dev/e/20070131154208.GB21888%40spearce.org
In-Reply-To: <204011cb0701310234k4cb87eadhcf8669e364be4d6@mail.gmail.com>

```
Chris Lee <clee@kde.org> wrote:
> Of course, nobody outside of Trolltech happens to have access to the
> Trolltech p4 depot, however... if you happen to use p4 internally
> (like Trolltech) and you wanted to try out the same script, you could
> clone:
> 
> git://repo.or.cz/fast-export.git

Its nice to see the 'inline' spec is useful.  :-)

We may actually have a decent little set of importers backed by gfi
real-soon-now, which would help the argument to merge gfi into the
main git.git repository post 1.5.0.

-- 
Shawn.

```

## Shawn O. Pearce, 2007-01-31 15:48

Subject: Re: Qt git repository report
Message-ID: <20070131154805.GC21888@spearce.org>
URL: https://gitlist.dev/e/20070131154805.GC21888%40spearce.org
In-Reply-To: <200701310912.59102.andyparkins@gmail.com>

```
Andy Parkins <andyparkins@gmail.com> wrote:
> Key facts:
>  * 13 years worth of changes
>  * 94000 revisions
>  * 736774 objects
>  * Took 3 hours to convert using git-fast-import and a custom script
>  * Repository size: 500MB
>  * Checkd out tree size: 330MB
> 
> I never cease to be amazed by how good git is at its job.

Heh.  :-)

I probably shouldn't mention this until after 1.5.0 is out the door,
but I'm working on a prototype pack version 4 format that thus far
would save at least 5.6 MiB on that pack, and make revision traversal
significantly faster.  (Yes, eat your cake and have it too!)

I'm not done though. I'm sure I can do better.  I've only mucked
with part of what I'm thinking of doing.

Yes, the code stays backward compatible.  Just like OBJ_OFS_DELTA,
pack version 4 is a one-way upgrade, but can be undone by simply
repacking that repository without the option enabled.

-- 
Shawn.

```
