git branching for agile teams n.
Download
Skip this Video
Loading SlideShow in 5 Seconds..
Git Branching for Agile Teams PowerPoint Presentation
Download Presentation
Git Branching for Agile Teams

play fullscreen
1 / 50

Git Branching for Agile Teams

253 Views Download Presentation
Download Presentation

Git Branching for Agile Teams

- - - - - - - - - - - - - - - - - - - - - - - - - - - E N D - - - - - - - - - - - - - - - - - - - - - - - - - - -
Presentation Transcript

  1. Git Branching for Agile Teams moar ^ Helping agile teams be awesome @svenpet

  2. Guten Morgen Sven Peters ? Atlassian Ambassador & Geek @svenpet

  3. Housekeeping Submit Qs for A! 1 Smile, we’re on camera. 2 Tweet to #code4acause 3

  4. Agenda Git + agile = BFFs 1 Branching models for agile teams 2 Incorporating best practices 3 Trade-offs to consider 4

  5. Why Git + Agile?

  6. 1 Build in narrow vertical slices “big bang” launch MVP launch TESTING TESTING FRONT END FRONT END BACK END BACK END DATABASE DATABASE Time

  7. Build in narrow vertical slices potentially shippable, even without this piece I have a roof!

  8. 2 Make releases a non-event just a few dependencies...

  9. Make releases a non-event

  10. Chaos! I do my thing, too I do my thing look Ma, a goat!

  11. Hoarding

  12. Isn‘t it ironic?

  13. A Few Words About Git

  14. everybody stops work until merge is done In Subversion Branching & merging is hell afraid that the build will fail waiting until implementation is done

  15. In Git Branching & merging is a breeze

  16. Branch-per-Issue Workflow

  17. Keep the main line clean dev branch = isolation chamber

  18. Clarity & traceability

  19. Branch-per-Issue Workflow for SaaS teams

  20. A branch for every issue fortunately, no goats here master sgd-IRKD-30 sgd-IRKD-45

  21. A branch for every issue master sgd-IRKD-30 sgd-IRKD-30 God-like admin rights optional

  22. A branch for every issue master sgd-IRKD-30

  23. A branch for every issue master sgd-IRKD-30

  24. A branch for every issue master sgd-IRKD-30 gatekeeper

  25. A branch for every issue still no goats!

  26. Using an Integration Branch

  27. Surprise! master sgd-IRKD-30 sgd-IRKD-45

  28. Using an integration branch master integration sgd-IRKD-30 sgd-IRKD-45

  29. Using an integration branch master integration sgd-IRKD-30 sgd-IRKD-45

  30. Branch-per-Issue Workflow for installed app teams

  31. Multiple-version support v 1.1 v 1.2 master sgd-IRKD-30

  32. Multiple-version support v 1.1 v 1.2 master sgd-IRKD-31 sgd-IRKD-30

  33. Multiple-version support bugfix- v 1.1 IRKD-32 v 1.2 master sgd-IRKD-30

  34. Multiple-version support bugfix-IRKD-32 v 1.1 v 1.2 master

  35. The Way Atlassian Multiple-version support manually automatically v 1.1 v 1.2 master https:/ /bitbucket.org/durdn/automatic-merge-hook

  36. Continuous Integration & Peer Review

  37. Running CI on dev branches all active branches are under test

  38. Running CI on dev branches bitbucket.org/tpettersen/git-ci-hooks Clone master’s CI configs 1 Jenkins plugin or Git hook 2 3

  39. Running CI on dev branches

  40. Running CI on dev branches v 1.2 master sgd-IRKD-30

  41. Peer code review Create request via UI or git request-pull 1 Review, revise, rinse & repeat 2 Approve & merge 3

  42. Peer code review

  43. Additional Considerations

  44. It’s not “pure CI” beware of goats

  45. Dark features

  46. Q & A

  47. More info at... http://atlassian.com/git 1 @Atlassian 2

  48. #code4acause

  49. THANKS Sven Peters ? Atlassian Ambassador & Geek @svenpet