Skip to contentSkip to conversation

Qt git repository report

DISCUSSION Andy Parkins 4 participants 5 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

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

Signature · 2 lines
Dr Andy Parkins, M Eng (hons), MIEE
[email protected]
#1 lore raw
Quoted 9 lines · Andy Parkins

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.

Signature · 1 line
Shawn.
#2 lore raw
In reply to Andy Parkins
Quoted 18 lines · Andy Parkins

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

Quoted 1 line

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!

#3 lore raw
Quoted 6 lines · Chris Lee

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.

Signature · 1 line
Shawn.
#4 lore raw
In reply to Andy Parkins
Quoted 16 lines · Andy Parkins

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

Quoted 1 line

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?)

Signature · 3 lines
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git