Upgrade to Pro — share decks privately, control downloads, hide ads and more …

True Git - The great migration

True Git - The great migration

Stefan Saasen

October 22, 2013
Tweet

More Decks by Stefan Saasen

Other Decks in Programming

Transcript

  1. SVN

  2. Real World git workflows S t e f a n

    S a a s e n W e d n e s d a y - 1 4 : 0 0
  3. • Is git suitable? • Test the conversion • Identify

    the repositories that need to be converted Inception 1
  4. • Is git suitable? • Test the conversion • Identify

    the repositories that need to be converted • Identify the tools that need to be updated. CI, issue tracking, IDE, scripts and build tools, deployment tools Inception 1
  5. 1

  6. • You need to answer: “What’s in it for me”

    • Make sure tooling is ready and can be used by everyone Adoption 2
  7. • You need to answer: “What’s in it for me”

    • Make sure tooling is ready and can be used by everyone • Identify the git champions - they will be thrilled to help Adoption 2
  8. • You need to answer: “What’s in it for me”

    • Make sure tooling is ready and can be used by everyone • Identify the git champions - they will be thrilled to help • Don’t expect to win everyone over immediately Adoption 2
  9. 2

  10. jdeveloper = John Developer <[email protected]> Map Authors Identify SVN repository

    layout /tags /trunk /branches 3 Conversion - Preparation
  11. git svn clone \ --authors-file=/authors.txt \ --trunk=/trunk \ --tags=/tags \

    --branches=/branches 3 Conversion - Initial Clone
  12. git svn clone \ --authors-file=/authors.txt \ --trunk=/trunk \ --tags=/tags \

    --branches=/branches 3 Conversion - Initial Clone ?
  13. • Cleanup branches • Remove unused files • Create git

    tags • Remove commit metadata 3 Conversion - Cleanup
  14. • Cleanup branches • Remove unused files • Create git

    tags • Remove commit metadata 3 Conversion - Cleanup
  15. 0 20 40 60 80 2011 2013 (projected) 2013 2015

    (projected) 68 49 41 20 55 70 68 78 SVN Git
  16. 0 20 40 60 80 2011 2013 (projected) 2013 2015

    (projected) 68 49 41 20 55 70 68 78 SVN Git
  17. Subversion (58%) is being threatened by Git (47%) for de

    facto leadership of the Version Control space. ZEROTURNAROUND DEVELOPER PRODUCTIVITY REPORT 2013 ” “