SHAPE YOUR COMMITS SHAPE YOUR COMMITS WITH GERRIT WITH GERRIT - - PowerPoint PPT Presentation

shape your commits shape your commits with gerrit with
SMART_READER_LITE
LIVE PREVIEW

SHAPE YOUR COMMITS SHAPE YOUR COMMITS WITH GERRIT WITH GERRIT - - PowerPoint PPT Presentation

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... SHAPE YOUR COMMITS SHAPE YOUR COMMITS WITH GERRIT WITH GERRIT original version online This is a PDF export, Manuel Vacelet @vaceletm


slide-1
SLIDE 1

SHAPE YOUR COMMITS SHAPE YOUR COMMITS WITH GERRIT WITH GERRIT

This is a PDF export,

/ & / This work is licensed under a . Creative Commons Attribution-ShareAlike 3.0 Unported License @Erwyn Martin Goyot @vaceletm Manuel Vacelet

  • riginal version online

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 1 of 18 07/08/2014 06:04 PM

slide-2
SLIDE 2

BIO / CONTEXT BIO / CONTEXT

Manuel: Enalean CTO & developer Martin: developer Tuleap is a forge Tuleap Tuleap

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 2 of 18 07/08/2014 06:04 PM

slide-3
SLIDE 3

WHY TO REVIEW CODE? WHY TO REVIEW CODE?

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 3 of 18 07/08/2014 06:04 PM

slide-4
SLIDE 4

WHERE IT COMES FROM? WHERE IT COMES FROM?

Well known practice in FLOSS world Various strategy: patches (LKML), "pull requests", ...

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 4 of 18 07/08/2014 06:04 PM

slide-5
SLIDE 5

GERRIT GERRIT

Comes from Android project Git only Users: Eclipse, Openstack, Sony, Motorola, Google, SAP, ...

http://code.google.com/p/gerrit/

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 5 of 18 07/08/2014 06:04 PM

slide-6
SLIDE 6

GERRIT WORKFLOW GERRIT WORKFLOW

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 6 of 18 07/08/2014 06:04 PM

slide-7
SLIDE 7

REVIEWS DASHBOARD REVIEWS DASHBOARD

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 7 of 18 07/08/2014 06:04 PM

slide-8
SLIDE 8

ONE REVIEW ONE REVIEW

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 8 of 18 07/08/2014 06:04 PM

slide-9
SLIDE 9

PATCH PATCH

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 9 of 18 07/08/2014 06:04 PM

slide-10
SLIDE 10

DIFF, COMMENTS DIFF, COMMENTS

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 10 of 18 07/08/2014 06:04 PM

slide-11
SLIDE 11

PUSH FOR REVIEW PUSH FOR REVIEW

One commit == One review Shape your commits (history rewriting!)

git push ssh://vaceletm@gerrit.tuleap.net:29418 HEAD:refs/for/master

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 11 of 18 07/08/2014 06:04 PM

slide-12
SLIDE 12

COMMITS: SIZE MATTERS COMMITS: SIZE MATTERS

Beware The Big One Difficult to grasp it Tiny not better whatsoever

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 12 of 18 07/08/2014 06:04 PM

slide-13
SLIDE 13

SHAPE YOUR COMMITS! SHAPE YOUR COMMITS!

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 13 of 18 07/08/2014 06:04 PM

slide-14
SLIDE 14

THE TRICKY PART THE TRICKY PART

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 14 of 18 07/08/2014 06:04 PM

slide-15
SLIDE 15

TULEAP HELP TULEAP HELP

Ease of startup project initialization default permissions Large scale deployments permissions template group management

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 15 of 18 07/08/2014 06:04 PM

slide-16
SLIDE 16

CONCLUSION CONCLUSION

Pro tip: reduce the wait list Pro tip: damn fast Continuous Integration : highest dev ROI this year @EnaleanTeam

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 16 of 18 07/08/2014 06:04 PM

slide-17
SLIDE 17

QUESTIONS? QUESTIONS?

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 17 of 18 07/08/2014 06:04 PM

slide-18
SLIDE 18

CREDITS CREDITS

It's all about feedback - code review as a great tool in the agile toolbox Scaling Up JGit Deploying Gerrit Code Review

Shape your commits with Gerrit file:///home/manuel/workspace/workspace/presentations/RMLL14_Gerrit... 18 of 18 07/08/2014 06:04 PM