Top Banner
59

Making the switch to DVCS

Oct 21, 2014

Download

Technology

Atlassian shares their experience how we switched to distributed version control. He
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: Making the switch to DVCS
Page 2: Making the switch to DVCS

Atlassians move from centralized to distributed

Sven Peters, Ambassador, Atlassian

Making the Switch to DVCS

2

Page 3: Making the switch to DVCS

DVCS @ Unite

Page 4: Making the switch to DVCS

DVCS @ Unite

Issue Tracker

Page 5: Making the switch to DVCS

DVCS @ Unite

Content Collaboration

Page 6: Making the switch to DVCS

build it

writecode

check in

get Task?

Page 7: Making the switch to DVCS

What is version control?

Page 8: Making the switch to DVCS

What is version control?

Collaboration History Copies /Branches

Page 9: Making the switch to DVCS

The Past

Page 10: Making the switch to DVCS

Subversionserver

Centralized Version Control

Page 11: Making the switch to DVCS

Centralized Version Control

Subversion

Page 12: Making the switch to DVCS

Have you ever tried to merge a branch back into the

trunk with SVN? Need I say more.”“

Page 13: Making the switch to DVCS

Merge Time

Page 14: Making the switch to DVCS

The Present (and future)

Page 15: Making the switch to DVCS

Distributed Version Control

Page 16: Making the switch to DVCS

Distributed Version Control

Git or Mercurial

Git or Mercurial

Git or Mercurial

Git or MercurialGit or Mercurial

Git or Mercurial

Page 17: Making the switch to DVCS

”“Distributed Version Control is flexible and can fit any

workflow - you can even treat it like Subversion.

Steve StreetingInventor of SourceTree

Page 18: Making the switch to DVCS

New idea?

1997co-op

Page 19: Making the switch to DVCS

New idea?

2001arch

Page 20: Making the switch to DVCS

New idea?

2003monotone

Page 21: Making the switch to DVCS

New idea?

2003svk

Page 22: Making the switch to DVCS

New idea?

2003darcs

Page 23: Making the switch to DVCS

New idea?

2005bazaar

Page 24: Making the switch to DVCS

New idea?

2005mercurial

Page 25: Making the switch to DVCS

New idea?

2005git

Page 26: Making the switch to DVCS

New idea?

2007iPhone

Page 27: Making the switch to DVCS

Notice a Trend

Page 28: Making the switch to DVCS

Notice a Trend

Page 29: Making the switch to DVCS

DVCS @ Atlassian

Page 30: Making the switch to DVCS

Why?

Development Workflow

Page 31: Making the switch to DVCS
Page 32: Making the switch to DVCS

More Why’s?

Dev SpeedCode without Limitations

Page 33: Making the switch to DVCS

Dev Speed

Page 34: Making the switch to DVCS

View File History

Page 35: Making the switch to DVCS

View Authors/Blame

Page 36: Making the switch to DVCS

Creating Branches

Page 37: Making the switch to DVCS

Speed is power

hg blame

git show

hg revert

git status

git log

hg clone

hg move

git rm

git mv

hg pull -update

Page 38: Making the switch to DVCS

Speed is power

hg blame

git show

hg revert

git status

git log

hg clone

hg move

git rm

git mv

hg pull -update

Page 39: Making the switch to DVCS

Commit Often

Page 40: Making the switch to DVCS

No Servers

Page 41: Making the switch to DVCS

Dev Speed

Page 42: Making the switch to DVCS

Code without Limitations

Page 43: Making the switch to DVCS

No Servers

Page 44: Making the switch to DVCS

Branching & Merging

$ svn merge

Page 45: Making the switch to DVCS

Don‘t be afraid

Page 46: Making the switch to DVCS

• DVCS Knowledge• Follow the Recipe• CI is your friend

Protips

Page 47: Making the switch to DVCS

DVCS Knowledge

Page 48: Making the switch to DVCS

Make use of Guru

Page 49: Making the switch to DVCS

DVCS Client

Git and Mercurial Mac Client

Page 50: Making the switch to DVCS

FishEye - VCS to DVCS

• See commits in SVN & DVCS• Browse source in any VCS

Subversion, Git, Hg, CVS, P4

Browse and Search source across any VCS

Page 51: Making the switch to DVCS

Follow the Recipe

Page 52: Making the switch to DVCS

Bring your History

Page 53: Making the switch to DVCS

Tool Integration

{ }

Page 54: Making the switch to DVCS

Replicate Team Process

Page 55: Making the switch to DVCS

Incremental Steps

Page 56: Making the switch to DVCS

Continuous Integrationis your friend

• Vital part of dev cycle• Run same builds against old

and new VCS• Continuous Validation

Page 57: Making the switch to DVCS

Make the Switch• DVCS has great business and technical benefits• Atlassian is shaping the future of DVCS

Page 58: Making the switch to DVCS

Learn More & Have a Play

http://blogs.atlassian.com/tag/switch_dvcs/

http://answers.atlassian.com

Page 59: Making the switch to DVCS

Thank [email protected]