threads / discuss / 6590

Qt git repository report

Subject: Qt git repository report

## tl;dr

5 messages between Jan 31, 2007 and Jan 31, 2007.

replies: 4people: 4as markdown or json

Andy Parkins· Jan 31, 2007, 09:12 UTC · lore
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· Jan 31, 2007, 10:34 UTC · re: Andy Parkins · lore

Re: Qt git repository report

On 1/31/07, Andy Parkins <andyparkins@gmail.com> wrote:
Show 19 quoted lines
> 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!
Shawn O. Pearce· Jan 31, 2007, 15:42 UTC · re: Chris Lee · lore

Re: Qt git repository report

Chris Lee <clee@kde.org> wrote:
Show 6 quoted lines
> 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.
Jakub Narebski· Jan 31, 2007, 10:57 UTC · re: Andy Parkins · lore

Re: Qt git repository report

Andy Parkins wrote:
Show 17 quoted lines
> 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· Jan 31, 2007, 15:48 UTC · re: Andy Parkins · lore

Re: Qt git repository report

Andy Parkins <andyparkins@gmail.com> wrote:
Show 9 quoted lines
> 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.

← back to recent threads